Class Float64Stats.HistogramBucket (2.3.10)

Stay organized with collections Save and categorize content based on your preferences.
public static final class Float64Stats.HistogramBucket extends GeneratedMessageV3 implements Float64Stats.HistogramBucketOrBuilder

A bucket of a histogram.

Protobuf type google.cloud.automl.v1beta1.Float64Stats.HistogramBucket

Static Fields

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

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 Float64Stats.HistogramBucket getDefaultInstance()
Returns
TypeDescription
Float64Stats.HistogramBucket

getDescriptor()

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

newBuilder()

public static Float64Stats.HistogramBucket.Builder newBuilder()
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder

newBuilder(Float64Stats.HistogramBucket prototype)

public static Float64Stats.HistogramBucket.Builder newBuilder(Float64Stats.HistogramBucket prototype)
Parameter
NameDescription
prototypeFloat64Stats.HistogramBucket
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder

parseDelimitedFrom(InputStream input)

public static Float64Stats.HistogramBucket parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Float64Stats.HistogramBucket
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Float64Stats.HistogramBucket parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Float64Stats.HistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Float64Stats.HistogramBucket parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Float64Stats.HistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Float64Stats.HistogramBucket parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Float64Stats.HistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Float64Stats.HistogramBucket parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Float64Stats.HistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Float64Stats.HistogramBucket> parser()
Returns
TypeDescription
Parser<HistogramBucket>

Methods

equals(Object obj)

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

getCount()

public long getCount()

The number of data values that are in the bucket, i.e. are between min and max values.

int64 count = 3;

Returns
TypeDescription
long

The count.

getDefaultInstanceForType()

public Float64Stats.HistogramBucket getDefaultInstanceForType()
Returns
TypeDescription
Float64Stats.HistogramBucket

getMax()

public double getMax()

The maximum value of the bucket, exclusive unless max = "Infinity", in which case it's inclusive.

double max = 2;

Returns
TypeDescription
double

The max.

getMin()

public double getMin()

The minimum value of the bucket, inclusive.

double min = 1;

Returns
TypeDescription
double

The min.

getParserForType()

public Parser<Float64Stats.HistogramBucket> getParserForType()
Returns
TypeDescription
Parser<HistogramBucket>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 Float64Stats.HistogramBucket.Builder newBuilderForType()
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Float64Stats.HistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Float64Stats.HistogramBucket.Builder toBuilder()
Returns
TypeDescription
Float64Stats.HistogramBucket.Builder

writeTo(CodedOutputStream output)

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