Class GenerateDbPartitionsForQueryAction (6.62.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
TypeDescription
int

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateDbPartitionsForQueryAction getDefaultInstance()
Returns
TypeDescription
GenerateDbPartitionsForQueryAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GenerateDbPartitionsForQueryAction.Builder newBuilder()
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

newBuilder(GenerateDbPartitionsForQueryAction prototype)

public static GenerateDbPartitionsForQueryAction.Builder newBuilder(GenerateDbPartitionsForQueryAction prototype)
Parameter
NameDescription
prototypeGenerateDbPartitionsForQueryAction
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

parseDelimitedFrom(InputStream input)

public static GenerateDbPartitionsForQueryAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenerateDbPartitionsForQueryAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateDbPartitionsForQueryAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateDbPartitionsForQueryAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenerateDbPartitionsForQueryAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenerateDbPartitionsForQueryAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateDbPartitionsForQueryAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateDbPartitionsForQueryAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenerateDbPartitionsForQueryAction> parser()
Returns
TypeDescription
Parser<GenerateDbPartitionsForQueryAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GenerateDbPartitionsForQueryAction getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
long

The desiredBytesPerPartition.

getParserForType()

public Parser<GenerateDbPartitionsForQueryAction> getParserForType()
Returns
TypeDescription
Parser<GenerateDbPartitionsForQueryAction>
Overrides

getQuery()

public QueryAction getQuery()

Query to generate partitions for.

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

Returns
TypeDescription
QueryAction

The query.

getQueryOrBuilder()

public QueryActionOrBuilder getQueryOrBuilder()

Query to generate partitions for.

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

Returns
TypeDescription
QueryActionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the desiredBytesPerPartition field is set.

hasQuery()

public boolean hasQuery()

Query to generate partitions for.

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

Returns
TypeDescription
boolean

Whether the query field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GenerateDbPartitionsForQueryAction.Builder newBuilderForType()
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateDbPartitionsForQueryAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GenerateDbPartitionsForQueryAction.Builder toBuilder()
Returns
TypeDescription
GenerateDbPartitionsForQueryAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException