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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiskUsageSample.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiskUsageSample build()
buildPartial()
public DiskUsageSample buildPartial()
clear()
public DiskUsageSample.Builder clear()
Overrides
clearAverageIops()
public DiskUsageSample.Builder clearAverageIops()
Average IOPS sampled over a short window. Must be non-negative.
float average_iops = 1;
clearField(Descriptors.FieldDescriptor field)
public DiskUsageSample.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskUsageSample.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DiskUsageSample.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DiskUsageSample other)
public DiskUsageSample.Builder mergeFrom(DiskUsageSample other)
public DiskUsageSample.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiskUsageSample.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskUsageSample.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DiskUsageSample.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskUsageSample.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskUsageSample.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides