Class StorageDescriptor (3.9.0)

public final class StorageDescriptor extends GeneratedMessageV3 implements StorageDescriptorOrBuilder

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

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

Static Fields

INPUT_FORMAT_FIELD_NUMBER

public static final int INPUT_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_URI_FIELD_NUMBER

public static final int LOCATION_URI_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_FORMAT_FIELD_NUMBER

public static final int OUTPUT_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

SERDE_INFO_FIELD_NUMBER

public static final int SERDE_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StorageDescriptor getDefaultInstance()
Returns
Type Description
StorageDescriptor

getDescriptor()

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

newBuilder()

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

newBuilder(StorageDescriptor prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StorageDescriptor getDefaultInstanceForType()
Returns
Type Description
StorageDescriptor

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.

getParserForType()

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

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StorageDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StorageDescriptor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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