Class DailyResourceUsageAggregation.CPU.Builder (0.27.0)

public static final class DailyResourceUsageAggregation.CPU.Builder extends GeneratedMessageV3.Builder<DailyResourceUsageAggregation.CPU.Builder> implements DailyResourceUsageAggregation.CPUOrBuilder

Statistical aggregation of CPU usage.

Protobuf type google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.CPU

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DailyResourceUsageAggregation.CPU build()
Returns
Type Description
DailyResourceUsageAggregation.CPU

buildPartial()

public DailyResourceUsageAggregation.CPU buildPartial()
Returns
Type Description
DailyResourceUsageAggregation.CPU

clear()

public DailyResourceUsageAggregation.CPU.Builder clear()
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DailyResourceUsageAggregation.CPU.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DailyResourceUsageAggregation.CPU.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder
Overrides

clearUtilizationPercentage()

public DailyResourceUsageAggregation.CPU.Builder clearUtilizationPercentage()

CPU utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder

clone()

public DailyResourceUsageAggregation.CPU.Builder clone()
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder
Overrides

getDefaultInstanceForType()

public DailyResourceUsageAggregation.CPU getDefaultInstanceForType()
Returns
Type Description
DailyResourceUsageAggregation.CPU

getDescriptorForType()

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

getUtilizationPercentage()

public DailyResourceUsageAggregation.Stats getUtilizationPercentage()

CPU utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Returns
Type Description
DailyResourceUsageAggregation.Stats

The utilizationPercentage.

getUtilizationPercentageBuilder()

public DailyResourceUsageAggregation.Stats.Builder getUtilizationPercentageBuilder()

CPU utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Returns
Type Description
DailyResourceUsageAggregation.Stats.Builder

getUtilizationPercentageOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getUtilizationPercentageOrBuilder()

CPU utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Returns
Type Description
DailyResourceUsageAggregation.StatsOrBuilder

hasUtilizationPercentage()

public boolean hasUtilizationPercentage()

CPU utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Returns
Type Description
boolean

Whether the utilizationPercentage field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DailyResourceUsageAggregation.CPU other)

public DailyResourceUsageAggregation.CPU.Builder mergeFrom(DailyResourceUsageAggregation.CPU other)
Parameter
Name Description
other DailyResourceUsageAggregation.CPU
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DailyResourceUsageAggregation.CPU.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.CPU.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder
Overrides

mergeUtilizationPercentage(DailyResourceUsageAggregation.Stats value)

public DailyResourceUsageAggregation.CPU.Builder mergeUtilizationPercentage(DailyResourceUsageAggregation.Stats value)

CPU utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Parameter
Name Description
value DailyResourceUsageAggregation.Stats
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DailyResourceUsageAggregation.CPU.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.CPU.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder
Overrides

setUtilizationPercentage(DailyResourceUsageAggregation.Stats value)

public DailyResourceUsageAggregation.CPU.Builder setUtilizationPercentage(DailyResourceUsageAggregation.Stats value)

CPU utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Parameter
Name Description
value DailyResourceUsageAggregation.Stats
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder

setUtilizationPercentage(DailyResourceUsageAggregation.Stats.Builder builderForValue)

public DailyResourceUsageAggregation.CPU.Builder setUtilizationPercentage(DailyResourceUsageAggregation.Stats.Builder builderForValue)

CPU utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Parameter
Name Description
builderForValue DailyResourceUsageAggregation.Stats.Builder
Returns
Type Description
DailyResourceUsageAggregation.CPU.Builder