Class DailyResourceUsageAggregation.Memory.Builder (0.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DailyResourceUsageAggregation.Memory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder
Overrides

build()

public DailyResourceUsageAggregation.Memory build()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory

buildPartial()

public DailyResourceUsageAggregation.Memory buildPartial()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory

clear()

public DailyResourceUsageAggregation.Memory.Builder clear()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DailyResourceUsageAggregation.Memory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DailyResourceUsageAggregation.Memory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder
Overrides

clearUtilizationPercentage()

public DailyResourceUsageAggregation.Memory.Builder clearUtilizationPercentage()

Memory utilization percentage.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder

clone()

public DailyResourceUsageAggregation.Memory.Builder clone()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder
Overrides

getDefaultInstanceForType()

public DailyResourceUsageAggregation.Memory getDefaultInstanceForType()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUtilizationPercentage()

public DailyResourceUsageAggregation.Stats getUtilizationPercentage()

Memory utilization percentage.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Stats

The utilizationPercentage.

getUtilizationPercentageBuilder()

public DailyResourceUsageAggregation.Stats.Builder getUtilizationPercentageBuilder()

Memory utilization percentage.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Stats.Builder

getUtilizationPercentageOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getUtilizationPercentageOrBuilder()

Memory utilization percentage.

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

Returns
TypeDescription
DailyResourceUsageAggregation.StatsOrBuilder

hasUtilizationPercentage()

public boolean hasUtilizationPercentage()

Memory utilization percentage.

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

Returns
TypeDescription
boolean

Whether the utilizationPercentage field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DailyResourceUsageAggregation.Memory other)

public DailyResourceUsageAggregation.Memory.Builder mergeFrom(DailyResourceUsageAggregation.Memory other)
Parameter
NameDescription
otherDailyResourceUsageAggregation.Memory
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DailyResourceUsageAggregation.Memory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DailyResourceUsageAggregation.Memory.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.Memory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDailyResourceUsageAggregation.Stats
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DailyResourceUsageAggregation.Memory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.Memory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDailyResourceUsageAggregation.Stats
Returns
TypeDescription
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
NameDescription
builderForValueDailyResourceUsageAggregation.Stats.Builder
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder