接口 IDOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
ID,ID.Builder
public interface IDOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明getId(int index) repeated string id = 1;com.google.protobuf.ByteStringgetIdBytes(int index) repeated string id = 1;intrepeated string id = 1;repeated string id = 1;从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getIdList
repeated string id = 1;- 返回:
- A list containing the id.
-
getIdCount
int getIdCount()repeated string id = 1;- 返回:
- The count of id.
-
getId
repeated string id = 1;- 参数:
index- The index of the element to return.- 返回:
- The id at the given index.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes(int index) repeated string id = 1;- 参数:
index- The index of the value to return.- 返回:
- The bytes of the id at the given index.
-