1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/vmmigration/v1/vmmigration.proto 18 19 package com.google.cloud.vmmigration.v1; 20 21 public interface VmUtilizationMetricsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmUtilizationMetrics) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Max CPU usage, percent. 31 * </pre> 32 * 33 * <code>int32 cpu_max_percent = 9;</code> 34 * 35 * @return The cpuMaxPercent. 36 */ getCpuMaxPercent()37 int getCpuMaxPercent(); 38 39 /** 40 * 41 * 42 * <pre> 43 * Average CPU usage, percent. 44 * </pre> 45 * 46 * <code>int32 cpu_average_percent = 10;</code> 47 * 48 * @return The cpuAveragePercent. 49 */ getCpuAveragePercent()50 int getCpuAveragePercent(); 51 52 /** 53 * 54 * 55 * <pre> 56 * Max memory usage, percent. 57 * </pre> 58 * 59 * <code>int32 memory_max_percent = 11;</code> 60 * 61 * @return The memoryMaxPercent. 62 */ getMemoryMaxPercent()63 int getMemoryMaxPercent(); 64 65 /** 66 * 67 * 68 * <pre> 69 * Average memory usage, percent. 70 * </pre> 71 * 72 * <code>int32 memory_average_percent = 12;</code> 73 * 74 * @return The memoryAveragePercent. 75 */ getMemoryAveragePercent()76 int getMemoryAveragePercent(); 77 78 /** 79 * 80 * 81 * <pre> 82 * Max disk IO rate, in kilobytes per second. 83 * </pre> 84 * 85 * <code>int64 disk_io_rate_max_kbps = 13;</code> 86 * 87 * @return The diskIoRateMaxKbps. 88 */ getDiskIoRateMaxKbps()89 long getDiskIoRateMaxKbps(); 90 91 /** 92 * 93 * 94 * <pre> 95 * Average disk IO rate, in kilobytes per second. 96 * </pre> 97 * 98 * <code>int64 disk_io_rate_average_kbps = 14;</code> 99 * 100 * @return The diskIoRateAverageKbps. 101 */ getDiskIoRateAverageKbps()102 long getDiskIoRateAverageKbps(); 103 104 /** 105 * 106 * 107 * <pre> 108 * Max network throughput (combined transmit-rates and receive-rates), in 109 * kilobytes per second. 110 * </pre> 111 * 112 * <code>int64 network_throughput_max_kbps = 15;</code> 113 * 114 * @return The networkThroughputMaxKbps. 115 */ getNetworkThroughputMaxKbps()116 long getNetworkThroughputMaxKbps(); 117 118 /** 119 * 120 * 121 * <pre> 122 * Average network throughput (combined transmit-rates and receive-rates), in 123 * kilobytes per second. 124 * </pre> 125 * 126 * <code>int64 network_throughput_average_kbps = 16;</code> 127 * 128 * @return The networkThroughputAverageKbps. 129 */ getNetworkThroughputAverageKbps()130 long getNetworkThroughputAverageKbps(); 131 } 132