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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateDbPartitionsForQueryAction.BuilderImplements
GenerateDbPartitionsForQueryActionOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateDbPartitionsForQueryAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateDbPartitionsForQueryAction.Builder |
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 |
getDefaultInstanceForType()
public GenerateDbPartitionsForQueryAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateDbPartitionsForQueryAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |