Interface CustomAttributeOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CustomAttribute, CustomAttribute.Builder

    public interface CustomAttributeOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasName

        boolean hasName()
         The name of the attribute.
         
        optional string name = 1;
        Returns:
        Whether the name field is set.
      • getName

        java.lang.String getName()
         The name of the attribute.
         
        optional string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the attribute.
         
        optional string name = 1;
        Returns:
        The bytes for name.
      • hasValue

        boolean hasValue()
         The value of the attribute. If `value` is not empty, `group_values` must be
         empty.
         
        optional string value = 2;
        Returns:
        Whether the value field is set.
      • getValue

        java.lang.String getValue()
         The value of the attribute. If `value` is not empty, `group_values` must be
         empty.
         
        optional string value = 2;
        Returns:
        The value.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes()
         The value of the attribute. If `value` is not empty, `group_values` must be
         empty.
         
        optional string value = 2;
        Returns:
        The bytes for value.
      • getGroupValuesList

        java.util.List<CustomAttribute> getGroupValuesList()
         Subattributes within this attribute group.  If
         `group_values` is not empty, `value` must be empty.
         
        repeated .google.shopping.type.CustomAttribute group_values = 3;
      • getGroupValues

        CustomAttribute getGroupValues​(int index)
         Subattributes within this attribute group.  If
         `group_values` is not empty, `value` must be empty.
         
        repeated .google.shopping.type.CustomAttribute group_values = 3;
      • getGroupValuesCount

        int getGroupValuesCount()
         Subattributes within this attribute group.  If
         `group_values` is not empty, `value` must be empty.
         
        repeated .google.shopping.type.CustomAttribute group_values = 3;
      • getGroupValuesOrBuilderList

        java.util.List<? extends CustomAttributeOrBuilder> getGroupValuesOrBuilderList()
         Subattributes within this attribute group.  If
         `group_values` is not empty, `value` must be empty.
         
        repeated .google.shopping.type.CustomAttribute group_values = 3;
      • getGroupValuesOrBuilder

        CustomAttributeOrBuilder getGroupValuesOrBuilder​(int index)
         Subattributes within this attribute group.  If
         `group_values` is not empty, `value` must be empty.
         
        repeated .google.shopping.type.CustomAttribute group_values = 3;