Class ReportSummary.UtilizationChartData.Builder (0.15.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public ReportSummary.UtilizationChartData build()

buildPartial()

public ReportSummary.UtilizationChartData buildPartial()

clear()

public ReportSummary.UtilizationChartData.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

getDefaultInstanceForType()

public ReportSummary.UtilizationChartData getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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