Class AspectType.MetadataTemplate.EnumValue (1.38.0)

public static final class AspectType.MetadataTemplate.EnumValue extends GeneratedMessageV3 implements AspectType.MetadataTemplate.EnumValueOrBuilder

Definition of Enumvalue (to be used by enum fields)

Protobuf type google.cloud.dataplex.v1.AspectType.MetadataTemplate.EnumValue

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AspectType.MetadataTemplate.EnumValue

Static Fields

DEPRECATED_FIELD_NUMBER

public static final int DEPRECATED_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AspectType.MetadataTemplate.EnumValue getDefaultInstance()
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue

getDescriptor()

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

newBuilder()

public static AspectType.MetadataTemplate.EnumValue.Builder newBuilder()
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue.Builder

newBuilder(AspectType.MetadataTemplate.EnumValue prototype)

public static AspectType.MetadataTemplate.EnumValue.Builder newBuilder(AspectType.MetadataTemplate.EnumValue prototype)
Parameter
NameDescription
prototypeAspectType.MetadataTemplate.EnumValue
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue.Builder

parseDelimitedFrom(InputStream input)

public static AspectType.MetadataTemplate.EnumValue parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AspectType.MetadataTemplate.EnumValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AspectType.MetadataTemplate.EnumValue parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AspectType.MetadataTemplate.EnumValue parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AspectType.MetadataTemplate.EnumValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AspectType.MetadataTemplate.EnumValue parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AspectType.MetadataTemplate.EnumValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AspectType.MetadataTemplate.EnumValue parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AspectType.MetadataTemplate.EnumValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AspectType.MetadataTemplate.EnumValue parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AspectType.MetadataTemplate.EnumValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AspectType.MetadataTemplate.EnumValue> parser()
Returns
TypeDescription
Parser<EnumValue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AspectType.MetadataTemplate.EnumValue getDefaultInstanceForType()
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue

getDeprecated()

public String getDeprecated()

Optional. Optional deprecation message to be set if an enum value needs to be deprecated.

string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The deprecated.

getDeprecatedBytes()

public ByteString getDeprecatedBytes()

Optional. Optional deprecation message to be set if an enum value needs to be deprecated.

string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for deprecated.

getIndex()

public int getIndex()

Required. Index for the enum. Cannot be modified.

int32 index = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The index.

getName()

public String getName()

Required. Name of the enumvalue. This is the actual value that the aspect will contain.

string name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the enumvalue. This is the actual value that the aspect will contain.

string name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<AspectType.MetadataTemplate.EnumValue> getParserForType()
Returns
TypeDescription
Parser<EnumValue>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 AspectType.MetadataTemplate.EnumValue.Builder newBuilderForType()
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AspectType.MetadataTemplate.EnumValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AspectType.MetadataTemplate.EnumValue.Builder toBuilder()
Returns
TypeDescription
AspectType.MetadataTemplate.EnumValue.Builder

writeTo(CodedOutputStream output)

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