Package com.google.datastore.v1
Class RunAggregationQueryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
com.google.datastore.v1.RunAggregationQueryRequest.Builder
- All Implemented Interfaces:
RunAggregationQueryRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RunAggregationQueryRequest
public static final class RunAggregationQueryRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
implements RunAggregationQueryRequestOrBuilder
The request for [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].Protobuf type
google.datastore.v1.RunAggregationQueryRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The query to run.The ID of the database against which to make the request.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The GQL query to run.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Entities are partitioned into subsets, identified by a partition ID.Required.The options for this query.clone()The query to run.The query to run.The query to run.The ID of the database against which to make the request.com.google.protobuf.ByteStringThe ID of the database against which to make the request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe GQL query to run.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.Entities are partitioned into subsets, identified by a partition ID.Required.com.google.protobuf.ByteStringRequired.The options for this query.The options for this query.The options for this query.booleanThe query to run.booleanThe GQL query to run.booleanEntities are partitioned into subsets, identified by a partition ID.booleanThe options for this query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe query to run.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGqlQuery(GqlQuery value) The GQL query to run.mergePartitionId(PartitionId value) Entities are partitioned into subsets, identified by a partition ID.mergeReadOptions(ReadOptions value) The options for this query.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The query to run.setAggregationQuery(AggregationQuery.Builder builderForValue) The query to run.setDatabaseId(String value) The ID of the database against which to make the request.setDatabaseIdBytes(com.google.protobuf.ByteString value) The ID of the database against which to make the request.setGqlQuery(GqlQuery value) The GQL query to run.setGqlQuery(GqlQuery.Builder builderForValue) The GQL query to run.setPartitionId(PartitionId value) Entities are partitioned into subsets, identified by a partition ID.setPartitionId(PartitionId.Builder builderForValue) Entities are partitioned into subsets, identified by a partition ID.setProjectId(String value) Required.setProjectIdBytes(com.google.protobuf.ByteString value) Required.setReadOptions(ReadOptions value) The options for this query.setReadOptions(ReadOptions.Builder builderForValue) The options for this query.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
setField
public RunAggregationQueryRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
clearField
public RunAggregationQueryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
clearOneof
public RunAggregationQueryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
setRepeatedField
public RunAggregationQueryRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
addRepeatedField
public RunAggregationQueryRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RunAggregationQueryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
mergeFrom
public RunAggregationQueryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RunAggregationQueryRequest.Builder>- Throws:
IOException
-
getQueryTypeCase
- Specified by:
getQueryTypeCasein interfaceRunAggregationQueryRequestOrBuilder
-
clearQueryType
-
getProjectId
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectIdin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public 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];- Specified by:
getProjectIdBytesin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setProjectIdBytes
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDatabaseIdin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- The databaseId.
-
getDatabaseIdBytes
public 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;- Specified by:
getDatabaseIdBytesin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- The bytes for databaseId.
-
setDatabaseId
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;- Parameters:
value- The databaseId to set.- Returns:
- This builder for chaining.
-
clearDatabaseId
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:
- This builder for chaining.
-
setDatabaseIdBytes
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;- Parameters:
value- The bytes for databaseId to set.- Returns:
- This builder for chaining.
-
hasPartitionId
public 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;- Specified by:
hasPartitionIdin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- Whether the partitionId field is set.
-
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;- Specified by:
getPartitionIdin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- The partitionId.
-
setPartitionId
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; -
setPartitionId
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; -
mergePartitionId
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; -
clearPartitionId
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; -
getPartitionIdBuilder
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; -
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;- Specified by:
getPartitionIdOrBuilderin interfaceRunAggregationQueryRequestOrBuilder
-
hasReadOptions
public boolean hasReadOptions()The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;- Specified by:
hasReadOptionsin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- Whether the readOptions field is set.
-
getReadOptions
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;- Specified by:
getReadOptionsin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- The readOptions.
-
setReadOptions
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1; -
setReadOptions
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1; -
mergeReadOptions
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1; -
clearReadOptions
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1; -
getReadOptionsBuilder
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1; -
getReadOptionsOrBuilder
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;- Specified by:
getReadOptionsOrBuilderin interfaceRunAggregationQueryRequestOrBuilder
-
hasAggregationQuery
public boolean hasAggregationQuery()The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;- Specified by:
hasAggregationQueryin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- Whether the aggregationQuery field is set.
-
getAggregationQuery
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;- Specified by:
getAggregationQueryin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- The aggregationQuery.
-
setAggregationQuery
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3; -
setAggregationQuery
public RunAggregationQueryRequest.Builder setAggregationQuery(AggregationQuery.Builder builderForValue) The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3; -
mergeAggregationQuery
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3; -
clearAggregationQuery
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3; -
getAggregationQueryBuilder
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3; -
getAggregationQueryOrBuilder
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;- Specified by:
getAggregationQueryOrBuilderin interfaceRunAggregationQueryRequestOrBuilder
-
hasGqlQuery
public boolean hasGqlQuery()The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;- Specified by:
hasGqlQueryin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- Whether the gqlQuery field is set.
-
getGqlQuery
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;- Specified by:
getGqlQueryin interfaceRunAggregationQueryRequestOrBuilder- Returns:
- The gqlQuery.
-
setGqlQuery
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7; -
setGqlQuery
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7; -
mergeGqlQuery
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7; -
clearGqlQuery
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7; -
getGqlQueryBuilder
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7; -
getGqlQueryOrBuilder
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;- Specified by:
getGqlQueryOrBuilderin interfaceRunAggregationQueryRequestOrBuilder
-
setUnknownFields
public final RunAggregationQueryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
mergeUnknownFields
public final RunAggregationQueryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-