Class ColumnSchema.FieldElementType (1.45.0)

public static final class ColumnSchema.FieldElementType extends GeneratedMessageV3 implements ColumnSchema.FieldElementTypeOrBuilder

Represents the type of a field element.

Protobuf type google.cloud.datacatalog.v1.ColumnSchema.FieldElementType

Static Fields

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ColumnSchema.FieldElementType getDefaultInstance()
Returns
TypeDescription
ColumnSchema.FieldElementType

getDescriptor()

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

newBuilder()

public static ColumnSchema.FieldElementType.Builder newBuilder()
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder

newBuilder(ColumnSchema.FieldElementType prototype)

public static ColumnSchema.FieldElementType.Builder newBuilder(ColumnSchema.FieldElementType prototype)
Parameter
NameDescription
prototypeColumnSchema.FieldElementType
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder

parseDelimitedFrom(InputStream input)

public static ColumnSchema.FieldElementType parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnSchema.FieldElementType
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ColumnSchema.FieldElementType parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ColumnSchema.FieldElementType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ColumnSchema.FieldElementType parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ColumnSchema.FieldElementType
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ColumnSchema.FieldElementType parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnSchema.FieldElementType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ColumnSchema.FieldElementType parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ColumnSchema.FieldElementType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ColumnSchema.FieldElementType> parser()
Returns
TypeDescription
Parser<FieldElementType>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ColumnSchema.FieldElementType getDefaultInstanceForType()
Returns
TypeDescription
ColumnSchema.FieldElementType

getParserForType()

public Parser<ColumnSchema.FieldElementType> getParserForType()
Returns
TypeDescription
Parser<FieldElementType>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public String getType()

Required. The type of a field element. See ColumnSchema.type.

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

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Required. The type of a field element. See ColumnSchema.type.

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

Returns
TypeDescription
ByteString

The bytes for type.

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 ColumnSchema.FieldElementType.Builder newBuilderForType()
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ColumnSchema.FieldElementType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ColumnSchema.FieldElementType.Builder toBuilder()
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder

writeTo(CodedOutputStream output)

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