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
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.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];
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()
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