public final class MetastorePartition extends GeneratedMessageV3 implements MetastorePartitionOrBuilder
Information about a Hive partition.
Protobuf type google.cloud.bigquery.storage.v1alpha.MetastorePartition
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 CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FIELDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PARAMETERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STORAGE_DESCRIPTOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int VALUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static MetastorePartition getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MetastorePartition.Builder newBuilder()
public static MetastorePartition.Builder newBuilder(MetastorePartition prototype)
public static MetastorePartition parseDelimitedFrom(InputStream input)
public static MetastorePartition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetastorePartition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static MetastorePartition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MetastorePartition parseFrom(ByteString data)
public static MetastorePartition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetastorePartition parseFrom(CodedInputStream input)
public static MetastorePartition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MetastorePartition parseFrom(InputStream input)
public static MetastorePartition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetastorePartition parseFrom(ByteBuffer data)
public static MetastorePartition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MetastorePartition> parser()
Methods
public boolean containsParameters(String key)
Optional. Additional parameters or metadata associated with the partition.
Maximum size 10 KiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Timestamp getCreateTime()
Output only. The creation time of the partition.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of the partition.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetastorePartition getDefaultInstanceForType()
public FieldSchema getFields(int index)
Optional. List of columns.
repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
public int getFieldsCount()
Optional. List of columns.
repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public List<FieldSchema> getFieldsList()
Optional. List of columns.
repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
public FieldSchemaOrBuilder getFieldsOrBuilder(int index)
Optional. List of columns.
repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
public List<? extends FieldSchemaOrBuilder> getFieldsOrBuilderList()
Optional. List of columns.
repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.bigquery.storage.v1alpha.FieldSchemaOrBuilder> |
|
public Map<String,String> getParameters()
public int getParametersCount()
Optional. Additional parameters or metadata associated with the partition.
Maximum size 10 KiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public Map<String,String> getParametersMap()
Optional. Additional parameters or metadata associated with the partition.
Maximum size 10 KiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
public String getParametersOrDefault(String key, String defaultValue)
Optional. Additional parameters or metadata associated with the partition.
Maximum size 10 KiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
public String getParametersOrThrow(String key)
Optional. Additional parameters or metadata associated with the partition.
Maximum size 10 KiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
public Parser<MetastorePartition> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public StorageDescriptor getStorageDescriptor()
Optional. Contains information about the physical storage of the data in
the partition.
.google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];
public StorageDescriptorOrBuilder getStorageDescriptorOrBuilder()
Optional. Contains information about the physical storage of the data in
the partition.
.google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];
public String getValues(int index)
Required. Represents the values of the partition keys, where each value
corresponds to a specific partition key in the order in which the keys are
defined. Each value is limited to 1024 characters.
repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The values at the given index.
|
public ByteString getValuesBytes(int index)
Required. Represents the values of the partition keys, where each value
corresponds to a specific partition key in the order in which the keys are
defined. Each value is limited to 1024 characters.
repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the values at the given index.
|
public int getValuesCount()
Required. Represents the values of the partition keys, where each value
corresponds to a specific partition key in the order in which the keys are
defined. Each value is limited to 1024 characters.
repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The count of values.
|
public ProtocolStringList getValuesList()
Required. Represents the values of the partition keys, where each value
corresponds to a specific partition key in the order in which the keys are
defined. Each value is limited to 1024 characters.
repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasCreateTime()
Output only. The creation time of the partition.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
public boolean hasStorageDescriptor()
Optional. Contains information about the physical storage of the data in
the partition.
.google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the storageDescriptor field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public MetastorePartition.Builder newBuilderForType()
protected MetastorePartition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public MetastorePartition.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides