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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RunAggregationQueryResponse build()
Returns
buildPartial()
public RunAggregationQueryResponse buildPartial()
Returns
clear()
public RunAggregationQueryResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RunAggregationQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunAggregationQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReadTime()
public RunAggregationQueryResponse.Builder clearReadTime()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Returns
clearResult()
public RunAggregationQueryResponse.Builder clearResult()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
Returns
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;
Returns
clone()
public RunAggregationQueryResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RunAggregationQueryResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getReadTime()
public Timestamp getReadTime()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Returns
getReadTimeBuilder()
public Timestamp.Builder getReadTimeBuilder()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Returns
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Returns
getResult()
public AggregationResult getResult()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
Returns
getResultBuilder()
public AggregationResult.Builder getResultBuilder()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
Returns
getResultOrBuilder()
public AggregationResultOrBuilder getResultOrBuilder()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RunAggregationQueryResponse other)
public RunAggregationQueryResponse.Builder mergeFrom(RunAggregationQueryResponse other)
Parameter
Returns
public RunAggregationQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RunAggregationQueryResponse.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameter
Returns
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
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunAggregationQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides