Interface CustomAttributeOrBuilder (0.1.0)

public interface CustomAttributeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroupValues(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomAttribute

getGroupValuesCount()

public abstract 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;

Returns
TypeDescription
int

getGroupValuesList()

public abstract 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;

Returns
TypeDescription
List<CustomAttribute>

getGroupValuesOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomAttributeOrBuilder

getGroupValuesOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.shopping.type.CustomAttributeOrBuilder>

getName()

public abstract String getName()

The name of the attribute.

optional string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the attribute.

optional string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getValue()

public abstract String getValue()

The value of the attribute. If value is not empty, group_values must be empty.

optional string value = 2;

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

The value of the attribute. If value is not empty, group_values must be empty.

optional string value = 2;

Returns
TypeDescription
ByteString

The bytes for value.

hasName()

public abstract boolean hasName()

The name of the attribute.

optional string name = 1;

Returns
TypeDescription
boolean

Whether the name field is set.

hasValue()

public abstract boolean hasValue()

The value of the attribute. If value is not empty, group_values must be empty.

optional string value = 2;

Returns
TypeDescription
boolean

Whether the value field is set.