Class FieldType.EnumType (1.9.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static FieldType.EnumType getDefaultInstance()
Returns
TypeDescription
FieldType.EnumType

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FieldType.EnumType.Builder newBuilder()
Returns
TypeDescription
FieldType.EnumType.Builder

newBuilder(FieldType.EnumType prototype)

public static FieldType.EnumType.Builder newBuilder(FieldType.EnumType prototype)
Parameter
NameDescription
prototypeFieldType.EnumType
Returns
TypeDescription
FieldType.EnumType.Builder

parseDelimitedFrom(InputStream input)

public static FieldType.EnumType parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FieldType.EnumType parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FieldType.EnumType parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FieldType.EnumType parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FieldType.EnumType parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FieldType.EnumType parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FieldType.EnumType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType.EnumType
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder>

getDefaultInstanceForType()

public FieldType.EnumType getDefaultInstanceForType()
Returns
TypeDescription
FieldType.EnumType

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FieldType.EnumType.Builder newBuilderForType()
Returns
TypeDescription
FieldType.EnumType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FieldType.EnumType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FieldType.EnumType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FieldType.EnumType.Builder toBuilder()
Returns
TypeDescription
FieldType.EnumType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException