public static final class FieldType.EnumType extends GeneratedMessageV3 implements FieldType.EnumTypeOrBuilder
Protobuf type google.cloud.datacatalog.v1.FieldType.EnumType
Fields
ALLOWED_VALUES_FIELD_NUMBER
public static final int ALLOWED_VALUES_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
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
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
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
Returns
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> | |
getDefaultInstance()
public static FieldType.EnumType getDefaultInstance()
Returns
getDefaultInstanceForType()
public FieldType.EnumType getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<FieldType.EnumType> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static FieldType.EnumType.Builder newBuilder()
Returns
newBuilder(FieldType.EnumType prototype)
public static FieldType.EnumType.Builder newBuilder(FieldType.EnumType prototype)
Parameter
Returns
newBuilderForType()
public FieldType.EnumType.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FieldType.EnumType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static FieldType.EnumType parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FieldType.EnumType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FieldType.EnumType parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FieldType.EnumType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FieldType.EnumType parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FieldType.EnumType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FieldType.EnumType parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FieldType.EnumType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FieldType.EnumType parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FieldType.EnumType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FieldType.EnumType parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FieldType.EnumType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FieldType.EnumType> parser()
Returns
toBuilder()
public FieldType.EnumType.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions