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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateDbPartitionsForQueryAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerateDbPartitionsForQueryAction build()
buildPartial()
public GenerateDbPartitionsForQueryAction buildPartial()
clear()
public GenerateDbPartitionsForQueryAction.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public GenerateDbPartitionsForQueryAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateDbPartitionsForQueryAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearQuery()
public GenerateDbPartitionsForQueryAction.Builder clearQuery()
Query to generate partitions for.
.google.spanner.executor.v1.QueryAction query = 1;
clone()
public GenerateDbPartitionsForQueryAction.Builder clone()
Overrides
getDefaultInstanceForType()
public GenerateDbPartitionsForQueryAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getQueryBuilder()
public QueryAction.Builder getQueryBuilder()
Query to generate partitions for.
.google.spanner.executor.v1.QueryAction query = 1;
getQueryOrBuilder()
public QueryActionOrBuilder getQueryOrBuilder()
Query to generate partitions for.
.google.spanner.executor.v1.QueryAction query = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public GenerateDbPartitionsForQueryAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateDbPartitionsForQueryAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(GenerateDbPartitionsForQueryAction other)
public GenerateDbPartitionsForQueryAction.Builder mergeFrom(GenerateDbPartitionsForQueryAction other)
mergeQuery(QueryAction value)
public GenerateDbPartitionsForQueryAction.Builder mergeQuery(QueryAction value)
Query to generate partitions for.
.google.spanner.executor.v1.QueryAction query = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateDbPartitionsForQueryAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateDbPartitionsForQueryAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setQuery(QueryAction value)
public GenerateDbPartitionsForQueryAction.Builder setQuery(QueryAction value)
Query to generate partitions for.
.google.spanner.executor.v1.QueryAction query = 1;
setQuery(QueryAction.Builder builderForValue)
public GenerateDbPartitionsForQueryAction.Builder setQuery(QueryAction.Builder builderForValue)
Query to generate partitions for.
.google.spanner.executor.v1.QueryAction query = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateDbPartitionsForQueryAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateDbPartitionsForQueryAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides