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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDatabaseId()
The ID of the database against which to make the request.com.google.protobuf.ByteString
getDatabaseIdBytes()
The ID of the database against which to make the request.GqlQuery
getGqlQuery()
The GQL query to run.GqlQueryOrBuilder
getGqlQueryOrBuilder()
The GQL query to run.PartitionId
getPartitionId()
Entities are partitioned into subsets, identified by a partition ID.PartitionIdOrBuilder
getPartitionIdOrBuilder()
Entities are partitioned into subsets, identified by a partition ID.String
getProjectId()
Required.com.google.protobuf.ByteString
getProjectIdBytes()
Required.Query
getQuery()
The query to run.QueryOrBuilder
getQueryOrBuilder()
The query to run.RunQueryRequest.QueryTypeCase
getQueryTypeCase()
ReadOptions
getReadOptions()
The options for this query.ReadOptionsOrBuilder
getReadOptionsOrBuilder()
The options for this query.boolean
hasGqlQuery()
The GQL query to run.boolean
hasPartitionId()
Entities are partitioned into subsets, identified by a partition ID.boolean
hasQuery()
The query to run.boolean
hasReadOptions()
The options for this query.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-