Package com.google.bigtable.v2
Class ExecuteQueryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
com.google.bigtable.v2.ExecuteQueryRequest.Builder
- All Implemented Interfaces:
ExecuteQueryRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExecuteQueryRequest
public static final class ExecuteQueryRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
implements ExecuteQueryRequestOrBuilder
Request message for Bigtable.ExecuteQueryProtobuf type
google.bigtable.v2.ExecuteQueryRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A prepared query that was returned from `PrepareQueryResponse`.Deprecated.Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated.Optional.clone()booleancontainsParams(String key) Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Deprecated.Deprecated.intRequired. params contains string type keys and Bigtable type values that bind to placeholders in the query string.Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string.getParamsOrDefault(String key, Value defaultValue) Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string.getParamsOrThrow(String key) Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string.com.google.protobuf.ByteStringA prepared query that was returned from `PrepareQueryResponse`.Deprecated.google.bigtable.v2.ExecuteQueryRequest.proto_format is deprecated.Deprecated.Deprecated.getQuery()Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated.com.google.protobuf.ByteStringDeprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated.com.google.protobuf.ByteStringOptional.booleanDeprecated.google.bigtable.v2.ExecuteQueryRequest.proto_format is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(ExecuteQueryRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProtoFormat(ProtoFormat value) Deprecated.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllParams(Map<String, Value> values) Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string.Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string.Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string.removeParams(String key) Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string.setAppProfileId(String value) Optional.setAppProfileIdBytes(com.google.protobuf.ByteString value) Optional.setInstanceName(String value) Required.setInstanceNameBytes(com.google.protobuf.ByteString value) Required.setPreparedQuery(com.google.protobuf.ByteString value) A prepared query that was returned from `PrepareQueryResponse`.setProtoFormat(ProtoFormat value) Deprecated.setProtoFormat(ProtoFormat.Builder builderForValue) Deprecated.Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated.setQueryBytes(com.google.protobuf.ByteString value) Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResumeToken(com.google.protobuf.ByteString value) Optional.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
setField
public ExecuteQueryRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
clearField
public ExecuteQueryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
clearOneof
public ExecuteQueryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
setRepeatedField
public ExecuteQueryRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
addRepeatedField
public ExecuteQueryRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecuteQueryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
mergeFrom
public ExecuteQueryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecuteQueryRequest.Builder>- Throws:
IOException
-
getDataFormatCase
- Specified by:
getDataFormatCasein interfaceExecuteQueryRequestOrBuilder
-
clearDataFormat
-
getInstanceName
Required. The unique name of the instance against which the query should be executed. Values are of the form `projects/<project>/instances/<instance>`
string instance_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getInstanceNamein interfaceExecuteQueryRequestOrBuilder- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()Required. The unique name of the instance against which the query should be executed. Values are of the form `projects/<project>/instances/<instance>`
string instance_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getInstanceNameBytesin interfaceExecuteQueryRequestOrBuilder- Returns:
- The bytes for instanceName.
-
setInstanceName
Required. The unique name of the instance against which the query should be executed. Values are of the form `projects/<project>/instances/<instance>`
string instance_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The instanceName to set.- Returns:
- This builder for chaining.
-
clearInstanceName
Required. The unique name of the instance against which the query should be executed. Values are of the form `projects/<project>/instances/<instance>`
string instance_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setInstanceNameBytes
Required. The unique name of the instance against which the query should be executed. Values are of the form `projects/<project>/instances/<instance>`
string instance_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for instanceName to set.- Returns:
- This builder for chaining.
-
getAppProfileId
Optional. This value specifies routing for replication. If not specified, the `default` application profile will be used.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAppProfileIdin interfaceExecuteQueryRequestOrBuilder- Returns:
- The appProfileId.
-
getAppProfileIdBytes
public com.google.protobuf.ByteString getAppProfileIdBytes()Optional. This value specifies routing for replication. If not specified, the `default` application profile will be used.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAppProfileIdBytesin interfaceExecuteQueryRequestOrBuilder- Returns:
- The bytes for appProfileId.
-
setAppProfileId
Optional. This value specifies routing for replication. If not specified, the `default` application profile will be used.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The appProfileId to set.- Returns:
- This builder for chaining.
-
clearAppProfileId
Optional. This value specifies routing for replication. If not specified, the `default` application profile will be used.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setAppProfileIdBytes
Optional. This value specifies routing for replication. If not specified, the `default` application profile will be used.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for appProfileId to set.- Returns:
- This builder for chaining.
-
getQuery
Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated. See google/bigtable/v2/bigtable.proto;l=1086Required. The query string. Exactly one of `query` and `prepared_query` is required. Setting both or neither is an `INVALID_ARGUMENT`.
string query = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];- Specified by:
getQueryin interfaceExecuteQueryRequestOrBuilder- Returns:
- The query.
-
getQueryBytes
Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated. See google/bigtable/v2/bigtable.proto;l=1086Required. The query string. Exactly one of `query` and `prepared_query` is required. Setting both or neither is an `INVALID_ARGUMENT`.
string query = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];- Specified by:
getQueryBytesin interfaceExecuteQueryRequestOrBuilder- Returns:
- The bytes for query.
-
setQuery
Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated. See google/bigtable/v2/bigtable.proto;l=1086Required. The query string. Exactly one of `query` and `prepared_query` is required. Setting both or neither is an `INVALID_ARGUMENT`.
string query = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];- Parameters:
value- The query to set.- Returns:
- This builder for chaining.
-
clearQuery
Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated. See google/bigtable/v2/bigtable.proto;l=1086Required. The query string. Exactly one of `query` and `prepared_query` is required. Setting both or neither is an `INVALID_ARGUMENT`.
string query = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setQueryBytes
Deprecated.google.bigtable.v2.ExecuteQueryRequest.query is deprecated. See google/bigtable/v2/bigtable.proto;l=1086Required. The query string. Exactly one of `query` and `prepared_query` is required. Setting both or neither is an `INVALID_ARGUMENT`.
string query = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for query to set.- Returns:
- This builder for chaining.
-
getPreparedQuery
public com.google.protobuf.ByteString getPreparedQuery()A prepared query that was returned from `PrepareQueryResponse`. Exactly one of `query` and `prepared_query` is required. Setting both or neither is an `INVALID_ARGUMENT`. Setting this field also places restrictions on several other fields: - `data_format` must be empty. - `validate_only` must be false. - `params` must match the `param_types` set in the `PrepareQueryRequest`.
bytes prepared_query = 9;- Specified by:
getPreparedQueryin interfaceExecuteQueryRequestOrBuilder- Returns:
- The preparedQuery.
-
setPreparedQuery
A prepared query that was returned from `PrepareQueryResponse`. Exactly one of `query` and `prepared_query` is required. Setting both or neither is an `INVALID_ARGUMENT`. Setting this field also places restrictions on several other fields: - `data_format` must be empty. - `validate_only` must be false. - `params` must match the `param_types` set in the `PrepareQueryRequest`.
bytes prepared_query = 9;- Parameters:
value- The preparedQuery to set.- Returns:
- This builder for chaining.
-
clearPreparedQuery
A prepared query that was returned from `PrepareQueryResponse`. Exactly one of `query` and `prepared_query` is required. Setting both or neither is an `INVALID_ARGUMENT`. Setting this field also places restrictions on several other fields: - `data_format` must be empty. - `validate_only` must be false. - `params` must match the `param_types` set in the `PrepareQueryRequest`.
bytes prepared_query = 9;- Returns:
- This builder for chaining.
-
hasProtoFormat
Deprecated.google.bigtable.v2.ExecuteQueryRequest.proto_format is deprecated. See google/bigtable/v2/bigtable.proto;l=1107Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4 [deprecated = true];- Specified by:
hasProtoFormatin interfaceExecuteQueryRequestOrBuilder- Returns:
- Whether the protoFormat field is set.
-
getProtoFormat
Deprecated.google.bigtable.v2.ExecuteQueryRequest.proto_format is deprecated. See google/bigtable/v2/bigtable.proto;l=1107Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4 [deprecated = true];- Specified by:
getProtoFormatin interfaceExecuteQueryRequestOrBuilder- Returns:
- The protoFormat.
-
setProtoFormat
Deprecated.Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4 [deprecated = true]; -
setProtoFormat
Deprecated.Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4 [deprecated = true]; -
mergeProtoFormat
Deprecated.Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4 [deprecated = true]; -
clearProtoFormat
Deprecated.Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4 [deprecated = true]; -
getProtoFormatBuilder
Deprecated.Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4 [deprecated = true]; -
getProtoFormatOrBuilder
Deprecated.Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4 [deprecated = true];- Specified by:
getProtoFormatOrBuilderin interfaceExecuteQueryRequestOrBuilder
-
getResumeToken
public com.google.protobuf.ByteString getResumeToken()Optional. If this request is resuming a previously interrupted query execution, `resume_token` should be copied from the last PartialResultSet yielded before the interruption. Doing this enables the query execution to resume where the last one left off. The rest of the request parameters must exactly match the request that yielded this token. Otherwise the request will fail.
bytes resume_token = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResumeTokenin interfaceExecuteQueryRequestOrBuilder- Returns:
- The resumeToken.
-
setResumeToken
Optional. If this request is resuming a previously interrupted query execution, `resume_token` should be copied from the last PartialResultSet yielded before the interruption. Doing this enables the query execution to resume where the last one left off. The rest of the request parameters must exactly match the request that yielded this token. Otherwise the request will fail.
bytes resume_token = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The resumeToken to set.- Returns:
- This builder for chaining.
-
clearResumeToken
Optional. If this request is resuming a previously interrupted query execution, `resume_token` should be copied from the last PartialResultSet yielded before the interruption. Doing this enables the query execution to resume where the last one left off. The rest of the request parameters must exactly match the request that yielded this token. Otherwise the request will fail.
bytes resume_token = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getParamsCount
public int getParamsCount()Description copied from interface:ExecuteQueryRequestOrBuilderRequired. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParamsCountin interfaceExecuteQueryRequestOrBuilder
-
containsParams
Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
containsParamsin interfaceExecuteQueryRequestOrBuilder
-
getParams
Deprecated.UsegetParamsMap()instead.- Specified by:
getParamsin interfaceExecuteQueryRequestOrBuilder
-
getParamsMap
Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParamsMapin interfaceExecuteQueryRequestOrBuilder
-
getParamsOrDefault
Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParamsOrDefaultin interfaceExecuteQueryRequestOrBuilder
-
getParamsOrThrow
Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParamsOrThrowin interfaceExecuteQueryRequestOrBuilder
-
clearParams
-
removeParams
Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; -
getMutableParams
Deprecated.Use alternate mutation accessors instead. -
putParams
Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; -
putAllParams
Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; -
putParamsBuilderIfAbsent
Required. params contains string type keys and Bigtable type values that bind to placeholders in the query string. In query string, a parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`) in the query string. For example, if `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` then `@firstName` will be replaced with googlesql bytes value "foo" in the query string during query evaluation. If `Value.kind` is not set, the value is treated as a NULL value of the given type. For example, if `params["firstName"] = type {string_type {}}` then `@firstName` will be replaced with googlesql null string. If `query` is set, any empty `Value.type` in the map will be rejected with `INVALID_ARGUMENT`. If `prepared_query` is set, any empty `Value.type` in the map will be inferred from the `param_types` in the `PrepareQueryRequest`. Any non-empty `Value.type` must match the corresponding `param_types` entry, or be rejected with `INVALID_ARGUMENT`.map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; -
setUnknownFields
public final ExecuteQueryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-
mergeUnknownFields
public final ExecuteQueryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteQueryRequest.Builder>
-