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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiskUsageSample.BuilderImplements
DiskUsageSampleOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskUsageSample.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
clone()
public DiskUsageSample.Builder clone()
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
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 |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DiskUsageSample.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskUsageSample.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskUsageSample.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |