Send feedback
Class StorageDescriptor (3.17.2)
Stay organized with collections
Save and categorize content based on your preferences.
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.v1beta.StorageDescriptor
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static StorageDescriptor . Builder newBuilder ()
newBuilder(StorageDescriptor prototype)
public static StorageDescriptor . Builder newBuilder ( StorageDescriptor prototype )
public static StorageDescriptor parseDelimitedFrom ( InputStream input )
public static StorageDescriptor parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static StorageDescriptor parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StorageDescriptor parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static StorageDescriptor parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageDescriptor parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static StorageDescriptor parseFrom ( CodedInputStream input )
public static StorageDescriptor parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static StorageDescriptor parseFrom ( InputStream input )
public static StorageDescriptor parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static StorageDescriptor parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StorageDescriptor parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<StorageDescriptor> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public StorageDescriptor getDefaultInstanceForType ()
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.
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.
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.
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 ()
Overrides
getSerdeInfo()
public SerDeInfo getSerdeInfo ()
Optional. Serializer and deserializer information.
.google.cloud.bigquery.storage.v1beta.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.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasSerdeInfo()
public boolean hasSerdeInfo ()
Optional. Serializer and deserializer information.
.google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the serdeInfo field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public StorageDescriptor . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StorageDescriptor . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public StorageDescriptor . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]