Class RunAggregationQueryResponse.Builder (3.9.6)
3.45.0 (latest)
3.44.0
3.43.1
3.41.0
3.38.0
3.37.0
3.36.0
3.35.1
3.33.4
3.32.2
3.31.9
3.30.11
3.28.0
3.27.2
3.26.5
3.25.1
3.24.3
3.22.0
3.21.4
3.20.0
3.17.0
3.16.3
3.15.7
3.14.4
3.13.2
3.12.1
3.11.0
3.10.0
3.9.6
3.8.2
3.7.10
3.6.0
3.5.0
3.4.2
3.3.0
3.2.0
3.1.0
3.0.21
public static final class RunAggregationQueryResponse . Builder extends GeneratedMessageV3 . Builder<RunAggregationQueryResponse . Builder > implements RunAggregationQueryResponseOrBuilder
The response for
Firestore.RunAggregationQuery .
Protobuf type google.firestore.v1.RunAggregationQueryResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public RunAggregationQueryResponse build ()
buildPartial()
public RunAggregationQueryResponse buildPartial ()
clear()
public RunAggregationQueryResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RunAggregationQueryResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunAggregationQueryResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearReadTime()
public RunAggregationQueryResponse . Builder clearReadTime ()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
clearResult()
public RunAggregationQueryResponse . Builder clearResult ()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
clearTransaction()
public RunAggregationQueryResponse . Builder clearTransaction ()
The transaction that was started as part of this request.
Only present on the first response when the request requested to start
a new transaction.
bytes transaction = 2;
clone()
public RunAggregationQueryResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public RunAggregationQueryResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getReadTime()
public Timestamp getReadTime ()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Returns
Type
Description
Timestamp
The readTime.
getReadTimeBuilder()
public Timestamp . Builder getReadTimeBuilder ()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder ()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
getResult()
public AggregationResult getResult ()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
getResultBuilder()
public AggregationResult . Builder getResultBuilder ()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
getResultOrBuilder()
public AggregationResultOrBuilder getResultOrBuilder ()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
getTransaction()
public ByteString getTransaction ()
The transaction that was started as part of this request.
Only present on the first response when the request requested to start
a new transaction.
bytes transaction = 2;
Returns
Type
Description
ByteString
The transaction.
hasReadTime()
public boolean hasReadTime ()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Returns
Type
Description
boolean
Whether the readTime field is set.
hasResult()
public boolean hasResult ()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
Returns
Type
Description
boolean
Whether the result field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(RunAggregationQueryResponse other)
public RunAggregationQueryResponse . Builder mergeFrom ( RunAggregationQueryResponse other )
public RunAggregationQueryResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public RunAggregationQueryResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeReadTime(Timestamp value)
public RunAggregationQueryResponse . Builder mergeReadTime ( Timestamp value )
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
mergeResult(AggregationResult value)
public RunAggregationQueryResponse . Builder mergeResult ( AggregationResult value )
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setReadTime(Timestamp value)
public RunAggregationQueryResponse . Builder setReadTime ( Timestamp value )
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
setReadTime(Timestamp.Builder builderForValue)
public RunAggregationQueryResponse . Builder setReadTime ( Timestamp . Builder builderForValue )
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Parameter
Name
Description
builderForValue
Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunAggregationQueryResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setResult(AggregationResult value)
public RunAggregationQueryResponse . Builder setResult ( AggregationResult value )
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
setResult(AggregationResult.Builder builderForValue)
public RunAggregationQueryResponse . Builder setResult ( AggregationResult . Builder builderForValue )
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
setTransaction(ByteString value)
public RunAggregationQueryResponse . Builder setTransaction ( ByteString value )
The transaction that was started as part of this request.
Only present on the first response when the request requested to start
a new transaction.
bytes transaction = 2;
Parameter
Name
Description
value
ByteString The transaction to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-04 UTC."],[],[]]