- 1.51.0 (latest)
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class VmUtilizationMetrics.Builder extends GeneratedMessageV3.Builder<VmUtilizationMetrics.Builder> implements VmUtilizationMetricsOrBuilder
Utilization metrics values for a single VM.
Protobuf type google.cloud.vmmigration.v1.VmUtilizationMetrics
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VmUtilizationMetrics.BuilderImplements
VmUtilizationMetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmUtilizationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VmUtilizationMetrics.Builder |
build()
public VmUtilizationMetrics build()
Type | Description |
VmUtilizationMetrics |
buildPartial()
public VmUtilizationMetrics buildPartial()
Type | Description |
VmUtilizationMetrics |
clear()
public VmUtilizationMetrics.Builder clear()
Type | Description |
VmUtilizationMetrics.Builder |
clearCpuAveragePercent()
public VmUtilizationMetrics.Builder clearCpuAveragePercent()
Average CPU usage, percent.
int32 cpu_average_percent = 10;
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearCpuMaxPercent()
public VmUtilizationMetrics.Builder clearCpuMaxPercent()
Max CPU usage, percent.
int32 cpu_max_percent = 9;
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearDiskIoRateAverageKbps()
public VmUtilizationMetrics.Builder clearDiskIoRateAverageKbps()
Average disk IO rate, in kilobytes per second.
int64 disk_io_rate_average_kbps = 14;
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearDiskIoRateMaxKbps()
public VmUtilizationMetrics.Builder clearDiskIoRateMaxKbps()
Max disk IO rate, in kilobytes per second.
int64 disk_io_rate_max_kbps = 13;
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VmUtilizationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VmUtilizationMetrics.Builder |
clearMemoryAveragePercent()
public VmUtilizationMetrics.Builder clearMemoryAveragePercent()
Average memory usage, percent.
int32 memory_average_percent = 12;
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearMemoryMaxPercent()
public VmUtilizationMetrics.Builder clearMemoryMaxPercent()
Max memory usage, percent.
int32 memory_max_percent = 11;
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearNetworkThroughputAverageKbps()
public VmUtilizationMetrics.Builder clearNetworkThroughputAverageKbps()
Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
int64 network_throughput_average_kbps = 16;
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearNetworkThroughputMaxKbps()
public VmUtilizationMetrics.Builder clearNetworkThroughputMaxKbps()
Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
int64 network_throughput_max_kbps = 15;
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VmUtilizationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VmUtilizationMetrics.Builder |
clone()
public VmUtilizationMetrics.Builder clone()
Type | Description |
VmUtilizationMetrics.Builder |
getCpuAveragePercent()
public int getCpuAveragePercent()
Average CPU usage, percent.
int32 cpu_average_percent = 10;
Type | Description |
int | The cpuAveragePercent. |
getCpuMaxPercent()
public int getCpuMaxPercent()
Max CPU usage, percent.
int32 cpu_max_percent = 9;
Type | Description |
int | The cpuMaxPercent. |
getDefaultInstanceForType()
public VmUtilizationMetrics getDefaultInstanceForType()
Type | Description |
VmUtilizationMetrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDiskIoRateAverageKbps()
public long getDiskIoRateAverageKbps()
Average disk IO rate, in kilobytes per second.
int64 disk_io_rate_average_kbps = 14;
Type | Description |
long | The diskIoRateAverageKbps. |
getDiskIoRateMaxKbps()
public long getDiskIoRateMaxKbps()
Max disk IO rate, in kilobytes per second.
int64 disk_io_rate_max_kbps = 13;
Type | Description |
long | The diskIoRateMaxKbps. |
getMemoryAveragePercent()
public int getMemoryAveragePercent()
Average memory usage, percent.
int32 memory_average_percent = 12;
Type | Description |
int | The memoryAveragePercent. |
getMemoryMaxPercent()
public int getMemoryMaxPercent()
Max memory usage, percent.
int32 memory_max_percent = 11;
Type | Description |
int | The memoryMaxPercent. |
getNetworkThroughputAverageKbps()
public long getNetworkThroughputAverageKbps()
Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
int64 network_throughput_average_kbps = 16;
Type | Description |
long | The networkThroughputAverageKbps. |
getNetworkThroughputMaxKbps()
public long getNetworkThroughputMaxKbps()
Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
int64 network_throughput_max_kbps = 15;
Type | Description |
long | The networkThroughputMaxKbps. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(VmUtilizationMetrics other)
public VmUtilizationMetrics.Builder mergeFrom(VmUtilizationMetrics other)
Name | Description |
other | VmUtilizationMetrics |
Type | Description |
VmUtilizationMetrics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VmUtilizationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VmUtilizationMetrics.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VmUtilizationMetrics.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VmUtilizationMetrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmUtilizationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VmUtilizationMetrics.Builder |
setCpuAveragePercent(int value)
public VmUtilizationMetrics.Builder setCpuAveragePercent(int value)
Average CPU usage, percent.
int32 cpu_average_percent = 10;
Name | Description |
value | int The cpuAveragePercent to set. |
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setCpuMaxPercent(int value)
public VmUtilizationMetrics.Builder setCpuMaxPercent(int value)
Max CPU usage, percent.
int32 cpu_max_percent = 9;
Name | Description |
value | int The cpuMaxPercent to set. |
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setDiskIoRateAverageKbps(long value)
public VmUtilizationMetrics.Builder setDiskIoRateAverageKbps(long value)
Average disk IO rate, in kilobytes per second.
int64 disk_io_rate_average_kbps = 14;
Name | Description |
value | long The diskIoRateAverageKbps to set. |
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setDiskIoRateMaxKbps(long value)
public VmUtilizationMetrics.Builder setDiskIoRateMaxKbps(long value)
Max disk IO rate, in kilobytes per second.
int64 disk_io_rate_max_kbps = 13;
Name | Description |
value | long The diskIoRateMaxKbps to set. |
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VmUtilizationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VmUtilizationMetrics.Builder |
setMemoryAveragePercent(int value)
public VmUtilizationMetrics.Builder setMemoryAveragePercent(int value)
Average memory usage, percent.
int32 memory_average_percent = 12;
Name | Description |
value | int The memoryAveragePercent to set. |
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setMemoryMaxPercent(int value)
public VmUtilizationMetrics.Builder setMemoryMaxPercent(int value)
Max memory usage, percent.
int32 memory_max_percent = 11;
Name | Description |
value | int The memoryMaxPercent to set. |
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setNetworkThroughputAverageKbps(long value)
public VmUtilizationMetrics.Builder setNetworkThroughputAverageKbps(long value)
Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
int64 network_throughput_average_kbps = 16;
Name | Description |
value | long The networkThroughputAverageKbps to set. |
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setNetworkThroughputMaxKbps(long value)
public VmUtilizationMetrics.Builder setNetworkThroughputMaxKbps(long value)
Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
int64 network_throughput_max_kbps = 15;
Name | Description |
value | long The networkThroughputMaxKbps to set. |
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmUtilizationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VmUtilizationMetrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VmUtilizationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VmUtilizationMetrics.Builder |