Package com.google.datastore.v1
Interface RunQueryRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunQueryRequest
,RunQueryRequest.Builder
public interface RunQueryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the database against which to make the request.com.google.protobuf.ByteString
The ID of the database against which to make the request.The GQL query to run.The GQL query to run.Entities are partitioned into subsets, identified by a partition ID.Entities are partitioned into subsets, identified by a partition ID.Required.com.google.protobuf.ByteString
Required.getQuery()
The query to run.The query to run.The options for this query.The options for this query.boolean
The GQL query to run.boolean
Entities are partitioned into subsets, identified by a partition ID.boolean
hasQuery()
The query to run.boolean
The options for this query.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
String getProjectId()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for projectId.
-
getDatabaseId
String getDatabaseId()The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
- Returns:
- The databaseId.
-
getDatabaseIdBytes
com.google.protobuf.ByteString getDatabaseIdBytes()The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
- Returns:
- The bytes for databaseId.
-
hasPartitionId
boolean hasPartitionId()Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
.google.datastore.v1.PartitionId partition_id = 2;
- Returns:
- Whether the partitionId field is set.
-
getPartitionId
PartitionId getPartitionId()Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
.google.datastore.v1.PartitionId partition_id = 2;
- Returns:
- The partitionId.
-
getPartitionIdOrBuilder
PartitionIdOrBuilder getPartitionIdOrBuilder()Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
.google.datastore.v1.PartitionId partition_id = 2;
-
hasReadOptions
boolean hasReadOptions()The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
- Returns:
- Whether the readOptions field is set.
-
getReadOptions
ReadOptions getReadOptions()The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
- Returns:
- The readOptions.
-
getReadOptionsOrBuilder
ReadOptionsOrBuilder getReadOptionsOrBuilder()The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
-
hasQuery
boolean hasQuery()The query to run.
.google.datastore.v1.Query query = 3;
- Returns:
- Whether the query field is set.
-
getQuery
Query getQuery()The query to run.
.google.datastore.v1.Query query = 3;
- Returns:
- The query.
-
getQueryOrBuilder
QueryOrBuilder getQueryOrBuilder()The query to run.
.google.datastore.v1.Query query = 3;
-
hasGqlQuery
boolean hasGqlQuery()The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
- Returns:
- Whether the gqlQuery field is set.
-
getGqlQuery
GqlQuery getGqlQuery()The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
- Returns:
- The gqlQuery.
-
getGqlQueryOrBuilder
GqlQueryOrBuilder getGqlQueryOrBuilder()The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
-
getQueryTypeCase
RunQueryRequest.QueryTypeCase getQueryTypeCase()
-