public static final class GenerateDbPartitionsForReadAction.Builder extends GeneratedMessageV3.Builder<GenerateDbPartitionsForReadAction.Builder> implements GenerateDbPartitionsForReadActionOrBuilder
Generate database partitions for the given read. Successful outcomes will
contain database partitions in the db_partition field.
Protobuf type google.spanner.executor.v1.GenerateDbPartitionsForReadAction
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
public GenerateDbPartitionsForReadAction.Builder addAllTable(Iterable<? extends TableMetadata> values)
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.spanner.executor.v1.TableMetadata>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateDbPartitionsForReadAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GenerateDbPartitionsForReadAction.Builder addTable(TableMetadata value)
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
public GenerateDbPartitionsForReadAction.Builder addTable(TableMetadata.Builder builderForValue)
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
public GenerateDbPartitionsForReadAction.Builder addTable(int index, TableMetadata value)
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
public GenerateDbPartitionsForReadAction.Builder addTable(int index, TableMetadata.Builder builderForValue)
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
addTableBuilder()
public TableMetadata.Builder addTableBuilder()
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
addTableBuilder(int index)
public TableMetadata.Builder addTableBuilder(int index)
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Parameter |
Name |
Description |
index |
int
|
build()
public GenerateDbPartitionsForReadAction build()
buildPartial()
public GenerateDbPartitionsForReadAction buildPartial()
clear()
public GenerateDbPartitionsForReadAction.Builder clear()
Overrides
clearDesiredBytesPerPartition()
public GenerateDbPartitionsForReadAction.Builder clearDesiredBytesPerPartition()
Desired size of data in each partition. Spanner doesn't guarantee to
respect this value.
optional int64 desired_bytes_per_partition = 3;
clearField(Descriptors.FieldDescriptor field)
public GenerateDbPartitionsForReadAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaxPartitionCount()
public GenerateDbPartitionsForReadAction.Builder clearMaxPartitionCount()
If set, the desired max number of partitions. Spanner doesn't guarantee to
respect this value.
optional int64 max_partition_count = 4;