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.ByteStringThe ID of the database against which to make the request.Optional.Optional.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.ByteStringRequired.The properties to return.The properties to return.getQuery()The query to run.The query to run.The options for this query.The options for this query.booleanOptional.booleanThe GQL query to run.booleanEntities are partitioned into subsets, identified by a partition ID.booleanThe properties to return.booleanhasQuery()The query to run.booleanThe options for this query.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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; -
hasPropertyMask
boolean hasPropertyMask()The properties to return. This field must not be set for a projection query. See [LookupRequest.property_mask][google.datastore.v1.LookupRequest.property_mask].
.google.datastore.v1.PropertyMask property_mask = 10;- Returns:
- Whether the propertyMask field is set.
-
getPropertyMask
PropertyMask getPropertyMask()The properties to return. This field must not be set for a projection query. See [LookupRequest.property_mask][google.datastore.v1.LookupRequest.property_mask].
.google.datastore.v1.PropertyMask property_mask = 10;- Returns:
- The propertyMask.
-
getPropertyMaskOrBuilder
PropertyMaskOrBuilder getPropertyMaskOrBuilder()The properties to return. This field must not be set for a projection query. See [LookupRequest.property_mask][google.datastore.v1.LookupRequest.property_mask].
.google.datastore.v1.PropertyMask property_mask = 10; -
hasExplainOptions
boolean hasExplainOptions()Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
.google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the explainOptions field is set.
-
getExplainOptions
ExplainOptions getExplainOptions()Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
.google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The explainOptions.
-
getExplainOptionsOrBuilder
ExplainOptionsOrBuilder getExplainOptionsOrBuilder()Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
.google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getQueryTypeCase
RunQueryRequest.QueryTypeCase getQueryTypeCase()
-