public final class RunAggregationQueryResponse extends GeneratedMessageV3 implements RunAggregationQueryResponseOrBuilder
The response for Firestore.RunAggregationQuery.
Protobuf type google.firestore.v1.RunAggregationQueryResponse
Static Fields
READ_TIME_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
Field Value
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
Field Value
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RunAggregationQueryResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RunAggregationQueryResponse.Builder newBuilder()
Returns
newBuilder(RunAggregationQueryResponse prototype)
public static RunAggregationQueryResponse.Builder newBuilder(RunAggregationQueryResponse prototype)
Parameter
Returns
public static RunAggregationQueryResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RunAggregationQueryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RunAggregationQueryResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RunAggregationQueryResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RunAggregationQueryResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RunAggregationQueryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RunAggregationQueryResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RunAggregationQueryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RunAggregationQueryResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RunAggregationQueryResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public RunAggregationQueryResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<RunAggregationQueryResponse> getParserForType()
Returns
Overrides
getReadTime()
public Timestamp getReadTime()
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
getResultOrBuilder()
public AggregationResultOrBuilder getResultOrBuilder()
A single aggregation result.
Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RunAggregationQueryResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RunAggregationQueryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RunAggregationQueryResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions