Class BatchCreateMetastorePartitionsResponse.Builder (3.20.0)

public static final class BatchCreateMetastorePartitionsResponse.Builder extends GeneratedMessage.Builder<BatchCreateMetastorePartitionsResponse.Builder> implements BatchCreateMetastorePartitionsResponseOrBuilder

Response message for BatchCreateMetastorePartitions.

Protobuf type google.cloud.bigquery.storage.v1beta.BatchCreateMetastorePartitionsResponse

Static Methods

getDescriptor()

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

Methods

addAllPartitions(Iterable<? extends MetastorePartition> values)

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

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

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

addPartitions(MetastorePartition value)

public BatchCreateMetastorePartitionsResponse.Builder addPartitions(MetastorePartition value)

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Parameter
Name Description
value MetastorePartition
Returns
Type Description
BatchCreateMetastorePartitionsResponse.Builder

addPartitions(MetastorePartition.Builder builderForValue)

public BatchCreateMetastorePartitionsResponse.Builder addPartitions(MetastorePartition.Builder builderForValue)

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

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

addPartitions(int index, MetastorePartition value)

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

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

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

addPartitions(int index, MetastorePartition.Builder builderForValue)

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

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

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

addPartitionsBuilder()

public MetastorePartition.Builder addPartitionsBuilder()

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Returns
Type Description
MetastorePartition.Builder

addPartitionsBuilder(int index)

public MetastorePartition.Builder addPartitionsBuilder(int index)

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
MetastorePartition.Builder

build()

public BatchCreateMetastorePartitionsResponse build()
Returns
Type Description
BatchCreateMetastorePartitionsResponse

buildPartial()

public BatchCreateMetastorePartitionsResponse buildPartial()
Returns
Type Description
BatchCreateMetastorePartitionsResponse

clear()

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

clearPartitions()

public BatchCreateMetastorePartitionsResponse.Builder clearPartitions()

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Returns
Type Description
BatchCreateMetastorePartitionsResponse.Builder

getDefaultInstanceForType()

public BatchCreateMetastorePartitionsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateMetastorePartitionsResponse

getDescriptorForType()

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

getPartitions(int index)

public MetastorePartition getPartitions(int index)

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
MetastorePartition

getPartitionsBuilder(int index)

public MetastorePartition.Builder getPartitionsBuilder(int index)

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
MetastorePartition.Builder

getPartitionsBuilderList()

public List<MetastorePartition.Builder> getPartitionsBuilderList()

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Returns
Type Description
List<Builder>

getPartitionsCount()

public int getPartitionsCount()

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Returns
Type Description
int

getPartitionsList()

public List<MetastorePartition> getPartitionsList()

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Returns
Type Description
List<MetastorePartition>

getPartitionsOrBuilder(int index)

public MetastorePartitionOrBuilder getPartitionsOrBuilder(int index)

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
MetastorePartitionOrBuilder

getPartitionsOrBuilderList()

public List<? extends MetastorePartitionOrBuilder> getPartitionsOrBuilderList()

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateMetastorePartitionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePartitions(int index)

public BatchCreateMetastorePartitionsResponse.Builder removePartitions(int index)

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchCreateMetastorePartitionsResponse.Builder

setPartitions(int index, MetastorePartition value)

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

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

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

setPartitions(int index, MetastorePartition.Builder builderForValue)

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

The list of metastore partitions that have been created.

repeated .google.cloud.bigquery.storage.v1beta.MetastorePartition partitions = 1;

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