public final class GenerateDbPartitionsForReadAction extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DESIRED_BYTES_PER_PARTITION_FIELD_NUMBER
public static final int DESIRED_BYTES_PER_PARTITION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAX_PARTITION_COUNT_FIELD_NUMBER
public static final int MAX_PARTITION_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
READ_FIELD_NUMBER
public static final int READ_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GenerateDbPartitionsForReadAction getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateDbPartitionsForReadAction.Builder newBuilder()
newBuilder(GenerateDbPartitionsForReadAction prototype)
public static GenerateDbPartitionsForReadAction.Builder newBuilder(GenerateDbPartitionsForReadAction prototype)
public static GenerateDbPartitionsForReadAction parseDelimitedFrom(InputStream input)
public static GenerateDbPartitionsForReadAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateDbPartitionsForReadAction parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForReadAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateDbPartitionsForReadAction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForReadAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForReadAction parseFrom(CodedInputStream input)
public static GenerateDbPartitionsForReadAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForReadAction parseFrom(InputStream input)
public static GenerateDbPartitionsForReadAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateDbPartitionsForReadAction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForReadAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateDbPartitionsForReadAction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GenerateDbPartitionsForReadAction getDefaultInstanceForType()
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 = 3;
Returns |
---|
Type | Description |
long | The desiredBytesPerPartition.
|
getMaxPartitionCount()
public long getMaxPartitionCount()
If set, the desired max number of partitions. Spanner doesn't guarantee to
respect this value.
optional int64 max_partition_count = 4;
Returns |
---|
Type | Description |
long | The maxPartitionCount.
|
getParserForType()
public Parser<GenerateDbPartitionsForReadAction> getParserForType()
Overrides
getRead()
public ReadAction getRead()
Read to generate partitions for.
.google.spanner.executor.v1.ReadAction read = 1;
getReadOrBuilder()
public ReadActionOrBuilder getReadOrBuilder()
Read to generate partitions for.
.google.spanner.executor.v1.ReadAction read = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTable(int index)
public TableMetadata getTable(int index)
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Parameter |
---|
Name | Description |
index | int
|
getTableCount()
public int getTableCount()
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Returns |
---|
Type | Description |
int | |
getTableList()
public List<TableMetadata> getTableList()
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
getTableOrBuilder(int index)
public TableMetadataOrBuilder getTableOrBuilder(int index)
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Parameter |
---|
Name | Description |
index | int
|
getTableOrBuilderList()
public List<? extends TableMetadataOrBuilder> getTableOrBuilderList()
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Returns |
---|
Type | Description |
List<? extends com.google.spanner.executor.v1.TableMetadataOrBuilder> | |
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 = 3;
Returns |
---|
Type | Description |
boolean | Whether the desiredBytesPerPartition field is set.
|
hasMaxPartitionCount()
public boolean hasMaxPartitionCount()
If set, the desired max number of partitions. Spanner doesn't guarantee to
respect this value.
optional int64 max_partition_count = 4;
Returns |
---|
Type | Description |
boolean | Whether the maxPartitionCount field is set.
|
hasRead()
Read to generate partitions for.
.google.spanner.executor.v1.ReadAction read = 1;
Returns |
---|
Type | Description |
boolean | Whether the read field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateDbPartitionsForReadAction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateDbPartitionsForReadAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GenerateDbPartitionsForReadAction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides