public static final class SerdeInfo.Builder extends GeneratedMessage.Builder<SerdeInfo.Builder> implements SerdeInfoOrBuilderSerialization and deserialization information.
Protobuf type google.cloud.biglake.hive.v1beta.SerdeInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SerdeInfo.BuilderImplements
SerdeInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SerdeInfo build()| Returns | |
|---|---|
| Type | Description |
SerdeInfo |
|
buildPartial()
public SerdeInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
SerdeInfo |
|
clear()
public SerdeInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
|
clearDescription()
public SerdeInfo.Builder clearDescription()Optional. Description of the serde. The maximum length is 4000 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
clearDeserializerClass()
public SerdeInfo.Builder clearDeserializerClass()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 |
SerdeInfo.Builder |
This builder for chaining. |
clearName()
public SerdeInfo.Builder clearName()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 |
SerdeInfo.Builder |
This builder for chaining. |
clearParameters()
public SerdeInfo.Builder clearParameters()| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
|
clearSerdeType()
public SerdeInfo.Builder clearSerdeType()Optional. The serde type.
.google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
clearSerializationLib()
public SerdeInfo.Builder clearSerializationLib()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 |
SerdeInfo.Builder |
This builder for chaining. |
clearSerializerClass()
public SerdeInfo.Builder clearSerializerClass()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 |
SerdeInfo.Builder |
This builder for chaining. |
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 |
|
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getMutableParameters() (deprecated)
public Map<String,String> getMutableParameters()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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 |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SerdeInfo other)
public SerdeInfo.Builder mergeFrom(SerdeInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
SerdeInfo |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SerdeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SerdeInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
|
putAllParameters(Map<String,String> values)
public SerdeInfo.Builder putAllParameters(Map<String,String> values)Optional. Parameters of the serde. The maximum size is 10Kib.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
|
putParameters(String key, String value)
public SerdeInfo.Builder putParameters(String key, String value)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 |
value |
String |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
|
removeParameters(String key)
public SerdeInfo.Builder removeParameters(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 |
SerdeInfo.Builder |
|
setDescription(String value)
public SerdeInfo.Builder setDescription(String value)Optional. Description of the serde. The maximum length is 4000 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public SerdeInfo.Builder setDescriptionBytes(ByteString value)Optional. Description of the serde. The maximum length is 4000 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setDeserializerClass(String value)
public SerdeInfo.Builder setDeserializerClass(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deserializerClass to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setDeserializerClassBytes(ByteString value)
public SerdeInfo.Builder setDeserializerClassBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deserializerClass to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setName(String value)
public SerdeInfo.Builder setName(String value)Required. Name of the SerDe. Table name by default. The maximum length is 128 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SerdeInfo.Builder setNameBytes(ByteString value)Required. Name of the SerDe. Table name by default. The maximum length is 128 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setSerdeType(SerdeInfo.SerdeType value)
public SerdeInfo.Builder setSerdeType(SerdeInfo.SerdeType value)Optional. The serde type.
.google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SerdeInfo.SerdeTypeThe serdeType to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setSerdeTypeValue(int value)
public SerdeInfo.Builder setSerdeTypeValue(int value)Optional. The serde type.
.google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for serdeType to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setSerializationLib(String value)
public SerdeInfo.Builder setSerializationLib(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serializationLib to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setSerializationLibBytes(ByteString value)
public SerdeInfo.Builder setSerializationLibBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serializationLib to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setSerializerClass(String value)
public SerdeInfo.Builder setSerializerClass(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serializerClass to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |
setSerializerClassBytes(ByteString value)
public SerdeInfo.Builder setSerializerClassBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serializerClass to set. |
| Returns | |
|---|---|
| Type | Description |
SerdeInfo.Builder |
This builder for chaining. |