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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AggregationResult.Sum.BuilderImplements
AggregationResult.SumOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public AggregationResult.Sum.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AggregationResult.Sum.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AggregationResult.Sum.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AggregationResult.Sum.Builder |
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 |
getDefaultInstanceForType()
public AggregationResult.Sum getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AggregationResult.Sum |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getValue()
public double getValue()
double value = 1;
Returns | |
---|---|
Type | Description |
double |
The value. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult.Sum.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AggregationResult.Sum.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult.Sum.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AggregationResult.Sum.Builder |
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. |