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;
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;
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