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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DailyResourceUsageAggregation.CPU.BuilderImplements
DailyResourceUsageAggregation.CPUOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public DailyResourceUsageAggregation.CPU.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DailyResourceUsageAggregation.CPU.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
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 |
getDefaultInstanceForType()
public DailyResourceUsageAggregation.CPU getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DailyResourceUsageAggregation.CPU.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final DailyResourceUsageAggregation.CPU.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
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 |