public static final class SerDeInfo.Builder extends GeneratedMessageV3.Builder<SerDeInfo.Builder> implements SerDeInfoOrBuilder
Serializer and deserializer information.
Protobuf type google.cloud.bigquery.storage.v1alpha.SerDeInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SerDeInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public SerDeInfo buildPartial()
clear()
public SerDeInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SerDeInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public SerDeInfo.Builder clearName()
Optional. Name of the SerDe.
The maximum length is 256 characters.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public SerDeInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParameters()
public SerDeInfo.Builder clearParameters()
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];
clone()
public SerDeInfo.Builder clone()
Overrides
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
|
getDefaultInstanceForType()
public SerDeInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableParameters() (deprecated)
public Map<String,String> getMutableParameters()
Use alternate mutation accessors instead.
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()
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SerDeInfo other)
public SerDeInfo.Builder mergeFrom(SerDeInfo other)
public SerDeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SerDeInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SerDeInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public SerDeInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The name to set.
|
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 |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SerDeInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 |
String
The serializationLibrary to set.
|
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 |
ByteString
The bytes for serializationLibrary to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SerDeInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides