public final class RunAggregationQueryResponse extends GeneratedMessageV3 implements RunAggregationQueryResponseOrBuilder
The response for Firestore.RunAggregationQuery.
Protobuf type google.firestore.v1.RunAggregationQueryResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RunAggregationQueryResponseImplements
RunAggregationQueryResponseOrBuilderStatic Fields
READ_TIME_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
Type | Description |
int |
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
Type | Description |
int |
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static RunAggregationQueryResponse getDefaultInstance()
Type | Description |
RunAggregationQueryResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static RunAggregationQueryResponse.Builder newBuilder()
Type | Description |
RunAggregationQueryResponse.Builder |
newBuilder(RunAggregationQueryResponse prototype)
public static RunAggregationQueryResponse.Builder newBuilder(RunAggregationQueryResponse prototype)
Name | Description |
prototype | RunAggregationQueryResponse |
Type | Description |
RunAggregationQueryResponse.Builder |
parseDelimitedFrom(InputStream input)
public static RunAggregationQueryResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static RunAggregationQueryResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RunAggregationQueryResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RunAggregationQueryResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static RunAggregationQueryResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RunAggregationQueryResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RunAggregationQueryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunAggregationQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RunAggregationQueryResponse> parser()
Type | Description |
Parser<RunAggregationQueryResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public RunAggregationQueryResponse getDefaultInstanceForType()
Type | Description |
RunAggregationQueryResponse |
getParserForType()
public Parser<RunAggregationQueryResponse> getParserForType()
Type | Description |
Parser<RunAggregationQueryResponse> |
getReadTime()
public Timestamp getReadTime()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Type | Description |
Timestamp | The readTime. |
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
Type | Description |
TimestampOrBuilder |
getResult()
public AggregationResult getResult()
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
Type | Description |
AggregationResult | The result. |
getResultOrBuilder()
public AggregationResultOrBuilder getResultOrBuilder()
A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;
Type | Description |
AggregationResultOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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;
Type | Description |
ByteString | The transaction. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasReadTime()
public boolean hasReadTime()
The time at which the aggregate value is valid for.
.google.protobuf.Timestamp read_time = 3;
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;
Type | Description |
boolean | Whether the result field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public RunAggregationQueryResponse.Builder newBuilderForType()
Type | Description |
RunAggregationQueryResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RunAggregationQueryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
RunAggregationQueryResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public RunAggregationQueryResponse.Builder toBuilder()
Type | Description |
RunAggregationQueryResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |