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
Inherited Members
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DailyResourceUsageAggregation.CPU.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DailyResourceUsageAggregation.CPU build()
buildPartial()
public DailyResourceUsageAggregation.CPU buildPartial()
clear()
public DailyResourceUsageAggregation.CPU.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DailyResourceUsageAggregation.CPU.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DailyResourceUsageAggregation.CPU.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUtilizationPercentage()
public DailyResourceUsageAggregation.CPU.Builder clearUtilizationPercentage()
CPU utilization percentage.
.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;
clone()
public DailyResourceUsageAggregation.CPU.Builder clone()
Overrides
getDefaultInstanceForType()
public DailyResourceUsageAggregation.CPU getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUtilizationPercentage()
public DailyResourceUsageAggregation.Stats getUtilizationPercentage()
CPU utilization percentage.
.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;
getUtilizationPercentageBuilder()
public DailyResourceUsageAggregation.Stats.Builder getUtilizationPercentageBuilder()
CPU utilization percentage.
.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;
getUtilizationPercentageOrBuilder()
public DailyResourceUsageAggregation.StatsOrBuilder getUtilizationPercentageOrBuilder()
CPU utilization percentage.
.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DailyResourceUsageAggregation.CPU other)
public DailyResourceUsageAggregation.CPU.Builder mergeFrom(DailyResourceUsageAggregation.CPU other)
public DailyResourceUsageAggregation.CPU.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DailyResourceUsageAggregation.CPU.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DailyResourceUsageAggregation.CPU.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public DailyResourceUsageAggregation.CPU.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DailyResourceUsageAggregation.CPU.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DailyResourceUsageAggregation.CPU.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;