All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.bigtable.v2.ExecuteQueryRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.47.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/bigtable/v2/bigtable.proto

// Protobuf Java Version: 3.25.3
package com.google.bigtable.v2;

public interface ExecuteQueryRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ExecuteQueryRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * 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) = { ... } * * * @return The instanceName. */ java.lang.String 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) = { ... } * * * @return The bytes for instanceName. */ com.google.protobuf.ByteString getInstanceNameBytes(); /** * * *
   * 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]; * * @return The appProfileId. */ java.lang.String 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]; * * @return The bytes for appProfileId. */ com.google.protobuf.ByteString getAppProfileIdBytes(); /** * * *
   * Required. The query string.
   * 
* * string query = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The query. */ java.lang.String getQuery(); /** * * *
   * Required. The query string.
   * 
* * string query = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for query. */ com.google.protobuf.ByteString getQueryBytes(); /** * * *
   * Protocol buffer format as described by ProtoSchema and ProtoRows
   * messages.
   * 
* * .google.bigtable.v2.ProtoFormat proto_format = 4; * * @return Whether the protoFormat field is set. */ boolean hasProtoFormat(); /** * * *
   * Protocol buffer format as described by ProtoSchema and ProtoRows
   * messages.
   * 
* * .google.bigtable.v2.ProtoFormat proto_format = 4; * * @return The protoFormat. */ com.google.bigtable.v2.ProtoFormat getProtoFormat(); /** * * *
   * Protocol buffer format as described by ProtoSchema and ProtoRows
   * messages.
   * 
* * .google.bigtable.v2.ProtoFormat proto_format = 4; */ com.google.bigtable.v2.ProtoFormatOrBuilder getProtoFormatOrBuilder(); /** * * *
   * 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]; * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** * * *
   * 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.
   *
   * In case of Value.kind is not set, it will be set to corresponding null
   * value in googlesql.
   *  `params["firstName"] =  type {string_type {}}`
   *  then `@firstName` will be replaced with googlesql null string.
   *
   * Value.type should always be set and no inference of type will be made from
   * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
   * error.
   * 
* * * map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; * */ int getParamsCount(); /** * * *
   * 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.
   *
   * In case of Value.kind is not set, it will be set to corresponding null
   * value in googlesql.
   *  `params["firstName"] =  type {string_type {}}`
   *  then `@firstName` will be replaced with googlesql null string.
   *
   * Value.type should always be set and no inference of type will be made from
   * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
   * error.
   * 
* * * map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; * */ boolean containsParams(java.lang.String key); /** Use {@link #getParamsMap()} instead. */ @java.lang.Deprecated java.util.Map getParams(); /** * * *
   * 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.
   *
   * In case of Value.kind is not set, it will be set to corresponding null
   * value in googlesql.
   *  `params["firstName"] =  type {string_type {}}`
   *  then `@firstName` will be replaced with googlesql null string.
   *
   * Value.type should always be set and no inference of type will be made from
   * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
   * error.
   * 
* * * map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; * */ java.util.Map 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.
   *
   * In case of Value.kind is not set, it will be set to corresponding null
   * value in googlesql.
   *  `params["firstName"] =  type {string_type {}}`
   *  then `@firstName` will be replaced with googlesql null string.
   *
   * Value.type should always be set and no inference of type will be made from
   * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
   * error.
   * 
* * * map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; * */ /* nullable */ com.google.bigtable.v2.Value getParamsOrDefault( java.lang.String key, /* nullable */ com.google.bigtable.v2.Value defaultValue); /** * * *
   * 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.
   *
   * In case of Value.kind is not set, it will be set to corresponding null
   * value in googlesql.
   *  `params["firstName"] =  type {string_type {}}`
   *  then `@firstName` will be replaced with googlesql null string.
   *
   * Value.type should always be set and no inference of type will be made from
   * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
   * error.
   * 
* * * map<string, .google.bigtable.v2.Value> params = 7 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.bigtable.v2.Value getParamsOrThrow(java.lang.String key); com.google.bigtable.v2.ExecuteQueryRequest.DataFormatCase getDataFormatCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy