Class MetastorePartitionList.Builder (3.10.3)

public static final class MetastorePartitionList.Builder extends GeneratedMessageV3.Builder<MetastorePartitionList.Builder> implements MetastorePartitionListOrBuilder

List of metastore partitions.

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

Static Methods

getDescriptor()

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

Methods

addAllPartitions(Iterable<? extends MetastorePartition> values)

public MetastorePartitionList.Builder addAllPartitions(Iterable<? extends MetastorePartition> values)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.storage.v1alpha.MetastorePartition>
Returns
Type Description
MetastorePartitionList.Builder

addPartitions(MetastorePartition value)

public MetastorePartitionList.Builder addPartitions(MetastorePartition value)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MetastorePartition
Returns
Type Description
MetastorePartitionList.Builder

addPartitions(MetastorePartition.Builder builderForValue)

public MetastorePartitionList.Builder addPartitions(MetastorePartition.Builder builderForValue)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MetastorePartition.Builder
Returns
Type Description
MetastorePartitionList.Builder

addPartitions(int index, MetastorePartition value)

public MetastorePartitionList.Builder addPartitions(int index, MetastorePartition value)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value MetastorePartition
Returns
Type Description
MetastorePartitionList.Builder

addPartitions(int index, MetastorePartition.Builder builderForValue)

public MetastorePartitionList.Builder addPartitions(int index, MetastorePartition.Builder builderForValue)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue MetastorePartition.Builder
Returns
Type Description
MetastorePartitionList.Builder

addPartitionsBuilder()

public MetastorePartition.Builder addPartitionsBuilder()

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetastorePartition.Builder

addPartitionsBuilder(int index)

public MetastorePartition.Builder addPartitionsBuilder(int index)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MetastorePartitionList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetastorePartitionList.Builder
Overrides

build()

public MetastorePartitionList build()
Returns
Type Description
MetastorePartitionList

buildPartial()

public MetastorePartitionList buildPartial()
Returns
Type Description
MetastorePartitionList

clear()

public MetastorePartitionList.Builder clear()
Returns
Type Description
MetastorePartitionList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MetastorePartitionList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MetastorePartitionList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MetastorePartitionList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MetastorePartitionList.Builder
Overrides

clearPartitions()

public MetastorePartitionList.Builder clearPartitions()

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetastorePartitionList.Builder

clone()

public MetastorePartitionList.Builder clone()
Returns
Type Description
MetastorePartitionList.Builder
Overrides

getDefaultInstanceForType()

public MetastorePartitionList getDefaultInstanceForType()
Returns
Type Description
MetastorePartitionList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPartitions(int index)

public MetastorePartition getPartitions(int index)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartition

getPartitionsBuilder(int index)

public MetastorePartition.Builder getPartitionsBuilder(int index)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartition.Builder

getPartitionsBuilderList()

public List<MetastorePartition.Builder> getPartitionsBuilderList()

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getPartitionsCount()

public int getPartitionsCount()

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPartitionsList()

public List<MetastorePartition> getPartitionsList()

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<MetastorePartition>

getPartitionsOrBuilder(int index)

public MetastorePartitionOrBuilder getPartitionsOrBuilder(int index)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartitionOrBuilder

getPartitionsOrBuilderList()

public List<? extends MetastorePartitionOrBuilder> getPartitionsOrBuilderList()

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.bigquery.storage.v1alpha.MetastorePartitionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetastorePartitionList other)

public MetastorePartitionList.Builder mergeFrom(MetastorePartitionList other)
Parameter
Name Description
other MetastorePartitionList
Returns
Type Description
MetastorePartitionList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MetastorePartitionList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetastorePartitionList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MetastorePartitionList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MetastorePartitionList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MetastorePartitionList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetastorePartitionList.Builder
Overrides

removePartitions(int index)

public MetastorePartitionList.Builder removePartitions(int index)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartitionList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MetastorePartitionList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetastorePartitionList.Builder
Overrides

setPartitions(int index, MetastorePartition value)

public MetastorePartitionList.Builder setPartitions(int index, MetastorePartition value)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value MetastorePartition
Returns
Type Description
MetastorePartitionList.Builder

setPartitions(int index, MetastorePartition.Builder builderForValue)

public MetastorePartitionList.Builder setPartitions(int index, MetastorePartition.Builder builderForValue)

Required. List of partitions.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue MetastorePartition.Builder
Returns
Type Description
MetastorePartitionList.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MetastorePartitionList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MetastorePartitionList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MetastorePartitionList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetastorePartitionList.Builder
Overrides