Class AggregationResult.Sum.Builder (0.26.0)

public static final class AggregationResult.Sum.Builder extends GeneratedMessageV3.Builder<AggregationResult.Sum.Builder> implements AggregationResult.SumOrBuilder

The result of a sum aggregation.

Protobuf type google.cloud.migrationcenter.v1.AggregationResult.Sum

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AggregationResult.Sum.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

build()

public AggregationResult.Sum build()
Returns
Type Description
AggregationResult.Sum

buildPartial()

public AggregationResult.Sum buildPartial()
Returns
Type Description
AggregationResult.Sum

clear()

public AggregationResult.Sum.Builder clear()
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AggregationResult.Sum.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AggregationResult.Sum.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

clearValue()

public AggregationResult.Sum.Builder clearValue()

double value = 1;

Returns
Type Description
AggregationResult.Sum.Builder

This builder for chaining.

clone()

public AggregationResult.Sum.Builder clone()
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

getDefaultInstanceForType()

public AggregationResult.Sum getDefaultInstanceForType()
Returns
Type Description
AggregationResult.Sum

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValue()

public double getValue()

double value = 1;

Returns
Type Description
double

The value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AggregationResult.Sum other)

public AggregationResult.Sum.Builder mergeFrom(AggregationResult.Sum other)
Parameter
Name Description
other AggregationResult.Sum
Returns
Type Description
AggregationResult.Sum.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AggregationResult.Sum.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult.Sum.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AggregationResult.Sum.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AggregationResult.Sum.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AggregationResult.Sum.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AggregationResult.Sum.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AggregationResult.Sum.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AggregationResult.Sum.Builder
Overrides

setValue(double value)

public AggregationResult.Sum.Builder setValue(double value)

double value = 1;

Parameter
Name Description
value double

The value to set.

Returns
Type Description
AggregationResult.Sum.Builder

This builder for chaining.