public static final class AggregationQuery.Aggregation.Avg.Builder extends GeneratedMessageV3.Builder<AggregationQuery.Aggregation.Avg.Builder> implements AggregationQuery.Aggregation.AvgOrBuilder
Average of the values of the requested property.
Only numeric values will be aggregated. All non-numeric values
including NULL
are skipped.
If the aggregated values contain NaN
, returns NaN
. Infinity math
follows IEEE-754 standards.
If the aggregated value set is empty, returns NULL
.
Always returns the result as a double.
Protobuf type google.datastore.v1.AggregationQuery.Aggregation.Avg
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 AggregationQuery.Aggregation.Avg.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AggregationQuery.Aggregation.Avg build()
buildPartial()
public AggregationQuery.Aggregation.Avg buildPartial()
clear()
public AggregationQuery.Aggregation.Avg.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AggregationQuery.Aggregation.Avg.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AggregationQuery.Aggregation.Avg.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProperty()
public AggregationQuery.Aggregation.Avg.Builder clearProperty()
The property to aggregate on.
.google.datastore.v1.PropertyReference property = 1;
clone()
public AggregationQuery.Aggregation.Avg.Builder clone()
Overrides
getDefaultInstanceForType()
public AggregationQuery.Aggregation.Avg getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProperty()
public PropertyReference getProperty()
The property to aggregate on.
.google.datastore.v1.PropertyReference property = 1;
getPropertyBuilder()
public PropertyReference.Builder getPropertyBuilder()
The property to aggregate on.
.google.datastore.v1.PropertyReference property = 1;
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to aggregate on.
.google.datastore.v1.PropertyReference property = 1;
hasProperty()
public boolean hasProperty()
The property to aggregate on.
.google.datastore.v1.PropertyReference property = 1;
Returns |
Type |
Description |
boolean |
Whether the property field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AggregationQuery.Aggregation.Avg other)
public AggregationQuery.Aggregation.Avg.Builder mergeFrom(AggregationQuery.Aggregation.Avg other)
public AggregationQuery.Aggregation.Avg.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AggregationQuery.Aggregation.Avg.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeProperty(PropertyReference value)
public AggregationQuery.Aggregation.Avg.Builder mergeProperty(PropertyReference value)
The property to aggregate on.
.google.datastore.v1.PropertyReference property = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AggregationQuery.Aggregation.Avg.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AggregationQuery.Aggregation.Avg.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProperty(PropertyReference value)
public AggregationQuery.Aggregation.Avg.Builder setProperty(PropertyReference value)
The property to aggregate on.
.google.datastore.v1.PropertyReference property = 1;
setProperty(PropertyReference.Builder builderForValue)
public AggregationQuery.Aggregation.Avg.Builder setProperty(PropertyReference.Builder builderForValue)
The property to aggregate on.
.google.datastore.v1.PropertyReference property = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AggregationQuery.Aggregation.Avg.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AggregationQuery.Aggregation.Avg.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides