Class ReportSummary.UtilizationChartData.Builder (0.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.UtilizationChartData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ReportSummary.UtilizationChartData.Builder clear()
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.UtilizationChartData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides

clearFree()

public ReportSummary.UtilizationChartData.Builder clearFree()

Aggregate value which falls into the "Free" bucket.

int64 free = 2;

Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.UtilizationChartData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides

clearUsed()

public ReportSummary.UtilizationChartData.Builder clearUsed()

Aggregate value which falls into the "Used" bucket.

int64 used = 1;

Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder

This builder for chaining.

clone()

public ReportSummary.UtilizationChartData.Builder clone()
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFree()

public long getFree()

Aggregate value which falls into the "Free" bucket.

int64 free = 2;

Returns
TypeDescription
long

The free.

getUsed()

public long getUsed()

Aggregate value which falls into the "Used" bucket.

int64 used = 1;

Returns
TypeDescription
long

The used.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportSummary.UtilizationChartData other)

public ReportSummary.UtilizationChartData.Builder mergeFrom(ReportSummary.UtilizationChartData other)
Parameter
NameDescription
otherReportSummary.UtilizationChartData
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.UtilizationChartData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReportSummary.UtilizationChartData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.UtilizationChartData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.UtilizationChartData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The free to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.UtilizationChartData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The used to set.

Returns
TypeDescription
ReportSummary.UtilizationChartData.Builder

This builder for chaining.