Class ReportSummary.HistogramChartData.Bucket (0.9.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
TypeDescription
int

LOWER_BOUND_FIELD_NUMBER

public static final int LOWER_BOUND_FIELD_NUMBER
Field Value
TypeDescription
int

UPPER_BOUND_FIELD_NUMBER

public static final int UPPER_BOUND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportSummary.HistogramChartData.Bucket getDefaultInstance()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket

getDescriptor()

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

newBuilder()

public static ReportSummary.HistogramChartData.Bucket.Builder newBuilder()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

newBuilder(ReportSummary.HistogramChartData.Bucket prototype)

public static ReportSummary.HistogramChartData.Bucket.Builder newBuilder(ReportSummary.HistogramChartData.Bucket prototype)
Parameter
NameDescription
prototypeReportSummary.HistogramChartData.Bucket
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary.HistogramChartData.Bucket parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReportSummary.HistogramChartData.Bucket parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ReportSummary.HistogramChartData.Bucket parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportSummary.HistogramChartData.Bucket parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReportSummary.HistogramChartData.Bucket parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReportSummary.HistogramChartData.Bucket parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.HistogramChartData.Bucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

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

getCount()

public long getCount()

Count of items in the bucket.

int64 count = 3;

Returns
TypeDescription
long

The count.

getDefaultInstanceForType()

public ReportSummary.HistogramChartData.Bucket getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket

getLowerBound()

public long getLowerBound()

Lower bound - inclusive.

int64 lower_bound = 1;

Returns
TypeDescription
long

The lowerBound.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpperBound()

public long getUpperBound()

Upper bound - exclusive.

int64 upper_bound = 2;

Returns
TypeDescription
long

The upperBound.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.HistogramChartData.Bucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ReportSummary.HistogramChartData.Bucket.Builder toBuilder()
Returns
TypeDescription
ReportSummary.HistogramChartData.Bucket.Builder

writeTo(CodedOutputStream output)

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