Class DiskUsageSample.Builder (0.29.0)

public static final class DiskUsageSample.Builder extends GeneratedMessageV3.Builder<DiskUsageSample.Builder> implements DiskUsageSampleOrBuilder

Disk usage sample. Values are across all disks.

Protobuf type google.cloud.migrationcenter.v1.DiskUsageSample

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskUsageSample build()
Returns
Type Description
DiskUsageSample

buildPartial()

public DiskUsageSample buildPartial()
Returns
Type Description
DiskUsageSample

clear()

public DiskUsageSample.Builder clear()
Returns
Type Description
DiskUsageSample.Builder
Overrides

clearAverageIops()

public DiskUsageSample.Builder clearAverageIops()

Average IOPS sampled over a short window. Must be non-negative.

float average_iops = 1;

Returns
Type Description
DiskUsageSample.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DiskUsageSample.Builder clone()
Returns
Type Description
DiskUsageSample.Builder
Overrides

getAverageIops()

public float getAverageIops()

Average IOPS sampled over a short window. Must be non-negative.

float average_iops = 1;

Returns
Type Description
float

The averageIops.

getDefaultInstanceForType()

public DiskUsageSample getDefaultInstanceForType()
Returns
Type Description
DiskUsageSample

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiskUsageSample other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAverageIops(float value)

public DiskUsageSample.Builder setAverageIops(float value)

Average IOPS sampled over a short window. Must be non-negative.

float average_iops = 1;

Parameter
Name Description
value float

The averageIops to set.

Returns
Type Description
DiskUsageSample.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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