public final class QueryAction extends GeneratedMessageV3 implements QueryActionOrBuilder
A SQL query request.
Protobuf type google.spanner.executor.v1.QueryAction
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static QueryAction.Builder newBuilder()
newBuilder(QueryAction prototype)
public static QueryAction.Builder newBuilder(QueryAction prototype)
public static QueryAction parseDelimitedFrom(InputStream input)
public static QueryAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static QueryAction parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueryAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static QueryAction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueryAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueryAction parseFrom(CodedInputStream input)
public static QueryAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryAction parseFrom(InputStream input)
public static QueryAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static QueryAction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueryAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<QueryAction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public QueryAction getDefaultInstanceForType()
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
|
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;
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
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public QueryAction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueryAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public QueryAction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides