Class QueryAction (6.77.0)

public final class QueryAction extends GeneratedMessageV3 implements QueryActionOrBuilder

A SQL query request.

Protobuf type google.spanner.executor.v1.QueryAction

Static Fields

PARAMS_FIELD_NUMBER

public static final int PARAMS_FIELD_NUMBER
Field Value
Type Description
int

SQL_FIELD_NUMBER

public static final int SQL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueryAction getDefaultInstance()
Returns
Type Description
QueryAction

getDescriptor()

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

newBuilder()

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

newBuilder(QueryAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public QueryAction getDefaultInstanceForType()
Returns
Type Description
QueryAction

getParams(int index)

public QueryAction.Parameter getParams(int index)

Parameters for the SQL string.

repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;

Parameter
Name Description
index int
Returns
Type Description
QueryAction.Parameter

getParamsCount()

public int getParamsCount()

Parameters for the SQL string.

repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;

Returns
Type Description
int

getParamsList()

public List<QueryAction.Parameter> getParamsList()

Parameters for the SQL string.

repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;

Returns
Type Description
List<Parameter>

getParamsOrBuilder(int index)

public QueryAction.ParameterOrBuilder getParamsOrBuilder(int index)

Parameters for the SQL string.

repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;

Parameter
Name Description
index int
Returns
Type Description
QueryAction.ParameterOrBuilder

getParamsOrBuilderList()

public List<? extends QueryAction.ParameterOrBuilder> getParamsOrBuilderList()

Parameters for the SQL string.

repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder>

getParserForType()

public Parser<QueryAction> getParserForType()
Returns
Type Description
Parser<QueryAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSql()

public String getSql()

The SQL string.

string sql = 1;

Returns
Type Description
String

The sql.

getSqlBytes()

public ByteString getSqlBytes()

The SQL string.

string sql = 1;

Returns
Type Description
ByteString

The bytes for sql.

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 QueryAction.Builder newBuilderForType()
Returns
Type Description
QueryAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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