Interface FieldType.EnumTypeOrBuilder (1.29.0)

public static interface FieldType.EnumTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedValues(int index)

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

The set of allowed values for this enum.

This set must not be empty and can include up to 100 allowed values. The display names of the values in this set must not be empty and must be case-insensitively unique within this set.

The order of items in this set is preserved. This field can be used to create, remove, and reorder enum values. To rename enum values, use the RenameTagTemplateFieldEnumValue method.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldType.EnumType.EnumValue

getAllowedValuesCount()

public abstract int getAllowedValuesCount()

The set of allowed values for this enum.

This set must not be empty and can include up to 100 allowed values. The display names of the values in this set must not be empty and must be case-insensitively unique within this set.

The order of items in this set is preserved. This field can be used to create, remove, and reorder enum values. To rename enum values, use the RenameTagTemplateFieldEnumValue method.

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

Returns
TypeDescription
int

getAllowedValuesList()

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

The set of allowed values for this enum.

This set must not be empty and can include up to 100 allowed values. The display names of the values in this set must not be empty and must be case-insensitively unique within this set.

The order of items in this set is preserved. This field can be used to create, remove, and reorder enum values. To rename enum values, use the RenameTagTemplateFieldEnumValue method.

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

Returns
TypeDescription
List<EnumValue>

getAllowedValuesOrBuilder(int index)

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

The set of allowed values for this enum.

This set must not be empty and can include up to 100 allowed values. The display names of the values in this set must not be empty and must be case-insensitively unique within this set.

The order of items in this set is preserved. This field can be used to create, remove, and reorder enum values. To rename enum values, use the RenameTagTemplateFieldEnumValue method.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldType.EnumType.EnumValueOrBuilder

getAllowedValuesOrBuilderList()

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

The set of allowed values for this enum.

This set must not be empty and can include up to 100 allowed values. The display names of the values in this set must not be empty and must be case-insensitively unique within this set.

The order of items in this set is preserved. This field can be used to create, remove, and reorder enum values. To rename enum values, use the RenameTagTemplateFieldEnumValue method.

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

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