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.ByteString
The ID of the database against which to make the request.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The 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.ByteString
Required.The options for this query.The options for this query.The options for this query.boolean
The query to run.boolean
The GQL query to run.boolean
Entities are partitioned into subsets, identified by a partition ID.boolean
The options for this query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
The 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
setField
public RunAggregationQueryRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
clearField
public RunAggregationQueryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
clearOneof
public RunAggregationQueryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
setRepeatedField
public RunAggregationQueryRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
addRepeatedField
public RunAggregationQueryRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RunAggregationQueryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RunAggregationQueryRequest.Builder>
- Throws:
IOException
-
getQueryTypeCase
- Specified by:
getQueryTypeCase
in 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:
getProjectId
in 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:
getProjectIdBytes
in 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:
getDatabaseId
in 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:
getDatabaseIdBytes
in 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:
hasPartitionId
in 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:
getPartitionId
in 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:
getPartitionIdOrBuilder
in interfaceRunAggregationQueryRequestOrBuilder
-
hasReadOptions
public boolean hasReadOptions()The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
- Specified by:
hasReadOptions
in interfaceRunAggregationQueryRequestOrBuilder
- Returns:
- Whether the readOptions field is set.
-
getReadOptions
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
- Specified by:
getReadOptions
in 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:
getReadOptionsOrBuilder
in interfaceRunAggregationQueryRequestOrBuilder
-
hasAggregationQuery
public boolean hasAggregationQuery()The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
- Specified by:
hasAggregationQuery
in interfaceRunAggregationQueryRequestOrBuilder
- Returns:
- Whether the aggregationQuery field is set.
-
getAggregationQuery
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
- Specified by:
getAggregationQuery
in 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:
getAggregationQueryOrBuilder
in 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:
hasGqlQuery
in 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:
getGqlQuery
in 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:
getGqlQueryOrBuilder
in interfaceRunAggregationQueryRequestOrBuilder
-
setUnknownFields
public final RunAggregationQueryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-
mergeUnknownFields
public final RunAggregationQueryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
-