- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmUtilizationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
build()
public VmUtilizationMetrics build()
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics |
buildPartial()
public VmUtilizationMetrics buildPartial()
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics |
clear()
public VmUtilizationMetrics.Builder clear()
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
clearCpuAveragePercent()
public VmUtilizationMetrics.Builder clearCpuAveragePercent()
Average CPU usage, percent.
int32 cpu_average_percent = 10;
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearCpuMaxPercent()
public VmUtilizationMetrics.Builder clearCpuMaxPercent()
Max CPU usage, percent.
int32 cpu_max_percent = 9;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VmUtilizationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
clearMemoryAveragePercent()
public VmUtilizationMetrics.Builder clearMemoryAveragePercent()
Average memory usage, percent.
int32 memory_average_percent = 12;
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearMemoryMaxPercent()
public VmUtilizationMetrics.Builder clearMemoryMaxPercent()
Max memory usage, percent.
int32 memory_max_percent = 11;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VmUtilizationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
clone()
public VmUtilizationMetrics.Builder clone()
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
getCpuAveragePercent()
public int getCpuAveragePercent()
Average CPU usage, percent.
int32 cpu_average_percent = 10;
Returns | |
---|---|
Type | Description |
int | The cpuAveragePercent. |
getCpuMaxPercent()
public int getCpuMaxPercent()
Max CPU usage, percent.
int32 cpu_max_percent = 9;
Returns | |
---|---|
Type | Description |
int | The cpuMaxPercent. |
getDefaultInstanceForType()
public VmUtilizationMetrics getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiskIoRateAverageKbps()
public long getDiskIoRateAverageKbps()
Average disk IO rate, in kilobytes per second.
int64 disk_io_rate_average_kbps = 14;
Returns | |
---|---|
Type | Description |
long | The diskIoRateAverageKbps. |
getDiskIoRateMaxKbps()
public long getDiskIoRateMaxKbps()
Max disk IO rate, in kilobytes per second.
int64 disk_io_rate_max_kbps = 13;
Returns | |
---|---|
Type | Description |
long | The diskIoRateMaxKbps. |
getMemoryAveragePercent()
public int getMemoryAveragePercent()
Average memory usage, percent.
int32 memory_average_percent = 12;
Returns | |
---|---|
Type | Description |
int | The memoryAveragePercent. |
getMemoryMaxPercent()
public int getMemoryMaxPercent()
Max memory usage, percent.
int32 memory_max_percent = 11;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
long | The networkThroughputMaxKbps. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(VmUtilizationMetrics other)
public VmUtilizationMetrics.Builder mergeFrom(VmUtilizationMetrics other)
Parameter | |
---|---|
Name | Description |
other | VmUtilizationMetrics |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VmUtilizationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VmUtilizationMetrics.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmUtilizationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
setCpuAveragePercent(int value)
public VmUtilizationMetrics.Builder setCpuAveragePercent(int value)
Average CPU usage, percent.
int32 cpu_average_percent = 10;
Parameter | |
---|---|
Name | Description |
value | int The cpuAveragePercent to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The cpuMaxPercent to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | long The diskIoRateAverageKbps to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | long The diskIoRateMaxKbps to set. |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VmUtilizationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
setMemoryAveragePercent(int value)
public VmUtilizationMetrics.Builder setMemoryAveragePercent(int value)
Average memory usage, percent.
int32 memory_average_percent = 12;
Parameter | |
---|---|
Name | Description |
value | int The memoryAveragePercent to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The memoryMaxPercent to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | long The networkThroughputAverageKbps to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | long The networkThroughputMaxKbps to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VmUtilizationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VmUtilizationMetrics.Builder |