Class Float64Stats.HistogramBucket (2.44.0)

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
Type Description
int

MAX_FIELD_NUMBER

public static final int MAX_FIELD_NUMBER
Field Value
Type Description
int

MIN_FIELD_NUMBER

public static final int MIN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Float64Stats.HistogramBucket getDefaultInstance()
Returns
Type Description
Float64Stats.HistogramBucket

getDescriptor()

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

newBuilder()

public static Float64Stats.HistogramBucket.Builder newBuilder()
Returns
Type Description
Float64Stats.HistogramBucket.Builder

newBuilder(Float64Stats.HistogramBucket prototype)

public static Float64Stats.HistogramBucket.Builder newBuilder(Float64Stats.HistogramBucket prototype)
Parameter
Name Description
prototype Float64Stats.HistogramBucket
Returns
Type Description
Float64Stats.HistogramBucket.Builder

parseDelimitedFrom(InputStream input)

public static Float64Stats.HistogramBucket parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats.HistogramBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Float64Stats.HistogramBucket parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats.HistogramBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Float64Stats.HistogramBucket parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats.HistogramBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Float64Stats.HistogramBucket parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats.HistogramBucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Float64Stats.HistogramBucket parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Float64Stats.HistogramBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Float64Stats.HistogramBucket parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Float64Stats.HistogramBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Float64Stats.HistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
long

The count.

getDefaultInstanceForType()

public Float64Stats.HistogramBucket getDefaultInstanceForType()
Returns
Type Description
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
Type Description
double

The max.

getMin()

public double getMin()

The minimum value of the bucket, inclusive.

double min = 1;

Returns
Type Description
double

The min.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Float64Stats.HistogramBucket.Builder newBuilderForType()
Returns
Type Description
Float64Stats.HistogramBucket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Float64Stats.HistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Float64Stats.HistogramBucket.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Float64Stats.HistogramBucket.Builder toBuilder()
Returns
Type Description
Float64Stats.HistogramBucket.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException