Interface AttributeValues.StringAttributeValuesOrBuilder (0.2.0)

public static interface AttributeValues.StringAttributeValuesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getValues(int index)

public abstract String getValues(int index)

Required. The attribute values in case attribute data type is string or JSON.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The values at the given index.

getValuesBytes(int index)

public abstract ByteString getValuesBytes(int index)

Required. The attribute values in case attribute data type is string or JSON.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the values at the given index.

getValuesCount()

public abstract int getValuesCount()

Required. The attribute values in case attribute data type is string or JSON.

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

Returns
Type Description
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

Required. The attribute values in case attribute data type is string or JSON.

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

Returns
Type Description
List<String>

A list containing the values.