public static final class RunAggregationQueryResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder> implements RunAggregationQueryResponseOrBuilder
The response for [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].Protobuf type
google.firestore.v1.RunAggregationQueryResponse
Modifier and Type | Method and Description |
---|---|
RunAggregationQueryResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunAggregationQueryResponse |
build() |
RunAggregationQueryResponse |
buildPartial() |
RunAggregationQueryResponse.Builder |
clear() |
RunAggregationQueryResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunAggregationQueryResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunAggregationQueryResponse.Builder |
clearReadTime()
The time at which the aggregate result was computed.
|
RunAggregationQueryResponse.Builder |
clearResult()
A single aggregation result.
|
RunAggregationQueryResponse.Builder |
clearTransaction()
The transaction that was started as part of this request.
|
RunAggregationQueryResponse.Builder |
clone() |
RunAggregationQueryResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getReadTime()
The time at which the aggregate result was computed.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
The time at which the aggregate result was computed.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
The time at which the aggregate result was computed.
|
AggregationResult |
getResult()
A single aggregation result.
|
AggregationResult.Builder |
getResultBuilder()
A single aggregation result.
|
AggregationResultOrBuilder |
getResultOrBuilder()
A single aggregation result.
|
com.google.protobuf.ByteString |
getTransaction()
The transaction that was started as part of this request.
|
boolean |
hasReadTime()
The time at which the aggregate result was computed.
|
boolean |
hasResult()
A single aggregation result.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunAggregationQueryResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunAggregationQueryResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunAggregationQueryResponse.Builder |
mergeFrom(RunAggregationQueryResponse other) |
RunAggregationQueryResponse.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
The time at which the aggregate result was computed.
|
RunAggregationQueryResponse.Builder |
mergeResult(AggregationResult value)
A single aggregation result.
|
RunAggregationQueryResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunAggregationQueryResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunAggregationQueryResponse.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the aggregate result was computed.
|
RunAggregationQueryResponse.Builder |
setReadTime(com.google.protobuf.Timestamp value)
The time at which the aggregate result was computed.
|
RunAggregationQueryResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunAggregationQueryResponse.Builder |
setResult(AggregationResult.Builder builderForValue)
A single aggregation result.
|
RunAggregationQueryResponse.Builder |
setResult(AggregationResult value)
A single aggregation result.
|
RunAggregationQueryResponse.Builder |
setTransaction(com.google.protobuf.ByteString value)
The transaction that was started as part of this request.
|
RunAggregationQueryResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RunAggregationQueryResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RunAggregationQueryResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RunAggregationQueryResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder mergeFrom(RunAggregationQueryResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public RunAggregationQueryResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunAggregationQueryResponse.Builder>
IOException
public boolean hasResult()
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
hasResult
in interface RunAggregationQueryResponseOrBuilder
public AggregationResult getResult()
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
getResult
in interface RunAggregationQueryResponseOrBuilder
public RunAggregationQueryResponse.Builder setResult(AggregationResult value)
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
public RunAggregationQueryResponse.Builder setResult(AggregationResult.Builder builderForValue)
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
public RunAggregationQueryResponse.Builder mergeResult(AggregationResult value)
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
public RunAggregationQueryResponse.Builder clearResult()
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
public AggregationResult.Builder getResultBuilder()
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
public AggregationResultOrBuilder getResultOrBuilder()
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
getResultOrBuilder
in interface RunAggregationQueryResponseOrBuilder
public com.google.protobuf.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;
getTransaction
in interface RunAggregationQueryResponseOrBuilder
public RunAggregationQueryResponse.Builder setTransaction(com.google.protobuf.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;
value
- The transaction to set.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;
public boolean hasReadTime()
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
hasReadTime
in interface RunAggregationQueryResponseOrBuilder
public com.google.protobuf.Timestamp getReadTime()
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
getReadTime
in interface RunAggregationQueryResponseOrBuilder
public RunAggregationQueryResponse.Builder setReadTime(com.google.protobuf.Timestamp value)
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public RunAggregationQueryResponse.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public RunAggregationQueryResponse.Builder mergeReadTime(com.google.protobuf.Timestamp value)
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public RunAggregationQueryResponse.Builder clearReadTime()
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
getReadTimeOrBuilder
in interface RunAggregationQueryResponseOrBuilder
public final RunAggregationQueryResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
public final RunAggregationQueryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.