Package com.google.shopping.type
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomAttribute
getGroupValues(int index)
Subattributes within this attribute group.int
getGroupValuesCount()
Subattributes within this attribute group.java.util.List<CustomAttribute>
getGroupValuesList()
Subattributes within this attribute group.CustomAttributeOrBuilder
getGroupValuesOrBuilder(int index)
Subattributes within this attribute group.java.util.List<? extends CustomAttributeOrBuilder>
getGroupValuesOrBuilderList()
Subattributes within this attribute group.java.lang.String
getName()
The name of the attribute.com.google.protobuf.ByteString
getNameBytes()
The name of the attribute.java.lang.String
getValue()
The value of the attribute.com.google.protobuf.ByteString
getValueBytes()
The value of the attribute.boolean
hasName()
The name of the attribute.boolean
hasValue()
The value of the attribute.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
-