public static final class MetastorePartitionList.Builder extends GeneratedMessage.Builder<MetastorePartitionList.Builder> implements MetastorePartitionListOrBuilder
List of metastore partitions.
Protobuf type google.cloud.bigquery.storage.v1beta.MetastorePartitionList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public MetastorePartitionList.Builder addAllPartitions(Iterable<? extends MetastorePartition> values)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.bigquery.storage.v1beta.MetastorePartition>
|
public MetastorePartitionList.Builder addPartitions(MetastorePartition value)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public MetastorePartitionList.Builder addPartitions(MetastorePartition.Builder builderForValue)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public MetastorePartitionList.Builder addPartitions(int index, MetastorePartition value)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public MetastorePartitionList.Builder addPartitions(int index, MetastorePartition.Builder builderForValue)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public MetastorePartition.Builder addPartitionsBuilder()
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public MetastorePartition.Builder addPartitionsBuilder(int index)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public MetastorePartitionList build()
public MetastorePartitionList buildPartial()
public MetastorePartitionList.Builder clear()
Overrides
public MetastorePartitionList.Builder clearPartitions()
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public MetastorePartitionList getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public MetastorePartition getPartitions(int index)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public MetastorePartition.Builder getPartitionsBuilder(int index)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<MetastorePartition.Builder> getPartitionsBuilderList()
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public int getPartitionsCount()
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public List<MetastorePartition> getPartitionsList()
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public MetastorePartitionOrBuilder getPartitionsOrBuilder(int index)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends MetastorePartitionOrBuilder> getPartitionsOrBuilderList()
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.bigquery.storage.v1beta.MetastorePartitionOrBuilder> |
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MetastorePartitionList.Builder mergeFrom(MetastorePartitionList other)
public MetastorePartitionList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MetastorePartitionList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public MetastorePartitionList.Builder removePartitions(int index)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public MetastorePartitionList.Builder setPartitions(int index, MetastorePartition value)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
public MetastorePartitionList.Builder setPartitions(int index, MetastorePartition.Builder builderForValue)
Required. List of partitions.
repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];