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
Modifier and TypeMethodDescriptiongetGroupValues
(int index) Subattributes within this attribute group.int
Subattributes within this attribute group.Subattributes within this attribute group.getGroupValuesOrBuilder
(int index) Subattributes within this attribute group.List
<? extends CustomAttributeOrBuilder> Subattributes within this attribute group.getName()
The name of the attribute.com.google.protobuf.ByteString
The name of the attribute.getValue()
The value of the attribute.com.google.protobuf.ByteString
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.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()The name of the attribute.
optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
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
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
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
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
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
Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.
repeated .google.shopping.type.CustomAttribute group_values = 3;
-