public final class GenerateDbPartitionsForQueryAction extends GeneratedMessageV3 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.<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 |
|
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateDbPartitionsForQueryAction getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateDbPartitionsForQueryAction.Builder newBuilder()
newBuilder(GenerateDbPartitionsForQueryAction prototype)
public static GenerateDbPartitionsForQueryAction.Builder newBuilder(GenerateDbPartitionsForQueryAction prototype)
public static GenerateDbPartitionsForQueryAction parseDelimitedFrom(InputStream input)
public static GenerateDbPartitionsForQueryAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateDbPartitionsForQueryAction parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForQueryAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateDbPartitionsForQueryAction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForQueryAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForQueryAction parseFrom(CodedInputStream input)
public static GenerateDbPartitionsForQueryAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForQueryAction parseFrom(InputStream input)
public static GenerateDbPartitionsForQueryAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateDbPartitionsForQueryAction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateDbPartitionsForQueryAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateDbPartitionsForQueryAction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public GenerateDbPartitionsForQueryAction 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 = 2;
Returns |
Type |
Description |
long |
The desiredBytesPerPartition.
|
getParserForType()
public Parser<GenerateDbPartitionsForQueryAction> getParserForType()
Overrides
getQuery()
public QueryAction getQuery()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateDbPartitionsForQueryAction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateDbPartitionsForQueryAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GenerateDbPartitionsForQueryAction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides