Class GenerateDbPartitionsForQueryAction.Builder (6.71.0)

public static final class GenerateDbPartitionsForQueryAction.Builder extends GeneratedMessageV3.Builder<GenerateDbPartitionsForQueryAction.Builder> implements GenerateDbPartitionsForQueryActionOrBuilder

Generate database partitions for the given query. Successful outcomes will contain database partitions in the db_partition field.

Protobuf type google.spanner.executor.v1.GenerateDbPartitionsForQueryAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateDbPartitionsForQueryAction build()
Returns
Type Description
GenerateDbPartitionsForQueryAction

buildPartial()

public GenerateDbPartitionsForQueryAction buildPartial()
Returns
Type Description
GenerateDbPartitionsForQueryAction

clear()

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

clearDesiredBytesPerPartition()

public GenerateDbPartitionsForQueryAction.Builder clearDesiredBytesPerPartition()

Desired size of data in each partition. Spanner doesn't guarantee to respect this value.

optional int64 desired_bytes_per_partition = 2;

Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuery()

public GenerateDbPartitionsForQueryAction.Builder clearQuery()

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

clone()

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

getDefaultInstanceForType()

public GenerateDbPartitionsForQueryAction getDefaultInstanceForType()
Returns
Type Description
GenerateDbPartitionsForQueryAction

getDescriptorForType()

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

getDesiredBytesPerPartition()

public long getDesiredBytesPerPartition()

Desired size of data in each partition. Spanner doesn't guarantee to respect this value.

optional int64 desired_bytes_per_partition = 2;

Returns
Type Description
long

The desiredBytesPerPartition.

getQuery()

public QueryAction getQuery()

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Returns
Type Description
QueryAction

The query.

getQueryBuilder()

public QueryAction.Builder getQueryBuilder()

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Returns
Type Description
QueryAction.Builder

getQueryOrBuilder()

public QueryActionOrBuilder getQueryOrBuilder()

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Returns
Type Description
QueryActionOrBuilder

hasDesiredBytesPerPartition()

public boolean hasDesiredBytesPerPartition()

Desired size of data in each partition. Spanner doesn't guarantee to respect this value.

optional int64 desired_bytes_per_partition = 2;

Returns
Type Description
boolean

Whether the desiredBytesPerPartition field is set.

hasQuery()

public boolean hasQuery()

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Returns
Type Description
boolean

Whether the query field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(GenerateDbPartitionsForQueryAction other)

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

mergeQuery(QueryAction value)

public GenerateDbPartitionsForQueryAction.Builder mergeQuery(QueryAction value)

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Parameter
Name Description
value QueryAction
Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDesiredBytesPerPartition(long value)

public GenerateDbPartitionsForQueryAction.Builder setDesiredBytesPerPartition(long value)

Desired size of data in each partition. Spanner doesn't guarantee to respect this value.

optional int64 desired_bytes_per_partition = 2;

Parameter
Name Description
value long

The desiredBytesPerPartition to set.

Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setQuery(QueryAction value)

public GenerateDbPartitionsForQueryAction.Builder setQuery(QueryAction value)

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Parameter
Name Description
value QueryAction
Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

setQuery(QueryAction.Builder builderForValue)

public GenerateDbPartitionsForQueryAction.Builder setQuery(QueryAction.Builder builderForValue)

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Parameter
Name Description
builderForValue QueryAction.Builder
Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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