接口 Common.StringArrayOrBuilder

  • 所有超级接口:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    所有已知实现类:
    Common.StringArray, Common.StringArray.Builder
    封闭类:
    Common

    public static interface Common.StringArrayOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      String getItem​(int index)
      repeated string item = 1;
      com.google.protobuf.ByteString getItemBytes​(int index)
      repeated string item = 1;
      int getItemCount()
      repeated string item = 1;
      List<String> getItemList()
      repeated string item = 1;
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • getItemList

        List<String> getItemList()
        repeated string item = 1;
        返回:
        A list containing the item.
      • getItemCount

        int getItemCount()
        repeated string item = 1;
        返回:
        The count of item.
      • getItem

        String getItem​(int index)
        repeated string item = 1;
        参数:
        index - The index of the element to return.
        返回:
        The item at the given index.
      • getItemBytes

        com.google.protobuf.ByteString getItemBytes​(int index)
        repeated string item = 1;
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the item at the given index.