Class ReportSummary.HistogramChartData.Bucket (0.36.0)

public static final class ReportSummary.HistogramChartData.Bucket extends GeneratedMessageV3 implements ReportSummary.HistogramChartData.BucketOrBuilder

A histogram bucket with a lower and upper bound, and a count of items with a field value between those bounds. The lower bound is inclusive and the upper bound is exclusive. Lower bound may be -infinity and upper bound may be infinity.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReportSummary.HistogramChartData.Bucket

Static Fields

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
Type Description
int

LOWER_BOUND_FIELD_NUMBER

public static final int LOWER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

UPPER_BOUND_FIELD_NUMBER

public static final int UPPER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReportSummary.HistogramChartData.Bucket getDefaultInstance()
Returns
Type Description
ReportSummary.HistogramChartData.Bucket

getDescriptor()

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

newBuilder()

public static ReportSummary.HistogramChartData.Bucket.Builder newBuilder()
Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder

newBuilder(ReportSummary.HistogramChartData.Bucket prototype)

public static ReportSummary.HistogramChartData.Bucket.Builder newBuilder(ReportSummary.HistogramChartData.Bucket prototype)
Parameter
Name Description
prototype ReportSummary.HistogramChartData.Bucket
Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary.HistogramChartData.Bucket parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReportSummary.HistogramChartData.Bucket parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ReportSummary.HistogramChartData.Bucket parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportSummary.HistogramChartData.Bucket parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReportSummary.HistogramChartData.Bucket parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReportSummary.HistogramChartData.Bucket parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.HistogramChartData.Bucket
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReportSummary.HistogramChartData.Bucket> parser()
Returns
Type Description
Parser<Bucket>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCount()

public long getCount()

Count of items in the bucket.

int64 count = 3;

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public ReportSummary.HistogramChartData.Bucket getDefaultInstanceForType()
Returns
Type Description
ReportSummary.HistogramChartData.Bucket

getLowerBound()

public long getLowerBound()

Lower bound - inclusive.

int64 lower_bound = 1;

Returns
Type Description
long

The lowerBound.

getParserForType()

public Parser<ReportSummary.HistogramChartData.Bucket> getParserForType()
Returns
Type Description
Parser<Bucket>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpperBound()

public long getUpperBound()

Upper bound - exclusive.

int64 upper_bound = 2;

Returns
Type Description
long

The upperBound.

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 ReportSummary.HistogramChartData.Bucket.Builder newBuilderForType()
Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.HistogramChartData.Bucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ReportSummary.HistogramChartData.Bucket.Builder toBuilder()
Returns
Type Description
ReportSummary.HistogramChartData.Bucket.Builder

writeTo(CodedOutputStream output)

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