Interface EnumTypeOptionsOrBuilder (0.38.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

The validationCheckDisabled.