Class DailyResourceUsageAggregation.Disk.Builder (0.12.0)

public static final class DailyResourceUsageAggregation.Disk.Builder extends GeneratedMessageV3.Builder<DailyResourceUsageAggregation.Disk.Builder> implements DailyResourceUsageAggregation.DiskOrBuilder

Statistical aggregation of disk usage.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIops()

public DailyResourceUsageAggregation.Disk.Builder clearIops()

Disk I/O operations per second.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Disk.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIops()

public DailyResourceUsageAggregation.Stats getIops()

Disk I/O operations per second.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Stats

The iops.

getIopsBuilder()

public DailyResourceUsageAggregation.Stats.Builder getIopsBuilder()

Disk I/O operations per second.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Stats.Builder

getIopsOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getIopsOrBuilder()

Disk I/O operations per second.

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

Returns
TypeDescription
DailyResourceUsageAggregation.StatsOrBuilder

hasIops()

public boolean hasIops()

Disk I/O operations per second.

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

Returns
TypeDescription
boolean

Whether the iops field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DailyResourceUsageAggregation.Disk other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIops(DailyResourceUsageAggregation.Stats value)

public DailyResourceUsageAggregation.Disk.Builder mergeIops(DailyResourceUsageAggregation.Stats value)

Disk I/O operations per second.

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

Parameter
NameDescription
valueDailyResourceUsageAggregation.Stats
Returns
TypeDescription
DailyResourceUsageAggregation.Disk.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.Disk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DailyResourceUsageAggregation.Disk.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setIops(DailyResourceUsageAggregation.Stats value)

public DailyResourceUsageAggregation.Disk.Builder setIops(DailyResourceUsageAggregation.Stats value)

Disk I/O operations per second.

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

Parameter
NameDescription
valueDailyResourceUsageAggregation.Stats
Returns
TypeDescription
DailyResourceUsageAggregation.Disk.Builder

setIops(DailyResourceUsageAggregation.Stats.Builder builderForValue)

public DailyResourceUsageAggregation.Disk.Builder setIops(DailyResourceUsageAggregation.Stats.Builder builderForValue)

Disk I/O operations per second.

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

Parameter
NameDescription
builderForValueDailyResourceUsageAggregation.Stats.Builder
Returns
TypeDescription
DailyResourceUsageAggregation.Disk.Builder

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

public DailyResourceUsageAggregation.Disk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DailyResourceUsageAggregation.Disk.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.Disk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DailyResourceUsageAggregation.Disk.Builder
Overrides