Class DailyResourceUsageAggregation.Memory.Builder (0.35.0)

public static final class DailyResourceUsageAggregation.Memory.Builder extends GeneratedMessageV3.Builder<DailyResourceUsageAggregation.Memory.Builder> implements DailyResourceUsageAggregation.MemoryOrBuilder

Statistical aggregation of memory usage.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUtilizationPercentage()

public DailyResourceUsageAggregation.Memory.Builder clearUtilizationPercentage()

Memory utilization percentage.

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

Returns
Type Description
DailyResourceUsageAggregation.Memory.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getUtilizationPercentage()

public DailyResourceUsageAggregation.Stats getUtilizationPercentage()

Memory utilization percentage.

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

Returns
Type Description
DailyResourceUsageAggregation.Stats

The utilizationPercentage.

getUtilizationPercentageBuilder()

public DailyResourceUsageAggregation.Stats.Builder getUtilizationPercentageBuilder()

Memory utilization percentage.

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

Returns
Type Description
DailyResourceUsageAggregation.Stats.Builder

getUtilizationPercentageOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getUtilizationPercentageOrBuilder()

Memory utilization percentage.

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

Returns
Type Description
DailyResourceUsageAggregation.StatsOrBuilder

hasUtilizationPercentage()

public boolean hasUtilizationPercentage()

Memory 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.Memory other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUtilizationPercentage(DailyResourceUsageAggregation.Stats value)

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

Memory utilization percentage.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUtilizationPercentage(DailyResourceUsageAggregation.Stats value)

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

Memory utilization percentage.

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

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

setUtilizationPercentage(DailyResourceUsageAggregation.Stats.Builder builderForValue)

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

Memory utilization percentage.

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

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