Interface CustomAttributeOrBuilder (2.39.1)

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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.shopping.type.CustomAttributeOrBuilder>

getName()

public abstract String getName()

The name of the attribute.

optional string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the attribute.

optional string name = 1;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for value.

hasName()

public abstract boolean hasName()

The name of the attribute.

optional string name = 1;

Returns
Type Description
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
Type Description
boolean

Whether the value field is set.