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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface RouterStatusNatStatusOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RouterStatusNatStatus) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] 31 * </pre> 32 * 33 * <code>repeated string auto_allocated_nat_ips = 510794246;</code> 34 * 35 * @return A list containing the autoAllocatedNatIps. 36 */ getAutoAllocatedNatIpsList()37 java.util.List<java.lang.String> getAutoAllocatedNatIpsList(); 38 /** 39 * 40 * 41 * <pre> 42 * A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] 43 * </pre> 44 * 45 * <code>repeated string auto_allocated_nat_ips = 510794246;</code> 46 * 47 * @return The count of autoAllocatedNatIps. 48 */ getAutoAllocatedNatIpsCount()49 int getAutoAllocatedNatIpsCount(); 50 /** 51 * 52 * 53 * <pre> 54 * A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] 55 * </pre> 56 * 57 * <code>repeated string auto_allocated_nat_ips = 510794246;</code> 58 * 59 * @param index The index of the element to return. 60 * @return The autoAllocatedNatIps at the given index. 61 */ getAutoAllocatedNatIps(int index)62 java.lang.String getAutoAllocatedNatIps(int index); 63 /** 64 * 65 * 66 * <pre> 67 * A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] 68 * </pre> 69 * 70 * <code>repeated string auto_allocated_nat_ips = 510794246;</code> 71 * 72 * @param index The index of the value to return. 73 * @return The bytes of the autoAllocatedNatIps at the given index. 74 */ getAutoAllocatedNatIpsBytes(int index)75 com.google.protobuf.ByteString getAutoAllocatedNatIpsBytes(int index); 76 77 /** 78 * 79 * 80 * <pre> 81 * A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. 82 * </pre> 83 * 84 * <code>repeated string drain_auto_allocated_nat_ips = 309184557;</code> 85 * 86 * @return A list containing the drainAutoAllocatedNatIps. 87 */ getDrainAutoAllocatedNatIpsList()88 java.util.List<java.lang.String> getDrainAutoAllocatedNatIpsList(); 89 /** 90 * 91 * 92 * <pre> 93 * A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. 94 * </pre> 95 * 96 * <code>repeated string drain_auto_allocated_nat_ips = 309184557;</code> 97 * 98 * @return The count of drainAutoAllocatedNatIps. 99 */ getDrainAutoAllocatedNatIpsCount()100 int getDrainAutoAllocatedNatIpsCount(); 101 /** 102 * 103 * 104 * <pre> 105 * A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. 106 * </pre> 107 * 108 * <code>repeated string drain_auto_allocated_nat_ips = 309184557;</code> 109 * 110 * @param index The index of the element to return. 111 * @return The drainAutoAllocatedNatIps at the given index. 112 */ getDrainAutoAllocatedNatIps(int index)113 java.lang.String getDrainAutoAllocatedNatIps(int index); 114 /** 115 * 116 * 117 * <pre> 118 * A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. 119 * </pre> 120 * 121 * <code>repeated string drain_auto_allocated_nat_ips = 309184557;</code> 122 * 123 * @param index The index of the value to return. 124 * @return The bytes of the drainAutoAllocatedNatIps at the given index. 125 */ getDrainAutoAllocatedNatIpsBytes(int index)126 com.google.protobuf.ByteString getDrainAutoAllocatedNatIpsBytes(int index); 127 128 /** 129 * 130 * 131 * <pre> 132 * A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. 133 * </pre> 134 * 135 * <code>repeated string drain_user_allocated_nat_ips = 305268553;</code> 136 * 137 * @return A list containing the drainUserAllocatedNatIps. 138 */ getDrainUserAllocatedNatIpsList()139 java.util.List<java.lang.String> getDrainUserAllocatedNatIpsList(); 140 /** 141 * 142 * 143 * <pre> 144 * A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. 145 * </pre> 146 * 147 * <code>repeated string drain_user_allocated_nat_ips = 305268553;</code> 148 * 149 * @return The count of drainUserAllocatedNatIps. 150 */ getDrainUserAllocatedNatIpsCount()151 int getDrainUserAllocatedNatIpsCount(); 152 /** 153 * 154 * 155 * <pre> 156 * A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. 157 * </pre> 158 * 159 * <code>repeated string drain_user_allocated_nat_ips = 305268553;</code> 160 * 161 * @param index The index of the element to return. 162 * @return The drainUserAllocatedNatIps at the given index. 163 */ getDrainUserAllocatedNatIps(int index)164 java.lang.String getDrainUserAllocatedNatIps(int index); 165 /** 166 * 167 * 168 * <pre> 169 * A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. 170 * </pre> 171 * 172 * <code>repeated string drain_user_allocated_nat_ips = 305268553;</code> 173 * 174 * @param index The index of the value to return. 175 * @return The bytes of the drainUserAllocatedNatIps at the given index. 176 */ getDrainUserAllocatedNatIpsBytes(int index)177 com.google.protobuf.ByteString getDrainUserAllocatedNatIpsBytes(int index); 178 179 /** 180 * 181 * 182 * <pre> 183 * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used. 184 * </pre> 185 * 186 * <code>optional int32 min_extra_nat_ips_needed = 365786338;</code> 187 * 188 * @return Whether the minExtraNatIpsNeeded field is set. 189 */ hasMinExtraNatIpsNeeded()190 boolean hasMinExtraNatIpsNeeded(); 191 /** 192 * 193 * 194 * <pre> 195 * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used. 196 * </pre> 197 * 198 * <code>optional int32 min_extra_nat_ips_needed = 365786338;</code> 199 * 200 * @return The minExtraNatIpsNeeded. 201 */ getMinExtraNatIpsNeeded()202 int getMinExtraNatIpsNeeded(); 203 204 /** 205 * 206 * 207 * <pre> 208 * Unique name of this NAT. 209 * </pre> 210 * 211 * <code>optional string name = 3373707;</code> 212 * 213 * @return Whether the name field is set. 214 */ hasName()215 boolean hasName(); 216 /** 217 * 218 * 219 * <pre> 220 * Unique name of this NAT. 221 * </pre> 222 * 223 * <code>optional string name = 3373707;</code> 224 * 225 * @return The name. 226 */ getName()227 java.lang.String getName(); 228 /** 229 * 230 * 231 * <pre> 232 * Unique name of this NAT. 233 * </pre> 234 * 235 * <code>optional string name = 3373707;</code> 236 * 237 * @return The bytes for name. 238 */ getNameBytes()239 com.google.protobuf.ByteString getNameBytes(); 240 241 /** 242 * 243 * 244 * <pre> 245 * Number of VM endpoints (i.e., Nics) that can use NAT. 246 * </pre> 247 * 248 * <code>optional int32 num_vm_endpoints_with_nat_mappings = 512367468;</code> 249 * 250 * @return Whether the numVmEndpointsWithNatMappings field is set. 251 */ hasNumVmEndpointsWithNatMappings()252 boolean hasNumVmEndpointsWithNatMappings(); 253 /** 254 * 255 * 256 * <pre> 257 * Number of VM endpoints (i.e., Nics) that can use NAT. 258 * </pre> 259 * 260 * <code>optional int32 num_vm_endpoints_with_nat_mappings = 512367468;</code> 261 * 262 * @return The numVmEndpointsWithNatMappings. 263 */ getNumVmEndpointsWithNatMappings()264 int getNumVmEndpointsWithNatMappings(); 265 266 /** 267 * 268 * 269 * <pre> 270 * Status of rules in this NAT. 271 * </pre> 272 * 273 * <code> 274 * repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; 275 * </code> 276 */ 277 java.util.List<com.google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus> getRuleStatusList()278 getRuleStatusList(); 279 /** 280 * 281 * 282 * <pre> 283 * Status of rules in this NAT. 284 * </pre> 285 * 286 * <code> 287 * repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; 288 * </code> 289 */ getRuleStatus(int index)290 com.google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus getRuleStatus(int index); 291 /** 292 * 293 * 294 * <pre> 295 * Status of rules in this NAT. 296 * </pre> 297 * 298 * <code> 299 * repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; 300 * </code> 301 */ getRuleStatusCount()302 int getRuleStatusCount(); 303 /** 304 * 305 * 306 * <pre> 307 * Status of rules in this NAT. 308 * </pre> 309 * 310 * <code> 311 * repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; 312 * </code> 313 */ 314 java.util.List<? extends com.google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatusOrBuilder> getRuleStatusOrBuilderList()315 getRuleStatusOrBuilderList(); 316 /** 317 * 318 * 319 * <pre> 320 * Status of rules in this NAT. 321 * </pre> 322 * 323 * <code> 324 * repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; 325 * </code> 326 */ getRuleStatusOrBuilder( int index)327 com.google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatusOrBuilder getRuleStatusOrBuilder( 328 int index); 329 330 /** 331 * 332 * 333 * <pre> 334 * A list of fully qualified URLs of reserved IP address resources. 335 * </pre> 336 * 337 * <code>repeated string user_allocated_nat_ip_resources = 212776151;</code> 338 * 339 * @return A list containing the userAllocatedNatIpResources. 340 */ getUserAllocatedNatIpResourcesList()341 java.util.List<java.lang.String> getUserAllocatedNatIpResourcesList(); 342 /** 343 * 344 * 345 * <pre> 346 * A list of fully qualified URLs of reserved IP address resources. 347 * </pre> 348 * 349 * <code>repeated string user_allocated_nat_ip_resources = 212776151;</code> 350 * 351 * @return The count of userAllocatedNatIpResources. 352 */ getUserAllocatedNatIpResourcesCount()353 int getUserAllocatedNatIpResourcesCount(); 354 /** 355 * 356 * 357 * <pre> 358 * A list of fully qualified URLs of reserved IP address resources. 359 * </pre> 360 * 361 * <code>repeated string user_allocated_nat_ip_resources = 212776151;</code> 362 * 363 * @param index The index of the element to return. 364 * @return The userAllocatedNatIpResources at the given index. 365 */ getUserAllocatedNatIpResources(int index)366 java.lang.String getUserAllocatedNatIpResources(int index); 367 /** 368 * 369 * 370 * <pre> 371 * A list of fully qualified URLs of reserved IP address resources. 372 * </pre> 373 * 374 * <code>repeated string user_allocated_nat_ip_resources = 212776151;</code> 375 * 376 * @param index The index of the value to return. 377 * @return The bytes of the userAllocatedNatIpResources at the given index. 378 */ getUserAllocatedNatIpResourcesBytes(int index)379 com.google.protobuf.ByteString getUserAllocatedNatIpResourcesBytes(int index); 380 381 /** 382 * 383 * 384 * <pre> 385 * A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". 386 * </pre> 387 * 388 * <code>repeated string user_allocated_nat_ips = 506878242;</code> 389 * 390 * @return A list containing the userAllocatedNatIps. 391 */ getUserAllocatedNatIpsList()392 java.util.List<java.lang.String> getUserAllocatedNatIpsList(); 393 /** 394 * 395 * 396 * <pre> 397 * A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". 398 * </pre> 399 * 400 * <code>repeated string user_allocated_nat_ips = 506878242;</code> 401 * 402 * @return The count of userAllocatedNatIps. 403 */ getUserAllocatedNatIpsCount()404 int getUserAllocatedNatIpsCount(); 405 /** 406 * 407 * 408 * <pre> 409 * A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". 410 * </pre> 411 * 412 * <code>repeated string user_allocated_nat_ips = 506878242;</code> 413 * 414 * @param index The index of the element to return. 415 * @return The userAllocatedNatIps at the given index. 416 */ getUserAllocatedNatIps(int index)417 java.lang.String getUserAllocatedNatIps(int index); 418 /** 419 * 420 * 421 * <pre> 422 * A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". 423 * </pre> 424 * 425 * <code>repeated string user_allocated_nat_ips = 506878242;</code> 426 * 427 * @param index The index of the value to return. 428 * @return The bytes of the userAllocatedNatIps at the given index. 429 */ getUserAllocatedNatIpsBytes(int index)430 com.google.protobuf.ByteString getUserAllocatedNatIpsBytes(int index); 431 } 432