Send feedback
Class QueryAction.Builder (6.72.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.72.0 keyboard_arrow_down
public static final class QueryAction . Builder extends GeneratedMessageV3 . Builder<QueryAction . Builder > implements QueryActionOrBuilder
A SQL query request.
Protobuf type google.spanner.executor.v1.QueryAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllParams(Iterable<? extends QueryAction.Parameter> values)
public QueryAction . Builder addAllParams ( Iterable <? extends QueryAction . Parameter > values )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
Parameter
Name
Description
values
Iterable <? extends com.google.spanner.executor.v1.QueryAction.Parameter >
addParams(QueryAction.Parameter value)
public QueryAction . Builder addParams ( QueryAction . Parameter value )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
addParams(QueryAction.Parameter.Builder builderForValue)
public QueryAction . Builder addParams ( QueryAction . Parameter . Builder builderForValue )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
addParams(int index, QueryAction.Parameter value)
public QueryAction . Builder addParams ( int index , QueryAction . Parameter value )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
addParams(int index, QueryAction.Parameter.Builder builderForValue)
public QueryAction . Builder addParams ( int index , QueryAction . Parameter . Builder builderForValue )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
addParamsBuilder()
public QueryAction . Parameter . Builder addParamsBuilder ()
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
addParamsBuilder(int index)
public QueryAction . Parameter . Builder addParamsBuilder ( int index )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryAction . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public QueryAction build ()
buildPartial()
public QueryAction buildPartial ()
clear()
public QueryAction . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryAction . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryAction . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearParams()
public QueryAction . Builder clearParams ()
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
clearSql()
public QueryAction . Builder clearSql ()
The SQL string.
string sql = 1;
clone()
public QueryAction . Builder clone ()
Overrides
getDefaultInstanceForType()
public QueryAction getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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
getParamsBuilder(int index)
public QueryAction . Parameter . Builder getParamsBuilder ( int index )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
Parameter
Name
Description
index
int
getParamsBuilderList()
public List<QueryAction . Parameter . Builder > getParamsBuilderList ()
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
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 >
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public QueryAction . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public QueryAction . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(QueryAction other)
public QueryAction . Builder mergeFrom ( QueryAction other )
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryAction . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeParams(int index)
public QueryAction . Builder removeParams ( int index )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public QueryAction . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setParams(int index, QueryAction.Parameter value)
public QueryAction . Builder setParams ( int index , QueryAction . Parameter value )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
setParams(int index, QueryAction.Parameter.Builder builderForValue)
public QueryAction . Builder setParams ( int index , QueryAction . Parameter . Builder builderForValue )
Parameters for the SQL string.
repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryAction . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSql(String value)
public QueryAction . Builder setSql ( String value )
The SQL string.
string sql = 1;
Parameter
Name
Description
value
String
The sql to set.
setSqlBytes(ByteString value)
public QueryAction . Builder setSqlBytes ( ByteString value )
The SQL string.
string sql = 1;
Parameter
Name
Description
value
ByteString
The bytes for sql to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryAction . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]