Class ListMetastorePartitionsResponse.Builder (3.20.0)

public static final class ListMetastorePartitionsResponse.Builder extends GeneratedMessage.Builder<ListMetastorePartitionsResponse.Builder> implements ListMetastorePartitionsResponseOrBuilder

Response message for ListMetastorePartitions.

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

Static Methods

getDescriptor()

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

Methods

build()

public ListMetastorePartitionsResponse build()
Returns
Type Description
ListMetastorePartitionsResponse

buildPartial()

public ListMetastorePartitionsResponse buildPartial()
Returns
Type Description
ListMetastorePartitionsResponse

clear()

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

clearPartitions()

public ListMetastorePartitionsResponse.Builder clearPartitions()

The list of partitions.

.google.cloud.bigquery.storage.v1alpha.MetastorePartitionList partitions = 1;

Returns
Type Description
ListMetastorePartitionsResponse.Builder

clearResponse()

public ListMetastorePartitionsResponse.Builder clearResponse()
Returns
Type Description
ListMetastorePartitionsResponse.Builder

clearStreams()

public ListMetastorePartitionsResponse.Builder clearStreams()

The list of streams.

.google.cloud.bigquery.storage.v1alpha.StreamList streams = 2;

Returns
Type Description
ListMetastorePartitionsResponse.Builder

getDefaultInstanceForType()

public ListMetastorePartitionsResponse getDefaultInstanceForType()
Returns
Type Description
ListMetastorePartitionsResponse

getDescriptorForType()

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

getPartitions()

public MetastorePartitionList getPartitions()

The list of partitions.

.google.cloud.bigquery.storage.v1alpha.MetastorePartitionList partitions = 1;

Returns
Type Description
MetastorePartitionList

The partitions.

getPartitionsBuilder()

public MetastorePartitionList.Builder getPartitionsBuilder()

The list of partitions.

.google.cloud.bigquery.storage.v1alpha.MetastorePartitionList partitions = 1;

Returns
Type Description
MetastorePartitionList.Builder

getPartitionsOrBuilder()

public MetastorePartitionListOrBuilder getPartitionsOrBuilder()

The list of partitions.

.google.cloud.bigquery.storage.v1alpha.MetastorePartitionList partitions = 1;

Returns
Type Description
MetastorePartitionListOrBuilder

getResponseCase()

public ListMetastorePartitionsResponse.ResponseCase getResponseCase()
Returns
Type Description
ListMetastorePartitionsResponse.ResponseCase

getStreams()

public StreamList getStreams()

The list of streams.

.google.cloud.bigquery.storage.v1alpha.StreamList streams = 2;

Returns
Type Description
StreamList

The streams.

getStreamsBuilder()

public StreamList.Builder getStreamsBuilder()

The list of streams.

.google.cloud.bigquery.storage.v1alpha.StreamList streams = 2;

Returns
Type Description
StreamList.Builder

getStreamsOrBuilder()

public StreamListOrBuilder getStreamsOrBuilder()

The list of streams.

.google.cloud.bigquery.storage.v1alpha.StreamList streams = 2;

Returns
Type Description
StreamListOrBuilder

hasPartitions()

public boolean hasPartitions()

The list of partitions.

.google.cloud.bigquery.storage.v1alpha.MetastorePartitionList partitions = 1;

Returns
Type Description
boolean

Whether the partitions field is set.

hasStreams()

public boolean hasStreams()

The list of streams.

.google.cloud.bigquery.storage.v1alpha.StreamList streams = 2;

Returns
Type Description
boolean

Whether the streams field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMetastorePartitionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePartitions(MetastorePartitionList value)

public ListMetastorePartitionsResponse.Builder mergePartitions(MetastorePartitionList value)

The list of partitions.

.google.cloud.bigquery.storage.v1alpha.MetastorePartitionList partitions = 1;

Parameter
Name Description
value MetastorePartitionList
Returns
Type Description
ListMetastorePartitionsResponse.Builder

mergeStreams(StreamList value)

public ListMetastorePartitionsResponse.Builder mergeStreams(StreamList value)

The list of streams.

.google.cloud.bigquery.storage.v1alpha.StreamList streams = 2;

Parameter
Name Description
value StreamList
Returns
Type Description
ListMetastorePartitionsResponse.Builder

setPartitions(MetastorePartitionList value)

public ListMetastorePartitionsResponse.Builder setPartitions(MetastorePartitionList value)

The list of partitions.

.google.cloud.bigquery.storage.v1alpha.MetastorePartitionList partitions = 1;

Parameter
Name Description
value MetastorePartitionList
Returns
Type Description
ListMetastorePartitionsResponse.Builder

setPartitions(MetastorePartitionList.Builder builderForValue)

public ListMetastorePartitionsResponse.Builder setPartitions(MetastorePartitionList.Builder builderForValue)

The list of partitions.

.google.cloud.bigquery.storage.v1alpha.MetastorePartitionList partitions = 1;

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

setStreams(StreamList value)

public ListMetastorePartitionsResponse.Builder setStreams(StreamList value)

The list of streams.

.google.cloud.bigquery.storage.v1alpha.StreamList streams = 2;

Parameter
Name Description
value StreamList
Returns
Type Description
ListMetastorePartitionsResponse.Builder

setStreams(StreamList.Builder builderForValue)

public ListMetastorePartitionsResponse.Builder setStreams(StreamList.Builder builderForValue)

The list of streams.

.google.cloud.bigquery.storage.v1alpha.StreamList streams = 2;

Parameter
Name Description
builderForValue StreamList.Builder
Returns
Type Description
ListMetastorePartitionsResponse.Builder