Class StorageDescriptor.Builder (3.9.0)

public static final class StorageDescriptor.Builder extends GeneratedMessageV3.Builder<StorageDescriptor.Builder> implements StorageDescriptorOrBuilder

Contains information about the physical storage of the data in the metastore partition.

Protobuf type google.cloud.bigquery.storage.v1alpha.StorageDescriptor

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StorageDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StorageDescriptor.Builder
Overrides

build()

public StorageDescriptor build()
Returns
Type Description
StorageDescriptor

buildPartial()

public StorageDescriptor buildPartial()
Returns
Type Description
StorageDescriptor

clear()

public StorageDescriptor.Builder clear()
Returns
Type Description
StorageDescriptor.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StorageDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StorageDescriptor.Builder
Overrides

clearInputFormat()

public StorageDescriptor.Builder clearInputFormat()

Optional. Specifies the fully qualified class name of the InputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is 128 characters.

string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearLocationUri()

public StorageDescriptor.Builder clearLocationUri()

Optional. The physical location of the metastore partition (e.g. 'gs://spark-dataproc-data/pangea-data/case_sensitive/' or 'gs://spark-dataproc-data/pangea-data/*').

string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StorageDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StorageDescriptor.Builder
Overrides

clearOutputFormat()

public StorageDescriptor.Builder clearOutputFormat()

Optional. Specifies the fully qualified class name of the OutputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum length is 128 characters.

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

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearSerdeInfo()

public StorageDescriptor.Builder clearSerdeInfo()

Optional. Serializer and deserializer information.

.google.cloud.bigquery.storage.v1alpha.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

clone()

public StorageDescriptor.Builder clone()
Returns
Type Description
StorageDescriptor.Builder
Overrides

getDefaultInstanceForType()

public StorageDescriptor getDefaultInstanceForType()
Returns
Type Description
StorageDescriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInputFormat()

public String getInputFormat()

Optional. Specifies the fully qualified class name of the InputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is 128 characters.

string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The inputFormat.

getInputFormatBytes()

public ByteString getInputFormatBytes()

Optional. Specifies the fully qualified class name of the InputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is 128 characters.

string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for inputFormat.

getLocationUri()

public String getLocationUri()

Optional. The physical location of the metastore partition (e.g. 'gs://spark-dataproc-data/pangea-data/case_sensitive/' or 'gs://spark-dataproc-data/pangea-data/*').

string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The locationUri.

getLocationUriBytes()

public ByteString getLocationUriBytes()

Optional. The physical location of the metastore partition (e.g. 'gs://spark-dataproc-data/pangea-data/case_sensitive/' or 'gs://spark-dataproc-data/pangea-data/*').

string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for locationUri.

getOutputFormat()

public String getOutputFormat()

Optional. Specifies the fully qualified class name of the OutputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum length is 128 characters.

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

Returns
Type Description
String

The outputFormat.

getOutputFormatBytes()

public ByteString getOutputFormatBytes()

Optional. Specifies the fully qualified class name of the OutputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum length is 128 characters.

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

Returns
Type Description
ByteString

The bytes for outputFormat.

getSerdeInfo()

public SerDeInfo getSerdeInfo()

Optional. Serializer and deserializer information.

.google.cloud.bigquery.storage.v1alpha.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerDeInfo

The serdeInfo.

getSerdeInfoBuilder()

public SerDeInfo.Builder getSerdeInfoBuilder()

Optional. Serializer and deserializer information.

.google.cloud.bigquery.storage.v1alpha.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerDeInfo.Builder

getSerdeInfoOrBuilder()

public SerDeInfoOrBuilder getSerdeInfoOrBuilder()

Optional. Serializer and deserializer information.

.google.cloud.bigquery.storage.v1alpha.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerDeInfoOrBuilder

hasSerdeInfo()

public boolean hasSerdeInfo()

Optional. Serializer and deserializer information.

.google.cloud.bigquery.storage.v1alpha.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the serdeInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageDescriptor other)

public StorageDescriptor.Builder mergeFrom(StorageDescriptor other)
Parameter
Name Description
other StorageDescriptor
Returns
Type Description
StorageDescriptor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StorageDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageDescriptor.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StorageDescriptor.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StorageDescriptor.Builder
Overrides

mergeSerdeInfo(SerDeInfo value)

public StorageDescriptor.Builder mergeSerdeInfo(SerDeInfo value)

Optional. Serializer and deserializer information.

.google.cloud.bigquery.storage.v1alpha.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SerDeInfo
Returns
Type Description
StorageDescriptor.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StorageDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StorageDescriptor.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StorageDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StorageDescriptor.Builder
Overrides

setInputFormat(String value)

public StorageDescriptor.Builder setInputFormat(String value)

Optional. Specifies the fully qualified class name of the InputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is 128 characters.

string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The inputFormat to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setInputFormatBytes(ByteString value)

public StorageDescriptor.Builder setInputFormatBytes(ByteString value)

Optional. Specifies the fully qualified class name of the InputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is 128 characters.

string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for inputFormat to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setLocationUri(String value)

public StorageDescriptor.Builder setLocationUri(String value)

Optional. The physical location of the metastore partition (e.g. 'gs://spark-dataproc-data/pangea-data/case_sensitive/' or 'gs://spark-dataproc-data/pangea-data/*').

string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The locationUri to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setLocationUriBytes(ByteString value)

public StorageDescriptor.Builder setLocationUriBytes(ByteString value)

Optional. The physical location of the metastore partition (e.g. 'gs://spark-dataproc-data/pangea-data/case_sensitive/' or 'gs://spark-dataproc-data/pangea-data/*').

string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for locationUri to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setOutputFormat(String value)

public StorageDescriptor.Builder setOutputFormat(String value)

Optional. Specifies the fully qualified class name of the OutputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum length is 128 characters.

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

Parameter
Name Description
value String

The outputFormat to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setOutputFormatBytes(ByteString value)

public StorageDescriptor.Builder setOutputFormatBytes(ByteString value)

Optional. Specifies the fully qualified class name of the OutputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum length is 128 characters.

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

Parameter
Name Description
value ByteString

The bytes for outputFormat to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StorageDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StorageDescriptor.Builder
Overrides

setSerdeInfo(SerDeInfo value)

public StorageDescriptor.Builder setSerdeInfo(SerDeInfo value)

Optional. Serializer and deserializer information.

.google.cloud.bigquery.storage.v1alpha.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SerDeInfo
Returns
Type Description
StorageDescriptor.Builder

setSerdeInfo(SerDeInfo.Builder builderForValue)

public StorageDescriptor.Builder setSerdeInfo(SerDeInfo.Builder builderForValue)

Optional. Serializer and deserializer information.

.google.cloud.bigquery.storage.v1alpha.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SerDeInfo.Builder
Returns
Type Description
StorageDescriptor.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StorageDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StorageDescriptor.Builder
Overrides