public static final class AggregationResultBatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder> implements AggregationResultBatchOrBuilder
A batch of aggregation results produced by an aggregation query.Protobuf type
google.datastore.v1.AggregationResultBatch| Modifier and Type | Method and Description |
|---|---|
AggregationResultBatch.Builder |
addAggregationResults(AggregationResult.Builder builderForValue)
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
addAggregationResults(AggregationResult value)
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
addAggregationResults(int index,
AggregationResult.Builder builderForValue)
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
addAggregationResults(int index,
AggregationResult value)
The aggregation results for this batch.
|
AggregationResult.Builder |
addAggregationResultsBuilder()
The aggregation results for this batch.
|
AggregationResult.Builder |
addAggregationResultsBuilder(int index)
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
addAllAggregationResults(Iterable<? extends AggregationResult> values)
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AggregationResultBatch |
build() |
AggregationResultBatch |
buildPartial() |
AggregationResultBatch.Builder |
clear() |
AggregationResultBatch.Builder |
clearAggregationResults()
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AggregationResultBatch.Builder |
clearMoreResults()
The state of the query after the current batch.
|
AggregationResultBatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AggregationResultBatch.Builder |
clearReadTime()
Read timestamp this batch was returned from.
|
AggregationResultBatch.Builder |
clone() |
AggregationResult |
getAggregationResults(int index)
The aggregation results for this batch.
|
AggregationResult.Builder |
getAggregationResultsBuilder(int index)
The aggregation results for this batch.
|
List<AggregationResult.Builder> |
getAggregationResultsBuilderList()
The aggregation results for this batch.
|
int |
getAggregationResultsCount()
The aggregation results for this batch.
|
List<AggregationResult> |
getAggregationResultsList()
The aggregation results for this batch.
|
AggregationResultOrBuilder |
getAggregationResultsOrBuilder(int index)
The aggregation results for this batch.
|
List<? extends AggregationResultOrBuilder> |
getAggregationResultsOrBuilderList()
The aggregation results for this batch.
|
AggregationResultBatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
QueryResultBatch.MoreResultsType |
getMoreResults()
The state of the query after the current batch.
|
int |
getMoreResultsValue()
The state of the query after the current batch.
|
com.google.protobuf.Timestamp |
getReadTime()
Read timestamp this batch was returned from.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
Read timestamp this batch was returned from.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Read timestamp this batch was returned from.
|
boolean |
hasReadTime()
Read timestamp this batch was returned from.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AggregationResultBatch.Builder |
mergeFrom(AggregationResultBatch other) |
AggregationResultBatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AggregationResultBatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
AggregationResultBatch.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
Read timestamp this batch was returned from.
|
AggregationResultBatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AggregationResultBatch.Builder |
removeAggregationResults(int index)
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
setAggregationResults(int index,
AggregationResult.Builder builderForValue)
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
setAggregationResults(int index,
AggregationResult value)
The aggregation results for this batch.
|
AggregationResultBatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AggregationResultBatch.Builder |
setMoreResults(QueryResultBatch.MoreResultsType value)
The state of the query after the current batch.
|
AggregationResultBatch.Builder |
setMoreResultsValue(int value)
The state of the query after the current batch.
|
AggregationResultBatch.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Read timestamp this batch was returned from.
|
AggregationResultBatch.Builder |
setReadTime(com.google.protobuf.Timestamp value)
Read timestamp this batch was returned from.
|
AggregationResultBatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AggregationResultBatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AggregationResultBatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AggregationResultBatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AggregationResultBatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder mergeFrom(AggregationResultBatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public AggregationResultBatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AggregationResultBatch.Builder>IOExceptionpublic List<AggregationResult> getAggregationResultsList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;getAggregationResultsList in interface AggregationResultBatchOrBuilderpublic int getAggregationResultsCount()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;getAggregationResultsCount in interface AggregationResultBatchOrBuilderpublic AggregationResult getAggregationResults(int index)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;getAggregationResults in interface AggregationResultBatchOrBuilderpublic AggregationResultBatch.Builder setAggregationResults(int index, AggregationResult value)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultBatch.Builder setAggregationResults(int index, AggregationResult.Builder builderForValue)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultBatch.Builder addAggregationResults(AggregationResult value)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultBatch.Builder addAggregationResults(int index, AggregationResult value)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultBatch.Builder addAggregationResults(AggregationResult.Builder builderForValue)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultBatch.Builder addAggregationResults(int index, AggregationResult.Builder builderForValue)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultBatch.Builder addAllAggregationResults(Iterable<? extends AggregationResult> values)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultBatch.Builder clearAggregationResults()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultBatch.Builder removeAggregationResults(int index)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResult.Builder getAggregationResultsBuilder(int index)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResultOrBuilder getAggregationResultsOrBuilder(int index)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;getAggregationResultsOrBuilder in interface AggregationResultBatchOrBuilderpublic List<? extends AggregationResultOrBuilder> getAggregationResultsOrBuilderList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;getAggregationResultsOrBuilderList in interface AggregationResultBatchOrBuilderpublic AggregationResult.Builder addAggregationResultsBuilder()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public AggregationResult.Builder addAggregationResultsBuilder(int index)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public List<AggregationResult.Builder> getAggregationResultsBuilderList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;public int getMoreResultsValue()
The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;getMoreResultsValue in interface AggregationResultBatchOrBuilderpublic AggregationResultBatch.Builder setMoreResultsValue(int value)
The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;value - The enum numeric value on the wire for moreResults to set.public QueryResultBatch.MoreResultsType getMoreResults()
The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;getMoreResults in interface AggregationResultBatchOrBuilderpublic AggregationResultBatch.Builder setMoreResults(QueryResultBatch.MoreResultsType value)
The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;value - The moreResults to set.public AggregationResultBatch.Builder clearMoreResults()
The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;public boolean hasReadTime()
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;hasReadTime in interface AggregationResultBatchOrBuilderpublic com.google.protobuf.Timestamp getReadTime()
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;getReadTime in interface AggregationResultBatchOrBuilderpublic AggregationResultBatch.Builder setReadTime(com.google.protobuf.Timestamp value)
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;public AggregationResultBatch.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;public AggregationResultBatch.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;public AggregationResultBatch.Builder clearReadTime()
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;getReadTimeOrBuilder in interface AggregationResultBatchOrBuilderpublic final AggregationResultBatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>public final AggregationResultBatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>Copyright © 2023 Google LLC. All rights reserved.