Interface ProductAttributes.VariantOptionOrBuilder (1.23.0)

public static interface ProductAttributes.VariantOptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name of the variant. For example, "Color", "Memory", "Size", "Length"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the variant. For example, "Color", "Memory", "Size", "Length"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getValue()

public abstract String getValue()

Required. The value of the variant. For example, "Red", "128GB", "XL", "100cm"

string value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Required. The value of the variant. For example, "Red", "128GB", "XL", "100cm"

string value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for value.