Class ReportSummary.UtilizationChartData.Builder (0.34.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.UtilizationChartData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.UtilizationChartData.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.UtilizationChartData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.UtilizationChartData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportSummary.UtilizationChartData.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.UtilizationChartData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.UtilizationChartData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.UtilizationChartData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportSummary.UtilizationChartData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportSummary.UtilizationChartData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.UtilizationChartData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.UtilizationChartData.Builder
Overrides

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.