Class BatchCreatePartitionsResponse.Builder (0.76.0)

public static final class BatchCreatePartitionsResponse.Builder extends GeneratedMessage.Builder<BatchCreatePartitionsResponse.Builder> implements BatchCreatePartitionsResponseOrBuilder

Response message for BatchCreatePartitions.

Protobuf type google.cloud.biglake.hive.v1beta.BatchCreatePartitionsResponse

Static Methods

getDescriptor()

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

Methods

addAllPartitions(Iterable<? extends Partition> values)

public BatchCreatePartitionsResponse.Builder addAllPartitions(Iterable<? extends Partition> values)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.biglake.hive.v1beta.Partition>
Returns
Type Description
BatchCreatePartitionsResponse.Builder

addPartitions(Partition value)

public BatchCreatePartitionsResponse.Builder addPartitions(Partition value)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameter
Name Description
value Partition
Returns
Type Description
BatchCreatePartitionsResponse.Builder

addPartitions(Partition.Builder builderForValue)

public BatchCreatePartitionsResponse.Builder addPartitions(Partition.Builder builderForValue)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameter
Name Description
builderForValue Partition.Builder
Returns
Type Description
BatchCreatePartitionsResponse.Builder

addPartitions(int index, Partition value)

public BatchCreatePartitionsResponse.Builder addPartitions(int index, Partition value)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameters
Name Description
index int
value Partition
Returns
Type Description
BatchCreatePartitionsResponse.Builder

addPartitions(int index, Partition.Builder builderForValue)

public BatchCreatePartitionsResponse.Builder addPartitions(int index, Partition.Builder builderForValue)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameters
Name Description
index int
builderForValue Partition.Builder
Returns
Type Description
BatchCreatePartitionsResponse.Builder

addPartitionsBuilder()

public Partition.Builder addPartitionsBuilder()

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Returns
Type Description
Partition.Builder

addPartitionsBuilder(int index)

public Partition.Builder addPartitionsBuilder(int index)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
Partition.Builder

build()

public BatchCreatePartitionsResponse build()
Returns
Type Description
BatchCreatePartitionsResponse

buildPartial()

public BatchCreatePartitionsResponse buildPartial()
Returns
Type Description
BatchCreatePartitionsResponse

clear()

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

clearPartitions()

public BatchCreatePartitionsResponse.Builder clearPartitions()

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Returns
Type Description
BatchCreatePartitionsResponse.Builder

getDefaultInstanceForType()

public BatchCreatePartitionsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreatePartitionsResponse

getDescriptorForType()

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

getPartitions(int index)

public Partition getPartitions(int index)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
Partition

getPartitionsBuilder(int index)

public Partition.Builder getPartitionsBuilder(int index)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
Partition.Builder

getPartitionsBuilderList()

public List<Partition.Builder> getPartitionsBuilderList()

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Returns
Type Description
List<Builder>

getPartitionsCount()

public int getPartitionsCount()

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Returns
Type Description
int

getPartitionsList()

public List<Partition> getPartitionsList()

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Returns
Type Description
List<Partition>

getPartitionsOrBuilder(int index)

public PartitionOrBuilder getPartitionsOrBuilder(int index)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
PartitionOrBuilder

getPartitionsOrBuilderList()

public List<? extends PartitionOrBuilder> getPartitionsOrBuilderList()

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Returns
Type Description
List<? extends com.google.cloud.biglake.hive.v1beta.PartitionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreatePartitionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePartitions(int index)

public BatchCreatePartitionsResponse.Builder removePartitions(int index)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchCreatePartitionsResponse.Builder

setPartitions(int index, Partition value)

public BatchCreatePartitionsResponse.Builder setPartitions(int index, Partition value)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameters
Name Description
index int
value Partition
Returns
Type Description
BatchCreatePartitionsResponse.Builder

setPartitions(int index, Partition.Builder builderForValue)

public BatchCreatePartitionsResponse.Builder setPartitions(int index, Partition.Builder builderForValue)

The list of partitions that have been added.

repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;

Parameters
Name Description
index int
builderForValue Partition.Builder
Returns
Type Description
BatchCreatePartitionsResponse.Builder