接口 Common.NameOrIdOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
Common.NameOrId,Common.NameOrId.Builder
- 封闭类:
- Common
public static interface Common.NameOrIdOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 intgetId()int32 id = 2;Common.NameOrId.ItemCasegetItemCase()StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;booleanhasId()int32 id = 2;booleanhasName()string name = 1;
-
-
-
方法详细资料
-
hasName
boolean hasName()
string name = 1;- 返回:
- Whether the name field is set.
-
getName
String getName()
string name = 1;- 返回:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 1;- 返回:
- The bytes for name.
-
hasId
boolean hasId()
int32 id = 2;- 返回:
- Whether the id field is set.
-
getId
int getId()
int32 id = 2;- 返回:
- The id.
-
getItemCase
Common.NameOrId.ItemCase getItemCase()
-
-