Class Distribution.Range.Builder (2.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Distribution.Range build()
Returns
TypeDescription
Distribution.Range

buildPartial()

public Distribution.Range buildPartial()
Returns
TypeDescription
Distribution.Range

clear()

public Distribution.Range.Builder clear()
Returns
TypeDescription
Distribution.Range.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Distribution.Range.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Distribution.Range.Builder
Overrides

clearMax()

public Distribution.Range.Builder clearMax()

The maximum of the population values.

double max = 2;

Returns
TypeDescription
Distribution.Range.Builder

This builder for chaining.

clearMin()

public Distribution.Range.Builder clearMin()

The minimum of the population values.

double min = 1;

Returns
TypeDescription
Distribution.Range.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Distribution.Range.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Distribution.Range.Builder
Overrides

clone()

public Distribution.Range.Builder clone()
Returns
TypeDescription
Distribution.Range.Builder
Overrides

getDefaultInstanceForType()

public Distribution.Range getDefaultInstanceForType()
Returns
TypeDescription
Distribution.Range

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMax()

public double getMax()

The maximum of the population values.

double max = 2;

Returns
TypeDescription
double

The max.

getMin()

public double getMin()

The minimum of the population values.

double min = 1;

Returns
TypeDescription
double

The min.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Distribution.Range other)

public Distribution.Range.Builder mergeFrom(Distribution.Range other)
Parameter
NameDescription
otherDistribution.Range
Returns
TypeDescription
Distribution.Range.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Distribution.Range.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Distribution.Range.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Distribution.Range.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Distribution.Range.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Distribution.Range.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Distribution.Range.Builder
Overrides

setMax(double value)

public Distribution.Range.Builder setMax(double value)

The maximum of the population values.

double max = 2;

Parameter
NameDescription
valuedouble

The max to set.

Returns
TypeDescription
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
NameDescription
valuedouble

The min to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Distribution.Range.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Distribution.Range.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Distribution.Range.Builder
Overrides