public static final class SerDeInfo.Builder extends GeneratedMessage.Builder<SerDeInfo.Builder> implements SerDeInfoOrBuilderSerializer and deserializer information.
Protobuf type google.cloud.bigquery.storage.v1alpha.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 |
|
clearName()
public SerDeInfo.Builder clearName()Optional. Name of the SerDe. The maximum length is 256 characters.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SerDeInfo.Builder |
This builder for chaining. |
clearParameters()
public SerDeInfo.Builder clearParameters()| Returns | |
|---|---|
| Type | Description |
SerDeInfo.Builder |
|
clearSerializationLibrary()
public SerDeInfo.Builder clearSerializationLibrary()Required. Specifies a fully-qualified class name of the serialization library that is responsible for the translation of data between table representation and the underlying low-level input and output format structures. The maximum length is 256 characters.
string serialization_library = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SerDeInfo.Builder |
This builder for chaining. |
containsParameters(String key)
public boolean containsParameters(String key)Optional. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.
map<string, string> parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SerDeInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SerDeInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableParameters() (deprecated)
public Map<String,String> getMutableParameters()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName()Optional. Name of the SerDe. The maximum length is 256 characters.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. Name of the SerDe. The maximum length is 256 characters.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| 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. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.
map<string, string> parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getParametersMap()
public Map<String,String> getParametersMap()Optional. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.
map<string, string> parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getParametersOrDefault(String key, String defaultValue)
public String getParametersOrDefault(String key, String defaultValue)Optional. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.
map<string, string> parameters = 3 [(.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. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.
map<string, string> parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getSerializationLibrary()
public String getSerializationLibrary()Required. Specifies a fully-qualified class name of the serialization library that is responsible for the translation of data between table representation and the underlying low-level input and output format structures. The maximum length is 256 characters.
string serialization_library = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The serializationLibrary. |
getSerializationLibraryBytes()
public ByteString getSerializationLibraryBytes()Required. Specifies a fully-qualified class name of the serialization library that is responsible for the translation of data between table representation and the underlying low-level input and output format structures. The maximum length is 256 characters.
string serialization_library = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serializationLibrary. |
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. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.
map<string, string> parameters = 3 [(.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. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.
map<string, string> parameters = 3 [(.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. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.
map<string, string> parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SerDeInfo.Builder |
|
setName(String value)
public SerDeInfo.Builder setName(String value)Optional. Name of the SerDe. The maximum length is 256 characters.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| 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)Optional. Name of the SerDe. The maximum length is 256 characters.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SerDeInfo.Builder |
This builder for chaining. |
setSerializationLibrary(String value)
public SerDeInfo.Builder setSerializationLibrary(String value)Required. Specifies a fully-qualified class name of the serialization library that is responsible for the translation of data between table representation and the underlying low-level input and output format structures. The maximum length is 256 characters.
string serialization_library = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serializationLibrary to set. |
| Returns | |
|---|---|
| Type | Description |
SerDeInfo.Builder |
This builder for chaining. |
setSerializationLibraryBytes(ByteString value)
public SerDeInfo.Builder setSerializationLibraryBytes(ByteString value)Required. Specifies a fully-qualified class name of the serialization library that is responsible for the translation of data between table representation and the underlying low-level input and output format structures. The maximum length is 256 characters.
string serialization_library = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serializationLibrary to set. |
| Returns | |
|---|---|
| Type | Description |
SerDeInfo.Builder |
This builder for chaining. |