public interface EnumTypeOptionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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];
| Name | Description |
| index | intThe index of the element to return. |
| 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];
| Name | Description |
| index | intThe index of the value to return. |
| 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];
| 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];
| 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;
| Type | Description |
| boolean | The validationCheckDisabled. |