public static final class RunAggregationQueryResponse.Builder extends GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder> implements RunAggregationQueryResponseOrBuilder
The response for
Datastore.RunAggregationQuery.
Protobuf type google.datastore.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RunAggregationQueryResponse build()
Returns
buildPartial()
public RunAggregationQueryResponse buildPartial()
Returns
clear()
public RunAggregationQueryResponse.Builder clear()
Returns
Overrides
clearBatch()
public RunAggregationQueryResponse.Builder clearBatch()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public RunAggregationQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunAggregationQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearQuery()
public RunAggregationQueryResponse.Builder clearQuery()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
Returns
clearTransaction()
public RunAggregationQueryResponse.Builder clearTransaction()
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
clone()
public RunAggregationQueryResponse.Builder clone()
Returns
Overrides
getBatch()
public AggregationResultBatch getBatch()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
Returns
getBatchBuilder()
public AggregationResultBatch.Builder getBatchBuilder()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
Returns
getBatchOrBuilder()
public AggregationResultBatchOrBuilder getBatchOrBuilder()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
Returns
getDefaultInstanceForType()
public RunAggregationQueryResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
getQueryBuilder()
public AggregationQuery.Builder getQueryBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
Returns
getQueryOrBuilder()
public AggregationQueryOrBuilder getQueryOrBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
Returns
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
hasBatch()
public boolean hasBatch()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
Returns
Type | Description |
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
Type | Description |
boolean | Whether the query field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBatch(AggregationResultBatch value)
public RunAggregationQueryResponse.Builder mergeBatch(AggregationResultBatch value)
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
Parameter
Returns
mergeFrom(RunAggregationQueryResponse other)
public RunAggregationQueryResponse.Builder mergeFrom(RunAggregationQueryResponse other)
Parameter
Returns
public RunAggregationQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RunAggregationQueryResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeQuery(AggregationQuery value)
public RunAggregationQueryResponse.Builder mergeQuery(AggregationQuery value)
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBatch(AggregationResultBatch value)
public RunAggregationQueryResponse.Builder setBatch(AggregationResultBatch value)
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
Parameter
Returns
setBatch(AggregationResultBatch.Builder builderForValue)
public RunAggregationQueryResponse.Builder setBatch(AggregationResultBatch.Builder builderForValue)
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setQuery(AggregationQuery value)
public RunAggregationQueryResponse.Builder setQuery(AggregationQuery value)
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
Parameter
Returns
setQuery(AggregationQuery.Builder builderForValue)
public RunAggregationQueryResponse.Builder setQuery(AggregationQuery.Builder builderForValue)
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunAggregationQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTransaction(ByteString value)
public RunAggregationQueryResponse.Builder setTransaction(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The transaction to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides