Class FieldType.EnumType.EnumValue (1.30.0)

public static final class FieldType.EnumType.EnumValue extends GeneratedMessageV3 implements FieldType.EnumType.EnumValueOrBuilder

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

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(FieldType.EnumType.EnumValue prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getDisplayName()

public String getDisplayName()

Required. The display name of the enum value. Must not be an empty string.

The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the enum value. Must not be an empty string.

The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getParserForType()

public Parser<FieldType.EnumType.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 FieldType.EnumType.EnumValue.Builder newBuilderForType()
Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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