Class RunAggregationQueryResponse.Builder (2.28.2)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass RunAggregationQueryResponse.BuilderextendsGeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>implementsRunAggregationQueryResponseOrBuilderThe response for Datastore.RunAggregationQuery.
Protobuf type google.datastore.v1.RunAggregationQueryResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RunAggregationQueryResponse.BuilderImplements
RunAggregationQueryResponseOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicRunAggregationQueryResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
build()
publicRunAggregationQueryResponsebuild()| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse |
|
buildPartial()
publicRunAggregationQueryResponsebuildPartial()| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse |
|
clear()
publicRunAggregationQueryResponse.Builderclear()| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
clearBatch()
publicRunAggregationQueryResponse.BuilderclearBatch()A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
clearExplainMetrics()
publicRunAggregationQueryResponse.BuilderclearExplainMetrics()Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicRunAggregationQueryResponse.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicRunAggregationQueryResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
clearQuery()
publicRunAggregationQueryResponse.BuilderclearQuery() The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
clearTransaction()
publicRunAggregationQueryResponse.BuilderclearTransaction()The identifier of the transaction that was started as part of this RunAggregationQuery request.
Set only when ReadOptions.new_transaction was set in RunAggregationQueryRequest.read_options.
bytes transaction = 5;
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
This builder for chaining. |
clone()
publicRunAggregationQueryResponse.Builderclone()| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
getBatch()
publicAggregationResultBatchgetBatch()A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
| Returns | |
|---|---|
| Type | Description |
AggregationResultBatch |
The batch. |
getBatchBuilder()
publicAggregationResultBatch.BuildergetBatchBuilder()A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
| Returns | |
|---|---|
| Type | Description |
AggregationResultBatch.Builder |
|
getBatchOrBuilder()
publicAggregationResultBatchOrBuildergetBatchOrBuilder()A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
| Returns | |
|---|---|
| Type | Description |
AggregationResultBatchOrBuilder |
|
getDefaultInstanceForType()
publicRunAggregationQueryResponsegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExplainMetrics()
publicExplainMetricsgetExplainMetrics()Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics |
The explainMetrics. |
getExplainMetricsBuilder()
publicExplainMetrics.BuildergetExplainMetricsBuilder()Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
getExplainMetricsOrBuilder()
publicExplainMetricsOrBuildergetExplainMetricsOrBuilder()Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Returns | |
|---|---|
| Type | Description |
ExplainMetricsOrBuilder |
|
getQuery()
publicAggregationQuerygetQuery() The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
| Returns | |
|---|---|
| Type | Description |
AggregationQuery |
The query. |
getQueryBuilder()
publicAggregationQuery.BuildergetQueryBuilder() The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
| Returns | |
|---|---|
| Type | Description |
AggregationQuery.Builder |
|
getQueryOrBuilder()
publicAggregationQueryOrBuildergetQueryOrBuilder() The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
| Returns | |
|---|---|
| Type | Description |
AggregationQueryOrBuilder |
|
getTransaction()
publicByteStringgetTransaction()The identifier of the transaction that was started as part of this RunAggregationQuery request.
Set only when ReadOptions.new_transaction was set in RunAggregationQueryRequest.read_options.
bytes transaction = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The transaction. |
hasBatch()
publicbooleanhasBatch()A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the batch field is set. |
hasExplainMetrics()
publicbooleanhasExplainMetrics()Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the explainMetrics field is set. |
hasQuery()
publicbooleanhasQuery() The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the query field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBatch(AggregationResultBatch value)
publicRunAggregationQueryResponse.BuildermergeBatch(AggregationResultBatchvalue)A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AggregationResultBatch |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
mergeExplainMetrics(ExplainMetrics value)
publicRunAggregationQueryResponse.BuildermergeExplainMetrics(ExplainMetricsvalue)Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ExplainMetrics |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
mergeFrom(RunAggregationQueryResponse other)
publicRunAggregationQueryResponse.BuildermergeFrom(RunAggregationQueryResponseother)| Parameter | |
|---|---|
| Name | Description |
other |
RunAggregationQueryResponse |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicRunAggregationQueryResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicRunAggregationQueryResponse.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
mergeQuery(AggregationQuery value)
publicRunAggregationQueryResponse.BuildermergeQuery(AggregationQueryvalue) The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AggregationQuery |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalRunAggregationQueryResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setBatch(AggregationResultBatch value)
publicRunAggregationQueryResponse.BuildersetBatch(AggregationResultBatchvalue)A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AggregationResultBatch |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setBatch(AggregationResultBatch.Builder builderForValue)
publicRunAggregationQueryResponse.BuildersetBatch(AggregationResultBatch.BuilderbuilderForValue)A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AggregationResultBatch.Builder |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setExplainMetrics(ExplainMetrics value)
publicRunAggregationQueryResponse.BuildersetExplainMetrics(ExplainMetricsvalue)Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ExplainMetrics |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setExplainMetrics(ExplainMetrics.Builder builderForValue)
publicRunAggregationQueryResponse.BuildersetExplainMetrics(ExplainMetrics.BuilderbuilderForValue)Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ExplainMetrics.Builder |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicRunAggregationQueryResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setQuery(AggregationQuery value)
publicRunAggregationQueryResponse.BuildersetQuery(AggregationQueryvalue) The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AggregationQuery |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setQuery(AggregationQuery.Builder builderForValue)
publicRunAggregationQueryResponse.BuildersetQuery(AggregationQuery.BuilderbuilderForValue) The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AggregationQuery.Builder |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicRunAggregationQueryResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|
setTransaction(ByteString value)
publicRunAggregationQueryResponse.BuildersetTransaction(ByteStringvalue)The identifier of the transaction that was started as part of this RunAggregationQuery request.
Set only when ReadOptions.new_transaction was set in RunAggregationQueryRequest.read_options.
bytes transaction = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The transaction to set. |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalRunAggregationQueryResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RunAggregationQueryResponse.Builder |
|