Interface FieldType.EnumTypeOrBuilder (1.12.0)

public static interface FieldType.EnumTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedValues(int index)

public abstract FieldType.EnumType.EnumValue getAllowedValues(int index)

Required on create; optional on update. The set of allowed values for this enum. This set must not be empty, the display names of the values in this set must not be empty and the display names of the values must be case-insensitively unique within this set. Currently, enum values can only be added to the list of allowed values. Deletion and renaming of enum values are not supported. Can have up to 500 allowed values.

repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldType.EnumType.EnumValue

getAllowedValuesCount()

public abstract int getAllowedValuesCount()

Required on create; optional on update. The set of allowed values for this enum. This set must not be empty, the display names of the values in this set must not be empty and the display names of the values must be case-insensitively unique within this set. Currently, enum values can only be added to the list of allowed values. Deletion and renaming of enum values are not supported. Can have up to 500 allowed values.

repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;

Returns
TypeDescription
int

getAllowedValuesList()

public abstract List<FieldType.EnumType.EnumValue> getAllowedValuesList()

Required on create; optional on update. The set of allowed values for this enum. This set must not be empty, the display names of the values in this set must not be empty and the display names of the values must be case-insensitively unique within this set. Currently, enum values can only be added to the list of allowed values. Deletion and renaming of enum values are not supported. Can have up to 500 allowed values.

repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;

Returns
TypeDescription
List<EnumValue>

getAllowedValuesOrBuilder(int index)

public abstract FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder(int index)

Required on create; optional on update. The set of allowed values for this enum. This set must not be empty, the display names of the values in this set must not be empty and the display names of the values must be case-insensitively unique within this set. Currently, enum values can only be added to the list of allowed values. Deletion and renaming of enum values are not supported. Can have up to 500 allowed values.

repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldType.EnumType.EnumValueOrBuilder

getAllowedValuesOrBuilderList()

public abstract List<? extends FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesOrBuilderList()

Required on create; optional on update. The set of allowed values for this enum. This set must not be empty, the display names of the values in this set must not be empty and the display names of the values must be case-insensitively unique within this set. Currently, enum values can only be added to the list of allowed values. Deletion and renaming of enum values are not supported. Can have up to 500 allowed values.

repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder>