Interface StringValueOrBuilder (0.3.0)

public interface StringValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedValues(int index)

public abstract String getAllowedValues(int index)

OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.

repeated string allowed_values = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedValues at the given index.

getAllowedValuesBytes(int index)

public abstract ByteString getAllowedValuesBytes(int index)

OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.

repeated string allowed_values = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedValues at the given index.

getAllowedValuesCount()

public abstract int getAllowedValuesCount()

OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.

repeated string allowed_values = 2;

Returns
Type Description
int

The count of allowedValues.

getAllowedValuesList()

public abstract List<String> getAllowedValuesList()

OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.

repeated string allowed_values = 2;

Returns
Type Description
List<String>

A list containing the allowedValues.

getRepeated()

public abstract boolean getRepeated()

OPTIONAL Whether the property is repeated.

bool repeated = 1;

Returns
Type Description
boolean

The repeated.