接口 KeyStringValuePairOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
KeyStringValuePair, KeyStringValuePair.Builder

public interface KeyStringValuePairOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    string key = 1;
    com.google.protobuf.ByteString
    string key = 1;
    string value = 2;
    com.google.protobuf.ByteString
    string value = 2;

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

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

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

    • getKey

      String getKey()
      string key = 1;
      返回:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
      string key = 1;
      返回:
      The bytes for key.
    • getValue

      String getValue()
      string value = 2;
      返回:
      The value.
    • getValueBytes

      com.google.protobuf.ByteString getValueBytes()
      string value = 2;
      返回:
      The bytes for value.