Interface Product.KeyValueOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Product.KeyValue, Product.KeyValue.Builder
    Enclosing class:
    Product

    public static interface Product.KeyValueOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKey()
      The key of the label attached to the product.
      com.google.protobuf.ByteString getKeyBytes()
      The key of the label attached to the product.
      String getValue()
      The value of the label attached to the product.
      com.google.protobuf.ByteString getValueBytes()
      The value of the label attached to the product.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getKey

        String getKey()
         The key of the label attached to the product. Cannot be empty and cannot
         exceed 128 bytes.
         
        string key = 1;
        Returns:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
         The key of the label attached to the product. Cannot be empty and cannot
         exceed 128 bytes.
         
        string key = 1;
        Returns:
        The bytes for key.
      • getValue

        String getValue()
         The value of the label attached to the product. Cannot be empty and
         cannot exceed 128 bytes.
         
        string value = 2;
        Returns:
        The value.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes()
         The value of the label attached to the product. Cannot be empty and
         cannot exceed 128 bytes.
         
        string value = 2;
        Returns:
        The bytes for value.