Class GenerateDbPartitionsForQueryAction.Builder (6.62.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateDbPartitionsForQueryAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides

build()

public GenerateDbPartitionsForQueryAction build()
Returns
TypeDescription
GenerateDbPartitionsForQueryAction

buildPartial()

public GenerateDbPartitionsForQueryAction buildPartial()
Returns
TypeDescription
GenerateDbPartitionsForQueryAction

clear()

public GenerateDbPartitionsForQueryAction.Builder clear()
Returns
TypeDescription
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
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenerateDbPartitionsForQueryAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateDbPartitionsForQueryAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides

clearQuery()

public GenerateDbPartitionsForQueryAction.Builder clearQuery()

Query to generate partitions for.

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

Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

clone()

public GenerateDbPartitionsForQueryAction.Builder clone()
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides

getDefaultInstanceForType()

public GenerateDbPartitionsForQueryAction getDefaultInstanceForType()
Returns
TypeDescription
GenerateDbPartitionsForQueryAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
long

The desiredBytesPerPartition.

getQuery()

public QueryAction getQuery()

Query to generate partitions for.

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

Returns
TypeDescription
QueryAction

The query.

getQueryBuilder()

public QueryAction.Builder getQueryBuilder()

Query to generate partitions for.

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

Returns
TypeDescription
QueryAction.Builder

getQueryOrBuilder()

public QueryActionOrBuilder getQueryOrBuilder()

Query to generate partitions for.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the desiredBytesPerPartition field is set.

hasQuery()

public boolean hasQuery()

Query to generate partitions for.

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

Returns
TypeDescription
boolean

Whether the query field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateDbPartitionsForQueryAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GenerateDbPartitionsForQueryAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides

mergeFrom(GenerateDbPartitionsForQueryAction other)

public GenerateDbPartitionsForQueryAction.Builder mergeFrom(GenerateDbPartitionsForQueryAction other)
Parameter
NameDescription
otherGenerateDbPartitionsForQueryAction
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

mergeQuery(QueryAction value)

public GenerateDbPartitionsForQueryAction.Builder mergeQuery(QueryAction value)

Query to generate partitions for.

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

Parameter
NameDescription
valueQueryAction
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateDbPartitionsForQueryAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The desiredBytesPerPartition to set.

Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateDbPartitionsForQueryAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueQueryAction
Returns
TypeDescription
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
NameDescription
builderForValueQueryAction.Builder
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

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

public GenerateDbPartitionsForQueryAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateDbPartitionsForQueryAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides