public static final class FieldType.EnumType.Builder extends GeneratedMessageV3.Builder<FieldType.EnumType.Builder> implements FieldType.EnumTypeOrBuilder
Protobuf type google.cloud.datacatalog.v1beta1.FieldType.EnumType
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllAllowedValues(Iterable<? extends FieldType.EnumType.EnumValue> values)
public FieldType.EnumType.Builder addAllAllowedValues(Iterable<? extends FieldType.EnumType.EnumValue> values)
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 |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue>
|
addAllowedValues(FieldType.EnumType.EnumValue value)
public FieldType.EnumType.Builder addAllowedValues(FieldType.EnumType.EnumValue value)
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;
addAllowedValues(FieldType.EnumType.EnumValue.Builder builderForValue)
public FieldType.EnumType.Builder addAllowedValues(FieldType.EnumType.EnumValue.Builder builderForValue)
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;
addAllowedValues(int index, FieldType.EnumType.EnumValue value)
public FieldType.EnumType.Builder addAllowedValues(int index, FieldType.EnumType.EnumValue value)
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;
addAllowedValues(int index, FieldType.EnumType.EnumValue.Builder builderForValue)
public FieldType.EnumType.Builder addAllowedValues(int index, FieldType.EnumType.EnumValue.Builder builderForValue)
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;
addAllowedValuesBuilder()
public FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder()
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;
addAllowedValuesBuilder(int index)
public FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder(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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FieldType.EnumType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FieldType.EnumType build()
buildPartial()
public FieldType.EnumType buildPartial()
clear()
public FieldType.EnumType.Builder clear()
Overrides
clearAllowedValues()
public FieldType.EnumType.Builder clearAllowedValues()
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;
clearField(Descriptors.FieldDescriptor field)
public FieldType.EnumType.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FieldType.EnumType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FieldType.EnumType.Builder clone()
Overrides
getAllowedValues(int index)
public 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 |
---|
Name | Description |
index | int
|
getAllowedValuesBuilder(int index)
public FieldType.EnumType.EnumValue.Builder getAllowedValuesBuilder(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 |
---|
Name | Description |
index | int
|
getAllowedValuesBuilderList()
public List<FieldType.EnumType.EnumValue.Builder> getAllowedValuesBuilderList()
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;
getAllowedValuesCount()
public 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 |
---|
Type | Description |
int | |
getAllowedValuesList()
public 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;
getAllowedValuesOrBuilder(int index)
public 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 |
---|
Name | Description |
index | int
|
getAllowedValuesOrBuilderList()
public 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 |
---|
Type | Description |
List<? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> | |
getDefaultInstanceForType()
public FieldType.EnumType getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FieldType.EnumType other)
public FieldType.EnumType.Builder mergeFrom(FieldType.EnumType other)
public FieldType.EnumType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FieldType.EnumType.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FieldType.EnumType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAllowedValues(int index)
public FieldType.EnumType.Builder removeAllowedValues(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 |
---|
Name | Description |
index | int
|
setAllowedValues(int index, FieldType.EnumType.EnumValue value)
public FieldType.EnumType.Builder setAllowedValues(int index, FieldType.EnumType.EnumValue value)
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;
setAllowedValues(int index, FieldType.EnumType.EnumValue.Builder builderForValue)
public FieldType.EnumType.Builder setAllowedValues(int index, FieldType.EnumType.EnumValue.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public FieldType.EnumType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FieldType.EnumType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FieldType.EnumType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides