Class ReportSummary.UtilizationChartData.Builder (0.65.0)

public static final class ReportSummary.UtilizationChartData.Builder extends GeneratedMessage.Builder<ReportSummary.UtilizationChartData.Builder> 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

Static Methods

getDescriptor()

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

Methods

build()

public ReportSummary.UtilizationChartData build()
Returns
Type Description
ReportSummary.UtilizationChartData

buildPartial()

public ReportSummary.UtilizationChartData buildPartial()
Returns
Type Description
ReportSummary.UtilizationChartData

clear()

public ReportSummary.UtilizationChartData.Builder clear()
Returns
Type Description
ReportSummary.UtilizationChartData.Builder
Overrides

clearFree()

public ReportSummary.UtilizationChartData.Builder clearFree()

Aggregate value which falls into the "Free" bucket.

int64 free = 2;

Returns
Type Description
ReportSummary.UtilizationChartData.Builder

This builder for chaining.

clearUsed()

public ReportSummary.UtilizationChartData.Builder clearUsed()

Aggregate value which falls into the "Used" bucket.

int64 used = 1;

Returns
Type Description
ReportSummary.UtilizationChartData.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReportSummary.UtilizationChartData getDefaultInstanceForType()
Returns
Type Description
ReportSummary.UtilizationChartData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFree()

public long getFree()

Aggregate value which falls into the "Free" bucket.

int64 free = 2;

Returns
Type Description
long

The free.

getUsed()

public long getUsed()

Aggregate value which falls into the "Used" bucket.

int64 used = 1;

Returns
Type Description
long

The used.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportSummary.UtilizationChartData other)

public ReportSummary.UtilizationChartData.Builder mergeFrom(ReportSummary.UtilizationChartData other)
Parameter
Name Description
other ReportSummary.UtilizationChartData
Returns
Type Description
ReportSummary.UtilizationChartData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.UtilizationChartData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.UtilizationChartData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportSummary.UtilizationChartData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportSummary.UtilizationChartData.Builder
Overrides

setFree(long value)

public ReportSummary.UtilizationChartData.Builder setFree(long value)

Aggregate value which falls into the "Free" bucket.

int64 free = 2;

Parameter
Name Description
value long

The free to set.

Returns
Type Description
ReportSummary.UtilizationChartData.Builder

This builder for chaining.

setUsed(long value)

public ReportSummary.UtilizationChartData.Builder setUsed(long value)

Aggregate value which falls into the "Used" bucket.

int64 used = 1;

Parameter
Name Description
value long

The used to set.

Returns
Type Description
ReportSummary.UtilizationChartData.Builder

This builder for chaining.