Interface SupportedDatabaseFlag.StringRestrictionsOrBuilder (0.30.0)

public static interface SupportedDatabaseFlag.StringRestrictionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedValues(int index)

public abstract String getAllowedValues(int index)

The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

repeated string allowed_values = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The allowedValues at the given index.

getAllowedValuesBytes(int index)

public abstract ByteString getAllowedValuesBytes(int index)

The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

repeated string allowed_values = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allowedValues at the given index.

getAllowedValuesCount()

public abstract int getAllowedValuesCount()

The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

repeated string allowed_values = 1;

Returns
TypeDescription
int

The count of allowedValues.

getAllowedValuesList()

public abstract List<String> getAllowedValuesList()

The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

repeated string allowed_values = 1;

Returns
TypeDescription
List<String>

A list containing the allowedValues.