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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>
public AggregationResultBatch getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AggregationResultBatch build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AggregationResultBatch buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AggregationResultBatch.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AggregationResultBatch.Builder>
IOException
public List<AggregationResult> getAggregationResultsList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
getAggregationResultsList
in interface AggregationResultBatchOrBuilder
public int getAggregationResultsCount()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
getAggregationResultsCount
in interface AggregationResultBatchOrBuilder
public AggregationResult getAggregationResults(int index)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
getAggregationResults
in interface AggregationResultBatchOrBuilder
public 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 AggregationResultBatchOrBuilder
public List<? extends AggregationResultOrBuilder> getAggregationResultsOrBuilderList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
getAggregationResultsOrBuilderList
in interface AggregationResultBatchOrBuilder
public 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 AggregationResultBatchOrBuilder
public 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 AggregationResultBatchOrBuilder
public 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 AggregationResultBatchOrBuilder
public 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 AggregationResultBatchOrBuilder
public 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 AggregationResultBatchOrBuilder
public final AggregationResultBatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AggregationResultBatch.Builder>
Copyright © 2023 Google LLC. All rights reserved.