Class FieldType.EnumType.EnumValue (1.50.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
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(FieldType.EnumType.EnumValue prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FieldType.EnumType.EnumValue getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for displayName.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FieldType.EnumType.EnumValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FieldType.EnumType.EnumValue.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.EnumValue.Builder toBuilder()
Returns
Type Description
FieldType.EnumType.EnumValue.Builder

writeTo(CodedOutputStream output)

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