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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RunAggregationQueryResponse build()
buildPartial()
public RunAggregationQueryResponse buildPartial()
clear()
public RunAggregationQueryResponse.Builder clear()
Overrides
clearBatch()
public RunAggregationQueryResponse.Builder clearBatch()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
clearField(Descriptors.FieldDescriptor field)
public RunAggregationQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunAggregationQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public RunAggregationQueryResponse.Builder clone()
Overrides
getBatch()
public AggregationResultBatch getBatch()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
getBatchBuilder()
public AggregationResultBatch.Builder getBatchBuilder()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
getBatchOrBuilder()
public AggregationResultBatchOrBuilder getBatchOrBuilder()
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
getDefaultInstanceForType()
public RunAggregationQueryResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getQuery()
public AggregationQuery getQuery()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
getQueryBuilder()
public AggregationQuery.Builder getQueryBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
getQueryOrBuilder()
public AggregationQueryOrBuilder getQueryOrBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.AggregationQuery query = 2;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBatch(AggregationResultBatch value)
public RunAggregationQueryResponse.Builder mergeBatch(AggregationResultBatch value)
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
mergeFrom(RunAggregationQueryResponse other)
public RunAggregationQueryResponse.Builder mergeFrom(RunAggregationQueryResponse other)
public RunAggregationQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RunAggregationQueryResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBatch(AggregationResultBatch value)
public RunAggregationQueryResponse.Builder setBatch(AggregationResultBatch value)
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
setBatch(AggregationResultBatch.Builder builderForValue)
public RunAggregationQueryResponse.Builder setBatch(AggregationResultBatch.Builder builderForValue)
A batch of aggregation results. Always present.
.google.datastore.v1.AggregationResultBatch batch = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public RunAggregationQueryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunAggregationQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RunAggregationQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides