Class FieldType.EnumType.Builder (1.50.0)

public static final class FieldType.EnumType.Builder extends GeneratedMessageV3.Builder<FieldType.EnumType.Builder> implements FieldType.EnumTypeOrBuilder

Protobuf type google.cloud.datacatalog.v1.FieldType.EnumType

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAllowedValues(Iterable<? extends FieldType.EnumType.EnumValue> values)

public FieldType.EnumType.Builder addAllAllowedValues(Iterable<? extends FieldType.EnumType.EnumValue> values)

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
Name Description
values Iterable<? extends com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue>
Returns
Type Description
FieldType.EnumType.Builder

addAllowedValues(FieldType.EnumType.EnumValue value)

public FieldType.EnumType.Builder addAllowedValues(FieldType.EnumType.EnumValue value)

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
Name Description
value FieldType.EnumType.EnumValue
Returns
Type Description
FieldType.EnumType.Builder

addAllowedValues(FieldType.EnumType.EnumValue.Builder builderForValue)

public FieldType.EnumType.Builder addAllowedValues(FieldType.EnumType.EnumValue.Builder builderForValue)

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
Name Description
builderForValue FieldType.EnumType.EnumValue.Builder
Returns
Type Description
FieldType.EnumType.Builder

addAllowedValues(int index, FieldType.EnumType.EnumValue value)

public FieldType.EnumType.Builder addAllowedValues(int index, FieldType.EnumType.EnumValue value)

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;

Parameters
Name Description
index int
value FieldType.EnumType.EnumValue
Returns
Type Description
FieldType.EnumType.Builder

addAllowedValues(int index, FieldType.EnumType.EnumValue.Builder builderForValue)

public FieldType.EnumType.Builder addAllowedValues(int index, FieldType.EnumType.EnumValue.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue FieldType.EnumType.EnumValue.Builder
Returns
Type Description
FieldType.EnumType.Builder

addAllowedValuesBuilder()

public FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder()

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
Type Description
FieldType.EnumType.EnumValue.Builder

addAllowedValuesBuilder(int index)

public FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder(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
Name Description
index int
Returns
Type Description
FieldType.EnumType.EnumValue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FieldType.EnumType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FieldType.EnumType.Builder
Overrides

build()

public FieldType.EnumType build()
Returns
Type Description
FieldType.EnumType

buildPartial()

public FieldType.EnumType buildPartial()
Returns
Type Description
FieldType.EnumType

clear()

public FieldType.EnumType.Builder clear()
Returns
Type Description
FieldType.EnumType.Builder
Overrides

clearAllowedValues()

public FieldType.EnumType.Builder clearAllowedValues()

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
Type Description
FieldType.EnumType.Builder

clearField(Descriptors.FieldDescriptor field)

public FieldType.EnumType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FieldType.EnumType.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FieldType.EnumType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FieldType.EnumType.Builder
Overrides

clone()

public FieldType.EnumType.Builder clone()
Returns
Type Description
FieldType.EnumType.Builder
Overrides

getAllowedValues(int index)

public 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
Name Description
index int
Returns
Type Description
FieldType.EnumType.EnumValue

getAllowedValuesBuilder(int index)

public FieldType.EnumType.EnumValue.Builder getAllowedValuesBuilder(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
Name Description
index int
Returns
Type Description
FieldType.EnumType.EnumValue.Builder

getAllowedValuesBuilderList()

public List<FieldType.EnumType.EnumValue.Builder> getAllowedValuesBuilderList()

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
Type Description
List<Builder>

getAllowedValuesCount()

public 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
Type Description
int

getAllowedValuesList()

public 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
Type Description
List<EnumValue>

getAllowedValuesOrBuilder(int index)

public 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
Name Description
index int
Returns
Type Description
FieldType.EnumType.EnumValueOrBuilder

getAllowedValuesOrBuilderList()

public 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
Type Description
List<? extends com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder>

getDefaultInstanceForType()

public FieldType.EnumType getDefaultInstanceForType()
Returns
Type Description
FieldType.EnumType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FieldType.EnumType other)

public FieldType.EnumType.Builder mergeFrom(FieldType.EnumType other)
Parameter
Name Description
other FieldType.EnumType
Returns
Type Description
FieldType.EnumType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FieldType.EnumType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType.EnumType.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FieldType.EnumType.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FieldType.EnumType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FieldType.EnumType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FieldType.EnumType.Builder
Overrides

removeAllowedValues(int index)

public FieldType.EnumType.Builder removeAllowedValues(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
Name Description
index int
Returns
Type Description
FieldType.EnumType.Builder

setAllowedValues(int index, FieldType.EnumType.EnumValue value)

public FieldType.EnumType.Builder setAllowedValues(int index, FieldType.EnumType.EnumValue value)

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;

Parameters
Name Description
index int
value FieldType.EnumType.EnumValue
Returns
Type Description
FieldType.EnumType.Builder

setAllowedValues(int index, FieldType.EnumType.EnumValue.Builder builderForValue)

public FieldType.EnumType.Builder setAllowedValues(int index, FieldType.EnumType.EnumValue.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue FieldType.EnumType.EnumValue.Builder
Returns
Type Description
FieldType.EnumType.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FieldType.EnumType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FieldType.EnumType.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FieldType.EnumType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FieldType.EnumType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FieldType.EnumType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FieldType.EnumType.Builder
Overrides