publicstaticfinalclass AggregationResult.BuilderextendsGeneratedMessageV3.Builder<AggregationResult.Builder>implementsAggregationResultOrBuilder
The result of a single bucket from a Datastore aggregation query.
The keys of aggregate_properties are the same for all results in an
aggregation query, unlike entity queries which can have different fields
present for each result.
Protobuf type google.datastore.v1.AggregationResult
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAggregationResult.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicAggregationResultbuild()
buildPartial()
publicAggregationResultbuildPartial()
clear()
publicAggregationResult.Builderclear()
Overrides
clearAggregateProperties()
publicAggregationResult.BuilderclearAggregateProperties()
clearField(Descriptors.FieldDescriptor field)
publicAggregationResult.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicAggregationResult.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicAggregationResult.Builderclone()
Overrides
containsAggregateProperties(String key)
publicbooleancontainsAggregateProperties(Stringkey)
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
| Parameter |
| Name |
Description |
key |
String
|
getAggregateProperties() (deprecated)
publicMap<String,Value>getAggregateProperties()
getAggregatePropertiesCount()
publicintgetAggregatePropertiesCount()
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
| Returns |
| Type |
Description |
int |
getAggregatePropertiesMap()
publicMap<String,Value>getAggregatePropertiesMap()
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
getAggregatePropertiesOrDefault(String key, Value defaultValue)
publicValuegetAggregatePropertiesOrDefault(Stringkey,ValuedefaultValue)
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
| Parameters |
| Name |
Description |
key |
String
|
defaultValue |
Value
|
| Returns |
| Type |
Description |
Value |
getAggregatePropertiesOrThrow(String key)
publicValuegetAggregatePropertiesOrThrow(Stringkey)
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
Value |
getDefaultInstanceForType()
publicAggregationResultgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getMutableAggregateProperties() (deprecated)
publicMap<String,Value>getMutableAggregateProperties()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(AggregationResult other)
publicAggregationResult.BuildermergeFrom(AggregationResultother)
publicAggregationResult.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicAggregationResult.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAggregationResult.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
putAggregateProperties(String key, Value value)
publicAggregationResult.BuilderputAggregateProperties(Stringkey,Valuevalue)
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
putAggregatePropertiesBuilderIfAbsent(String key)
publicValue.BuilderputAggregatePropertiesBuilderIfAbsent(Stringkey)
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
| Parameter |
| Name |
Description |
key |
String
|
putAllAggregateProperties(Map<String,Value> values)
publicAggregationResult.BuilderputAllAggregateProperties(Map<String,Value>values)
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
removeAggregateProperties(String key)
publicAggregationResult.BuilderremoveAggregateProperties(Stringkey)
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
alias assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
map<string, .google.datastore.v1.Value> aggregate_properties = 2;
| Parameter |
| Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
publicAggregationResult.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAggregationResult.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAggregationResult.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides