Interface EnumTypeOptionsOrBuilder (0.30.0)

public interface EnumTypeOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPossibleValues(int index)

public abstract String getPossibleValues(int index)

Required. List of possible enum values.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The possibleValues at the given index.

getPossibleValuesBytes(int index)

public abstract ByteString getPossibleValuesBytes(int index)

Required. List of possible enum values.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the possibleValues at the given index.

getPossibleValuesCount()

public abstract int getPossibleValuesCount()

Required. List of possible enum values.

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

Returns
TypeDescription
int

The count of possibleValues.

getPossibleValuesList()

public abstract List<String> getPossibleValuesList()

Required. List of possible enum values.

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

Returns
TypeDescription
List<String>

A list containing the possibleValues.

getValidationCheckDisabled()

public abstract boolean getValidationCheckDisabled()

Make sure the Enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.

bool validation_check_disabled = 2;

Returns
TypeDescription
boolean

The validationCheckDisabled.