Package com.google.bigtable.v2
Class PrepareQueryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.Builder>
com.google.bigtable.v2.PrepareQueryRequest.Builder
- All Implemented Interfaces:
PrepareQueryRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PrepareQueryRequest
public static final class PrepareQueryRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.Builder>
implements PrepareQueryRequestOrBuilder
Request message for Bigtable.PrepareQueryProtobuf type
google.bigtable.v2.PrepareQueryRequest-
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) Protocol buffer format as described by ProtoSchema and ProtoRows messages.Required.clone()booleancontainsParamTypes(String key) Required.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Deprecated.Deprecated.intRequired.Required.getParamTypesOrDefault(String key, Type defaultValue) Required.Required.Protocol buffer format as described by ProtoSchema and ProtoRows messages.Protocol buffer format as described by ProtoSchema and ProtoRows messages.Protocol buffer format as described by ProtoSchema and ProtoRows messages.getQuery()Required.com.google.protobuf.ByteStringRequired.booleanProtocol buffer format as described by ProtoSchema and ProtoRows messages.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(PrepareQueryRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProtoFormat(ProtoFormat value) Protocol buffer format as described by ProtoSchema and ProtoRows messages.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllParamTypes(Map<String, Type> values) Required.putParamTypes(String key, Type value) Required.Required.removeParamTypes(String key) Required.setAppProfileId(String value) Optional.setAppProfileIdBytes(com.google.protobuf.ByteString value) Optional.setInstanceName(String value) Required.setInstanceNameBytes(com.google.protobuf.ByteString value) Required.setProtoFormat(ProtoFormat value) Protocol buffer format as described by ProtoSchema and ProtoRows messages.setProtoFormat(ProtoFormat.Builder builderForValue) Protocol buffer format as described by ProtoSchema and ProtoRows messages.Required.setQueryBytes(com.google.protobuf.ByteString value) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<PrepareQueryRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.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<PrepareQueryRequest.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<PrepareQueryRequest.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<PrepareQueryRequest.Builder>
-
setField
public PrepareQueryRequest.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<PrepareQueryRequest.Builder>
-
clearField
public PrepareQueryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.Builder>
-
clearOneof
public PrepareQueryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.Builder>
-
setRepeatedField
public PrepareQueryRequest.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<PrepareQueryRequest.Builder>
-
addRepeatedField
public PrepareQueryRequest.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<PrepareQueryRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrepareQueryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.Builder>
-
mergeFrom
public PrepareQueryRequest.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<PrepareQueryRequest.Builder>- Throws:
IOException
-
getDataFormatCase
- Specified by:
getDataFormatCasein interfacePrepareQueryRequestOrBuilder
-
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 interfacePrepareQueryRequestOrBuilder- 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 interfacePrepareQueryRequestOrBuilder- 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 preparing the query. Note that this `app_profile_id` is only used for preparing the query. The actual query execution will use the app profile specified in the `ExecuteQueryRequest`. If not specified, the `default` application profile will be used.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAppProfileIdin interfacePrepareQueryRequestOrBuilder- Returns:
- The appProfileId.
-
getAppProfileIdBytes
public com.google.protobuf.ByteString getAppProfileIdBytes()Optional. This value specifies routing for preparing the query. Note that this `app_profile_id` is only used for preparing the query. The actual query execution will use the app profile specified in the `ExecuteQueryRequest`. If not specified, the `default` application profile will be used.
string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAppProfileIdBytesin interfacePrepareQueryRequestOrBuilder- Returns:
- The bytes for appProfileId.
-
setAppProfileId
Optional. This value specifies routing for preparing the query. Note that this `app_profile_id` is only used for preparing the query. The actual query execution will use the app profile specified in the `ExecuteQueryRequest`. 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 preparing the query. Note that this `app_profile_id` is only used for preparing the query. The actual query execution will use the app profile specified in the `ExecuteQueryRequest`. 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 preparing the query. Note that this `app_profile_id` is only used for preparing the query. The actual query execution will use the app profile specified in the `ExecuteQueryRequest`. 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
Required. The query string.
string query = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQueryin interfacePrepareQueryRequestOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()Required. The query string.
string query = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQueryBytesin interfacePrepareQueryRequestOrBuilder- Returns:
- The bytes for query.
-
setQuery
Required. The query string.
string query = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The query to set.- Returns:
- This builder for chaining.
-
clearQuery
Required. The query string.
string query = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setQueryBytes
Required. The query string.
string query = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for query to set.- Returns:
- This builder for chaining.
-
hasProtoFormat
public boolean hasProtoFormat()Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4;- Specified by:
hasProtoFormatin interfacePrepareQueryRequestOrBuilder- Returns:
- Whether the protoFormat field is set.
-
getProtoFormat
Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4;- Specified by:
getProtoFormatin interfacePrepareQueryRequestOrBuilder- Returns:
- The protoFormat.
-
setProtoFormat
Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4; -
setProtoFormat
Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4; -
mergeProtoFormat
Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4; -
clearProtoFormat
Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4; -
getProtoFormatBuilder
Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4; -
getProtoFormatOrBuilder
Protocol buffer format as described by ProtoSchema and ProtoRows messages.
.google.bigtable.v2.ProtoFormat proto_format = 4;- Specified by:
getProtoFormatOrBuilderin interfacePrepareQueryRequestOrBuilder
-
getParamTypesCount
public int getParamTypesCount()Description copied from interface:PrepareQueryRequestOrBuilderRequired. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParamTypesCountin interfacePrepareQueryRequestOrBuilder
-
containsParamTypes
Required. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
containsParamTypesin interfacePrepareQueryRequestOrBuilder
-
getParamTypes
Deprecated.UsegetParamTypesMap()instead.- Specified by:
getParamTypesin interfacePrepareQueryRequestOrBuilder
-
getParamTypesMap
Required. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParamTypesMapin interfacePrepareQueryRequestOrBuilder
-
getParamTypesOrDefault
Required. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParamTypesOrDefaultin interfacePrepareQueryRequestOrBuilder
-
getParamTypesOrThrow
Required. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParamTypesOrThrowin interfacePrepareQueryRequestOrBuilder
-
clearParamTypes
-
removeParamTypes
Required. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED]; -
getMutableParamTypes
Deprecated.Use alternate mutation accessors instead. -
putParamTypes
Required. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED]; -
putAllParamTypes
Required. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED]; -
putParamTypesBuilderIfAbsent
Required. `param_types` is a map of parameter identifier strings to their `Type`s. 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 param_types["firstName"] = Bytes then @firstName will be a query parameter of type Bytes. The specific `Value` to be used for the query execution must be sent in `ExecuteQueryRequest` in the `params` map.
map<string, .google.bigtable.v2.Type> param_types = 6 [(.google.api.field_behavior) = REQUIRED]; -
setUnknownFields
public final PrepareQueryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.Builder>
-
mergeUnknownFields
public final PrepareQueryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryRequest.Builder>
-