所有超级接口:
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.ByteString
    getIdBytes(int index)
    repeated string id = 1;
    int
    repeated 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

      List<String> getIdList()
      repeated string id = 1;
      返回:
      A list containing the id.
    • getIdCount

      int getIdCount()
      repeated string id = 1;
      返回:
      The count of id.
    • getId

      String getId(int index)
      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.