public static final class RunAggregationQueryRequest.Builder extends GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder> implements RunAggregationQueryRequestOrBuilder
The request for Datastore.RunAggregationQuery.
Protobuf type google.datastore.v1.RunAggregationQueryRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RunAggregationQueryRequest.BuilderImplements
RunAggregationQueryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RunAggregationQueryRequest.Builder |
build()
public RunAggregationQueryRequest build()
Type | Description |
RunAggregationQueryRequest |
buildPartial()
public RunAggregationQueryRequest buildPartial()
Type | Description |
RunAggregationQueryRequest |
clear()
public RunAggregationQueryRequest.Builder clear()
Type | Description |
RunAggregationQueryRequest.Builder |
clearAggregationQuery()
public RunAggregationQueryRequest.Builder clearAggregationQuery()
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
Type | Description |
RunAggregationQueryRequest.Builder |
clearDatabaseId()
public RunAggregationQueryRequest.Builder 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;
Type | Description |
RunAggregationQueryRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RunAggregationQueryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RunAggregationQueryRequest.Builder |
clearGqlQuery()
public RunAggregationQueryRequest.Builder clearGqlQuery()
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
Type | Description |
RunAggregationQueryRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RunAggregationQueryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RunAggregationQueryRequest.Builder |
clearPartitionId()
public RunAggregationQueryRequest.Builder 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;
Type | Description |
RunAggregationQueryRequest.Builder |
clearProjectId()
public RunAggregationQueryRequest.Builder clearProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
RunAggregationQueryRequest.Builder | This builder for chaining. |
clearQueryType()
public RunAggregationQueryRequest.Builder clearQueryType()
Type | Description |
RunAggregationQueryRequest.Builder |
clearReadOptions()
public RunAggregationQueryRequest.Builder clearReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
Type | Description |
RunAggregationQueryRequest.Builder |
clone()
public RunAggregationQueryRequest.Builder clone()
Type | Description |
RunAggregationQueryRequest.Builder |
getAggregationQuery()
public AggregationQuery getAggregationQuery()
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
Type | Description |
AggregationQuery | The aggregationQuery. |
getAggregationQueryBuilder()
public AggregationQuery.Builder getAggregationQueryBuilder()
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
Type | Description |
AggregationQuery.Builder |
getAggregationQueryOrBuilder()
public AggregationQueryOrBuilder getAggregationQueryOrBuilder()
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
Type | Description |
AggregationQueryOrBuilder |
getDatabaseId()
public 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;
Type | Description |
String | The databaseId. |
getDatabaseIdBytes()
public 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;
Type | Description |
ByteString | The bytes for databaseId. |
getDefaultInstanceForType()
public RunAggregationQueryRequest getDefaultInstanceForType()
Type | Description |
RunAggregationQueryRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGqlQuery()
public GqlQuery getGqlQuery()
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
Type | Description |
GqlQuery | The gqlQuery. |
getGqlQueryBuilder()
public GqlQuery.Builder getGqlQueryBuilder()
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
Type | Description |
GqlQuery.Builder |
getGqlQueryOrBuilder()
public GqlQueryOrBuilder getGqlQueryOrBuilder()
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
Type | Description |
GqlQueryOrBuilder |
getPartitionId()
public 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;
Type | Description |
PartitionId | The partitionId. |
getPartitionIdBuilder()
public PartitionId.Builder 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;
Type | Description |
PartitionId.Builder |
getPartitionIdOrBuilder()
public 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;
Type | Description |
PartitionIdOrBuilder |
getProjectId()
public String getProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for projectId. |
getQueryTypeCase()
public RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase()
Type | Description |
RunAggregationQueryRequest.QueryTypeCase |
getReadOptions()
public ReadOptions getReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
Type | Description |
ReadOptions | The readOptions. |
getReadOptionsBuilder()
public ReadOptions.Builder getReadOptionsBuilder()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
Type | Description |
ReadOptions.Builder |
getReadOptionsOrBuilder()
public ReadOptionsOrBuilder getReadOptionsOrBuilder()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
Type | Description |
ReadOptionsOrBuilder |
hasAggregationQuery()
public boolean hasAggregationQuery()
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
Type | Description |
boolean | Whether the aggregationQuery field is set. |
hasGqlQuery()
public boolean hasGqlQuery()
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
Type | Description |
boolean | Whether the gqlQuery field is set. |
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;
Type | Description |
boolean | Whether the partitionId field is set. |
hasReadOptions()
public boolean hasReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
Type | Description |
boolean | Whether the readOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAggregationQuery(AggregationQuery value)
public RunAggregationQueryRequest.Builder mergeAggregationQuery(AggregationQuery value)
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
Name | Description |
value | AggregationQuery |
Type | Description |
RunAggregationQueryRequest.Builder |
mergeFrom(RunAggregationQueryRequest other)
public RunAggregationQueryRequest.Builder mergeFrom(RunAggregationQueryRequest other)
Name | Description |
other | RunAggregationQueryRequest |
Type | Description |
RunAggregationQueryRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RunAggregationQueryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunAggregationQueryRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RunAggregationQueryRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RunAggregationQueryRequest.Builder |
mergeGqlQuery(GqlQuery value)
public RunAggregationQueryRequest.Builder mergeGqlQuery(GqlQuery value)
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
Name | Description |
value | GqlQuery |
Type | Description |
RunAggregationQueryRequest.Builder |
mergePartitionId(PartitionId value)
public RunAggregationQueryRequest.Builder mergePartitionId(PartitionId value)
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;
Name | Description |
value | PartitionId |
Type | Description |
RunAggregationQueryRequest.Builder |
mergeReadOptions(ReadOptions value)
public RunAggregationQueryRequest.Builder mergeReadOptions(ReadOptions value)
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
Name | Description |
value | ReadOptions |
Type | Description |
RunAggregationQueryRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RunAggregationQueryRequest.Builder |
setAggregationQuery(AggregationQuery value)
public RunAggregationQueryRequest.Builder setAggregationQuery(AggregationQuery value)
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
Name | Description |
value | AggregationQuery |
Type | Description |
RunAggregationQueryRequest.Builder |
setAggregationQuery(AggregationQuery.Builder builderForValue)
public RunAggregationQueryRequest.Builder setAggregationQuery(AggregationQuery.Builder builderForValue)
The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
Name | Description |
builderForValue | AggregationQuery.Builder |
Type | Description |
RunAggregationQueryRequest.Builder |
setDatabaseId(String value)
public RunAggregationQueryRequest.Builder setDatabaseId(String value)
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;
Name | Description |
value | String The databaseId to set. |
Type | Description |
RunAggregationQueryRequest.Builder | This builder for chaining. |
setDatabaseIdBytes(ByteString value)
public RunAggregationQueryRequest.Builder setDatabaseIdBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for databaseId to set. |
Type | Description |
RunAggregationQueryRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RunAggregationQueryRequest.Builder |
setGqlQuery(GqlQuery value)
public RunAggregationQueryRequest.Builder setGqlQuery(GqlQuery value)
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
Name | Description |
value | GqlQuery |
Type | Description |
RunAggregationQueryRequest.Builder |
setGqlQuery(GqlQuery.Builder builderForValue)
public RunAggregationQueryRequest.Builder setGqlQuery(GqlQuery.Builder builderForValue)
The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
Name | Description |
builderForValue | GqlQuery.Builder |
Type | Description |
RunAggregationQueryRequest.Builder |
setPartitionId(PartitionId value)
public RunAggregationQueryRequest.Builder setPartitionId(PartitionId value)
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;
Name | Description |
value | PartitionId |
Type | Description |
RunAggregationQueryRequest.Builder |
setPartitionId(PartitionId.Builder builderForValue)
public RunAggregationQueryRequest.Builder setPartitionId(PartitionId.Builder builderForValue)
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;
Name | Description |
builderForValue | PartitionId.Builder |
Type | Description |
RunAggregationQueryRequest.Builder |
setProjectId(String value)
public RunAggregationQueryRequest.Builder setProjectId(String value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The projectId to set. |
Type | Description |
RunAggregationQueryRequest.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public RunAggregationQueryRequest.Builder setProjectIdBytes(ByteString value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
RunAggregationQueryRequest.Builder | This builder for chaining. |
setReadOptions(ReadOptions value)
public RunAggregationQueryRequest.Builder setReadOptions(ReadOptions value)
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
Name | Description |
value | ReadOptions |
Type | Description |
RunAggregationQueryRequest.Builder |
setReadOptions(ReadOptions.Builder builderForValue)
public RunAggregationQueryRequest.Builder setReadOptions(ReadOptions.Builder builderForValue)
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
Name | Description |
builderForValue | ReadOptions.Builder |
Type | Description |
RunAggregationQueryRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunAggregationQueryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RunAggregationQueryRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RunAggregationQueryRequest.Builder |