Class Distribution.Range (2.21.1)

public static final class Distribution.Range extends GeneratedMessageV3 implements Distribution.RangeOrBuilder

The range of the population values.

Protobuf type google.api.Distribution.Range

Static Fields

MAX_FIELD_NUMBER

public static final int MAX_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_FIELD_NUMBER

public static final int MIN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Distribution.Range getDefaultInstance()
Returns
TypeDescription
Distribution.Range

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Distribution.Range.Builder newBuilder()
Returns
TypeDescription
Distribution.Range.Builder

newBuilder(Distribution.Range prototype)

public static Distribution.Range.Builder newBuilder(Distribution.Range prototype)
Parameter
NameDescription
prototypeDistribution.Range
Returns
TypeDescription
Distribution.Range.Builder

parseDelimitedFrom(InputStream input)

public static Distribution.Range parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Distribution.Range parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Distribution.Range parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Distribution.Range parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Distribution.Range parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Distribution.Range parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Distribution.Range parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Distribution.Range parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Distribution.Range parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Distribution.Range parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Distribution.Range parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Distribution.Range parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Distribution.Range
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Distribution.Range> parser()
Returns
TypeDescription
Parser<Range>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<Distribution.Range> getParserForType()
Returns
TypeDescription
Parser<Range>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Distribution.Range.Builder newBuilderForType()
Returns
TypeDescription
Distribution.Range.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Distribution.Range.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Distribution.Range.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Distribution.Range.Builder toBuilder()
Returns
TypeDescription
Distribution.Range.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException