Interface Product.KeyValueOrBuilder (3.43.0)

public static interface Product.KeyValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getValue()

public abstract String getValue()

The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

string value = 2;

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

string value = 2;

Returns
Type Description
ByteString

The bytes for value.