com.google.datastore.v1.GqlQueryOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datastore-v1-protos Show documentation
Show all versions of datastore-v1-protos Show documentation
Protocol buffers for accessing the Google Cloud Datastore API.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/datastore/v1/query.proto
package com.google.datastore.v1;
public interface GqlQueryOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.datastore.v1.GqlQuery)
com.google.protobuf.MessageOrBuilder {
/**
*
* A string of the format described
* [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
*
*
* optional string query_string = 1;
*/
java.lang.String getQueryString();
/**
*
* A string of the format described
* [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
*
*
* optional string query_string = 1;
*/
com.google.protobuf.ByteString
getQueryStringBytes();
/**
*
* When false, the query string must not contain any literals and instead must
* bind all values. For example,
* `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while
* `SELECT * FROM Kind WHERE a = @value` is.
*
*
* optional bool allow_literals = 2;
*/
boolean getAllowLiterals();
/**
*
* For each non-reserved named binding site in the query string, there must be
* a named parameter with that name, but not necessarily the inverse.
* Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex
* `__.*__`, and must not be `""`.
*
*
* map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
*/
int getNamedBindingsCount();
/**
*
* For each non-reserved named binding site in the query string, there must be
* a named parameter with that name, but not necessarily the inverse.
* Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex
* `__.*__`, and must not be `""`.
*
*
* map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
*/
boolean containsNamedBindings(
java.lang.String key);
/**
* Use {@link #getNamedBindingsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getNamedBindings();
/**
*
* For each non-reserved named binding site in the query string, there must be
* a named parameter with that name, but not necessarily the inverse.
* Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex
* `__.*__`, and must not be `""`.
*
*
* map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
*/
java.util.Map
getNamedBindingsMap();
/**
*
* For each non-reserved named binding site in the query string, there must be
* a named parameter with that name, but not necessarily the inverse.
* Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex
* `__.*__`, and must not be `""`.
*
*
* map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
*/
com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
java.lang.String key,
com.google.datastore.v1.GqlQueryParameter defaultValue);
/**
*
* For each non-reserved named binding site in the query string, there must be
* a named parameter with that name, but not necessarily the inverse.
* Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex
* `__.*__`, and must not be `""`.
*
*
* map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
*/
com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
java.lang.String key);
/**
*
* Numbered binding site @1 references the first numbered parameter,
* effectively using 1-based indexing, rather than the usual 0.
* For each binding site numbered i in `query_string`, there must be an i-th
* numbered parameter. The inverse must also be true.
*
*
* repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
*/
java.util.List
getPositionalBindingsList();
/**
*
* Numbered binding site @1 references the first numbered parameter,
* effectively using 1-based indexing, rather than the usual 0.
* For each binding site numbered i in `query_string`, there must be an i-th
* numbered parameter. The inverse must also be true.
*
*
* repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
*/
com.google.datastore.v1.GqlQueryParameter getPositionalBindings(int index);
/**
*
* Numbered binding site @1 references the first numbered parameter,
* effectively using 1-based indexing, rather than the usual 0.
* For each binding site numbered i in `query_string`, there must be an i-th
* numbered parameter. The inverse must also be true.
*
*
* repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
*/
int getPositionalBindingsCount();
/**
*
* Numbered binding site @1 references the first numbered parameter,
* effectively using 1-based indexing, rather than the usual 0.
* For each binding site numbered i in `query_string`, there must be an i-th
* numbered parameter. The inverse must also be true.
*
*
* repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
*/
java.util.List extends com.google.datastore.v1.GqlQueryParameterOrBuilder>
getPositionalBindingsOrBuilderList();
/**
*
* Numbered binding site @1 references the first numbered parameter,
* effectively using 1-based indexing, rather than the usual 0.
* For each binding site numbered i in `query_string`, there must be an i-th
* numbered parameter. The inverse must also be true.
*
*
* repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
*/
com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsOrBuilder(
int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy