Class Distribution.Range.Builder (2.42.0)

public static final class Distribution.Range.Builder extends GeneratedMessageV3.Builder<Distribution.Range.Builder> implements Distribution.RangeOrBuilder

The range of the population values.

Protobuf type google.api.Distribution.Range

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Distribution.Range build()
Returns
Type Description
Distribution.Range

buildPartial()

public Distribution.Range buildPartial()
Returns
Type Description
Distribution.Range

clear()

public Distribution.Range.Builder clear()
Returns
Type Description
Distribution.Range.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Distribution.Range.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Distribution.Range.Builder
Overrides

clearMax()

public Distribution.Range.Builder clearMax()

The maximum of the population values.

double max = 2;

Returns
Type Description
Distribution.Range.Builder

This builder for chaining.

clearMin()

public Distribution.Range.Builder clearMin()

The minimum of the population values.

double min = 1;

Returns
Type Description
Distribution.Range.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Distribution.Range.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Distribution.Range.Builder
Overrides

clone()

public Distribution.Range.Builder clone()
Returns
Type Description
Distribution.Range.Builder
Overrides

getDefaultInstanceForType()

public Distribution.Range getDefaultInstanceForType()
Returns
Type Description
Distribution.Range

getDescriptorForType()

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

getMax()

public double getMax()

The maximum of the population values.

double max = 2;

Returns
Type Description
double

The max.

getMin()

public double getMin()

The minimum of the population values.

double min = 1;

Returns
Type Description
double

The min.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Distribution.Range other)

public Distribution.Range.Builder mergeFrom(Distribution.Range other)
Parameter
Name Description
other Distribution.Range
Returns
Type Description
Distribution.Range.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Distribution.Range.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Distribution.Range.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Distribution.Range.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Distribution.Range.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setMax(double value)

public Distribution.Range.Builder setMax(double value)

The maximum of the population values.

double max = 2;

Parameter
Name Description
value double

The max to set.

Returns
Type Description
Distribution.Range.Builder

This builder for chaining.

setMin(double value)

public Distribution.Range.Builder setMin(double value)

The minimum of the population values.

double min = 1;

Parameter
Name Description
value double

The min to set.

Returns
Type Description
Distribution.Range.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Distribution.Range.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Distribution.Range.Builder
Overrides