Package com.google.datastore.v1
Interface RunAggregationQueryRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunAggregationQueryRequest,RunAggregationQueryRequest.Builder
public interface RunAggregationQueryRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregationQuerygetAggregationQuery()The query to run.AggregationQueryOrBuildergetAggregationQueryOrBuilder()The query to run.StringgetDatabaseId()The ID of the database against which to make the request.com.google.protobuf.ByteStringgetDatabaseIdBytes()The ID of the database against which to make the request.GqlQuerygetGqlQuery()The GQL query to run.GqlQueryOrBuildergetGqlQueryOrBuilder()The GQL query to run.PartitionIdgetPartitionId()Entities are partitioned into subsets, identified by a partition ID.PartitionIdOrBuildergetPartitionIdOrBuilder()Entities are partitioned into subsets, identified by a partition ID.StringgetProjectId()Required.com.google.protobuf.ByteStringgetProjectIdBytes()Required.RunAggregationQueryRequest.QueryTypeCasegetQueryTypeCase()ReadOptionsgetReadOptions()The options for this query.ReadOptionsOrBuildergetReadOptionsOrBuilder()The options for this query.booleanhasAggregationQuery()The query to run.booleanhasGqlQuery()The GQL query to run.booleanhasPartitionId()Entities are partitioned into subsets, identified by a partition ID.booleanhasReadOptions()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;
-
hasAggregationQuery
boolean hasAggregationQuery()
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;- Returns:
- Whether the aggregationQuery field is set.
-
getAggregationQuery
AggregationQuery getAggregationQuery()
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;- Returns:
- The aggregationQuery.
-
getAggregationQueryOrBuilder
AggregationQueryOrBuilder getAggregationQueryOrBuilder()
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
-
hasGqlQuery
boolean hasGqlQuery()
The GQL query to run. This query must be an 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 an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;- Returns:
- The gqlQuery.
-
getGqlQueryOrBuilder
GqlQueryOrBuilder getGqlQueryOrBuilder()
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
-
getQueryTypeCase
RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase()
-
-