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

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateDbPartitionsForQueryAction getDefaultInstance()

getDescriptor()

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

newBuilder()

public static GenerateDbPartitionsForQueryAction.Builder newBuilder()

newBuilder(GenerateDbPartitionsForQueryAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<GenerateDbPartitionsForQueryAction> parser()

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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;

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public GenerateDbPartitionsForQueryAction.Builder toBuilder()

writeTo(CodedOutputStream output)

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