Class ReportSummary.UtilizationChartData (0.3.0)

public static final class ReportSummary.UtilizationChartData extends GeneratedMessageV3 implements ReportSummary.UtilizationChartDataOrBuilder

Utilization Chart is a specific type of visualization which displays a metric classified into "Used" and "Free" buckets.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReportSummary.UtilizationChartData

Static Fields

FREE_FIELD_NUMBER

public static final int FREE_FIELD_NUMBER
Field Value
TypeDescription
int

USED_FIELD_NUMBER

public static final int USED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportSummary.UtilizationChartData getDefaultInstance()
Returns
TypeDescription
ReportSummary.UtilizationChartData

getDescriptor()

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

newBuilder()

public static ReportSummary.UtilizationChartData.Builder newBuilder()
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder

newBuilder(ReportSummary.UtilizationChartData prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReportSummary.UtilizationChartData getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.UtilizationChartData

getFree()

public long getFree()

Aggregate value which falls into the "Free" bucket.

int64 free = 2;

Returns
TypeDescription
long

The free.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUsed()

public long getUsed()

Aggregate value which falls into the "Used" bucket.

int64 used = 1;

Returns
TypeDescription
long

The used.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ReportSummary.UtilizationChartData.Builder toBuilder()
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder

writeTo(CodedOutputStream output)

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