Class AggregationResult.Sum.Builder (0.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AggregationResult.Sum.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

build()

public AggregationResult.Sum build()
Returns
TypeDescription
AggregationResult.Sum

buildPartial()

public AggregationResult.Sum buildPartial()
Returns
TypeDescription
AggregationResult.Sum

clear()

public AggregationResult.Sum.Builder clear()
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AggregationResult.Sum.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AggregationResult.Sum.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

clearValue()

public AggregationResult.Sum.Builder clearValue()

double value = 1;

Returns
TypeDescription
AggregationResult.Sum.Builder

This builder for chaining.

clone()

public AggregationResult.Sum.Builder clone()
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

getDefaultInstanceForType()

public AggregationResult.Sum getDefaultInstanceForType()
Returns
TypeDescription
AggregationResult.Sum

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValue()

public double getValue()

double value = 1;

Returns
TypeDescription
double

The value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AggregationResult.Sum other)

public AggregationResult.Sum.Builder mergeFrom(AggregationResult.Sum other)
Parameter
NameDescription
otherAggregationResult.Sum
Returns
TypeDescription
AggregationResult.Sum.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AggregationResult.Sum.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AggregationResult.Sum.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AggregationResult.Sum.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AggregationResult.Sum.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AggregationResult.Sum.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AggregationResult.Sum.Builder
Overrides

setValue(double value)

public AggregationResult.Sum.Builder setValue(double value)

double value = 1;

Parameter
NameDescription
valuedouble

The value to set.

Returns
TypeDescription
AggregationResult.Sum.Builder

This builder for chaining.