Class GenerateDbPartitionsForQueryAction (6.66.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateDbPartitionsForQueryAction

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()
Returns
Type Description
GenerateDbPartitionsForQueryAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GenerateDbPartitionsForQueryAction.Builder newBuilder()
Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

newBuilder(GenerateDbPartitionsForQueryAction prototype)

public static GenerateDbPartitionsForQueryAction.Builder newBuilder(GenerateDbPartitionsForQueryAction prototype)
Parameter
Name Description
prototype GenerateDbPartitionsForQueryAction
Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

parseDelimitedFrom(InputStream input)

public static GenerateDbPartitionsForQueryAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateDbPartitionsForQueryAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateDbPartitionsForQueryAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateDbPartitionsForQueryAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateDbPartitionsForQueryAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateDbPartitionsForQueryAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateDbPartitionsForQueryAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateDbPartitionsForQueryAction> parser()
Returns
Type Description
Parser<GenerateDbPartitionsForQueryAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GenerateDbPartitionsForQueryAction getDefaultInstanceForType()
Returns
Type Description
GenerateDbPartitionsForQueryAction

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()
Returns
Type Description
Parser<GenerateDbPartitionsForQueryAction>
Overrides

getQuery()

public QueryAction getQuery()

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Returns
Type Description
QueryAction

The query.

getQueryOrBuilder()

public QueryActionOrBuilder getQueryOrBuilder()

Query to generate partitions for.

.google.spanner.executor.v1.QueryAction query = 1;

Returns
Type Description
QueryActionOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateDbPartitionsForQueryAction.Builder newBuilderForType()
Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateDbPartitionsForQueryAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GenerateDbPartitionsForQueryAction.Builder toBuilder()
Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException