Class RunAggregationQueryResponse (2.18.5)

public final class RunAggregationQueryResponse extends GeneratedMessageV3 implements RunAggregationQueryResponseOrBuilder

The response for Datastore.RunAggregationQuery.

Protobuf type google.datastore.v1.RunAggregationQueryResponse

Static Fields

BATCH_FIELD_NUMBER

public static final int BATCH_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSACTION_FIELD_NUMBER

public static final int TRANSACTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunAggregationQueryResponse getDefaultInstance()
Returns
TypeDescription
RunAggregationQueryResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RunAggregationQueryResponse.Builder newBuilder()
Returns
TypeDescription
RunAggregationQueryResponse.Builder

newBuilder(RunAggregationQueryResponse prototype)

public static RunAggregationQueryResponse.Builder newBuilder(RunAggregationQueryResponse prototype)
Parameter
NameDescription
prototypeRunAggregationQueryResponse
Returns
TypeDescription
RunAggregationQueryResponse.Builder

parseDelimitedFrom(InputStream input)

public static RunAggregationQueryResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunAggregationQueryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RunAggregationQueryResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunAggregationQueryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunAggregationQueryResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunAggregationQueryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunAggregationQueryResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunAggregationQueryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RunAggregationQueryResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunAggregationQueryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RunAggregationQueryResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunAggregationQueryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunAggregationQueryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RunAggregationQueryResponse> parser()
Returns
TypeDescription
Parser<RunAggregationQueryResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBatch()

public AggregationResultBatch getBatch()

A batch of aggregation results. Always present.

.google.datastore.v1.AggregationResultBatch batch = 1;

Returns
TypeDescription
AggregationResultBatch

The batch.

getBatchOrBuilder()

public AggregationResultBatchOrBuilder getBatchOrBuilder()

A batch of aggregation results. Always present.

.google.datastore.v1.AggregationResultBatch batch = 1;

Returns
TypeDescription
AggregationResultBatchOrBuilder

getDefaultInstanceForType()

public RunAggregationQueryResponse getDefaultInstanceForType()
Returns
TypeDescription
RunAggregationQueryResponse

getParserForType()

public Parser<RunAggregationQueryResponse> getParserForType()
Returns
TypeDescription
Parser<RunAggregationQueryResponse>
Overrides

getQuery()

public AggregationQuery getQuery()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.AggregationQuery query = 2;

Returns
TypeDescription
AggregationQuery

The query.

getQueryOrBuilder()

public AggregationQueryOrBuilder getQueryOrBuilder()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.AggregationQuery query = 2;

Returns
TypeDescription
AggregationQueryOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTransaction()

public ByteString getTransaction()

The identifier of the transaction that was started as part of this RunAggregationQuery request.

Set only when ReadOptions.new_transaction was set in RunAggregationQueryRequest.read_options.

bytes transaction = 5;

Returns
TypeDescription
ByteString

The transaction.

hasBatch()

public boolean hasBatch()

A batch of aggregation results. Always present.

.google.datastore.v1.AggregationResultBatch batch = 1;

Returns
TypeDescription
boolean

Whether the batch field is set.

hasQuery()

public boolean hasQuery()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.AggregationQuery query = 2;

Returns
TypeDescription
boolean

Whether the query field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RunAggregationQueryResponse.Builder newBuilderForType()
Returns
TypeDescription
RunAggregationQueryResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunAggregationQueryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RunAggregationQueryResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RunAggregationQueryResponse.Builder toBuilder()
Returns
TypeDescription
RunAggregationQueryResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException