Class SerdeInfo (0.76.0)

public final class SerdeInfo extends GeneratedMessage implements SerdeInfoOrBuilder

Serialization and deserialization information.

Protobuf type google.cloud.biglake.hive.v1beta.SerdeInfo

Implements

SerdeInfoOrBuilder

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DESERIALIZER_CLASS_FIELD_NUMBER

public static final int DESERIALIZER_CLASS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

SERDE_TYPE_FIELD_NUMBER

public static final int SERDE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SERIALIZATION_LIB_FIELD_NUMBER

public static final int SERIALIZATION_LIB_FIELD_NUMBER
Field Value
Type Description
int

SERIALIZER_CLASS_FIELD_NUMBER

public static final int SERIALIZER_CLASS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SerdeInfo getDefaultInstance()
Returns
Type Description
SerdeInfo

getDescriptor()

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

newBuilder()

public static SerdeInfo.Builder newBuilder()
Returns
Type Description
SerdeInfo.Builder

newBuilder(SerdeInfo prototype)

public static SerdeInfo.Builder newBuilder(SerdeInfo prototype)
Parameter
Name Description
prototype SerdeInfo
Returns
Type Description
SerdeInfo.Builder

parseDelimitedFrom(InputStream input)

public static SerdeInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SerdeInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SerdeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerdeInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SerdeInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SerdeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SerdeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerdeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SerdeInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SerdeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SerdeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerdeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SerdeInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SerdeInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SerdeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerdeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SerdeInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SerdeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SerdeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerdeInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SerdeInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SerdeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SerdeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerdeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SerdeInfo> parser()
Returns
Type Description
Parser<SerdeInfo>

Methods

containsParameters(String key)

public boolean containsParameters(String key)

Optional. Parameters of the serde. The maximum size is 10Kib.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public SerdeInfo getDefaultInstanceForType()
Returns
Type Description
SerdeInfo

getDescription()

public String getDescription()

Optional. Description of the serde. The maximum length is 4000 characters.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the serde. The maximum length is 4000 characters.

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

Returns
Type Description
ByteString

The bytes for description.

getDeserializerClass()

public String getDeserializerClass()

Optional. The fully qualified Java class name of the deserializer. The maximum length is 4000 characters.

string deserializer_class = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The deserializerClass.

getDeserializerClassBytes()

public ByteString getDeserializerClassBytes()

Optional. The fully qualified Java class name of the deserializer. The maximum length is 4000 characters.

string deserializer_class = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for deserializerClass.

getName()

public String getName()

Required. Name of the SerDe. Table name by default. The maximum length is 128 characters.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the SerDe. Table name by default. The maximum length is 128 characters.

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

Returns
Type Description
ByteString

The bytes for name.

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public int getParametersCount()

Optional. Parameters of the serde. The maximum size is 10Kib.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersMap()

public Map<String,String> getParametersMap()

Optional. Parameters of the serde. The maximum size is 10Kib.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public String getParametersOrDefault(String key, String defaultValue)

Optional. Parameters of the serde. The maximum size is 10Kib.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

Optional. Parameters of the serde. The maximum size is 10Kib.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getParserForType()

public Parser<SerdeInfo> getParserForType()
Returns
Type Description
Parser<SerdeInfo>
Overrides

getSerdeType()

public SerdeInfo.SerdeType getSerdeType()

Optional. The serde type.

.google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerdeInfo.SerdeType

The serdeType.

getSerdeTypeValue()

public int getSerdeTypeValue()

Optional. The serde type.

.google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for serdeType.

getSerializationLib()

public String getSerializationLib()

Required. The fully qualified Java class name of the serialization library. The maximum length is 4000 characters.

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

Returns
Type Description
String

The serializationLib.

getSerializationLibBytes()

public ByteString getSerializationLibBytes()

Required. The fully qualified Java class name of the serialization library. The maximum length is 4000 characters.

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

Returns
Type Description
ByteString

The bytes for serializationLib.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSerializerClass()

public String getSerializerClass()

Optional. The fully qualified Java class name of the serializer. The maximum length is 4000 characters.

string serializer_class = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serializerClass.

getSerializerClassBytes()

public ByteString getSerializerClassBytes()

Optional. The fully qualified Java class name of the serializer. The maximum length is 4000 characters.

string serializer_class = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serializerClass.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SerdeInfo.Builder newBuilderForType()
Returns
Type Description
SerdeInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SerdeInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SerdeInfo.Builder
Overrides

toBuilder()

public SerdeInfo.Builder toBuilder()
Returns
Type Description
SerdeInfo.Builder

writeTo(CodedOutputStream output)

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