Class FieldType.EnumType (1.59.0)

public static final class FieldType.EnumType extends GeneratedMessageV3 implements FieldType.EnumTypeOrBuilder

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

Static Fields

ALLOWED_VALUES_FIELD_NUMBER

public static final int ALLOWED_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FieldType.EnumType getDefaultInstance()
Returns
Type Description
FieldType.EnumType

getDescriptor()

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

newBuilder()

public static FieldType.EnumType.Builder newBuilder()
Returns
Type Description
FieldType.EnumType.Builder

newBuilder(FieldType.EnumType prototype)

public static FieldType.EnumType.Builder newBuilder(FieldType.EnumType prototype)
Parameter
Name Description
prototype FieldType.EnumType
Returns
Type Description
FieldType.EnumType.Builder

parseDelimitedFrom(InputStream input)

public static FieldType.EnumType parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FieldType.EnumType parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FieldType.EnumType parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FieldType.EnumType parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FieldType.EnumType parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FieldType.EnumType parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType.EnumType
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FieldType.EnumType> parser()
Returns
Type Description
Parser<EnumType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

getParserForType()

public Parser<FieldType.EnumType> getParserForType()
Returns
Type Description
Parser<EnumType>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FieldType.EnumType.Builder newBuilderForType()
Returns
Type Description
FieldType.EnumType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FieldType.EnumType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FieldType.EnumType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FieldType.EnumType.Builder toBuilder()
Returns
Type Description
FieldType.EnumType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException