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 RouterNatOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RouterNat) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. 31 * </pre> 32 * 33 * <code>repeated string drain_nat_ips = 504078535;</code> 34 * 35 * @return A list containing the drainNatIps. 36 */ getDrainNatIpsList()37 java.util.List<java.lang.String> getDrainNatIpsList(); 38 /** 39 * 40 * 41 * <pre> 42 * A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. 43 * </pre> 44 * 45 * <code>repeated string drain_nat_ips = 504078535;</code> 46 * 47 * @return The count of drainNatIps. 48 */ getDrainNatIpsCount()49 int getDrainNatIpsCount(); 50 /** 51 * 52 * 53 * <pre> 54 * A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. 55 * </pre> 56 * 57 * <code>repeated string drain_nat_ips = 504078535;</code> 58 * 59 * @param index The index of the element to return. 60 * @return The drainNatIps at the given index. 61 */ getDrainNatIps(int index)62 java.lang.String getDrainNatIps(int index); 63 /** 64 * 65 * 66 * <pre> 67 * A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. 68 * </pre> 69 * 70 * <code>repeated string drain_nat_ips = 504078535;</code> 71 * 72 * @param index The index of the value to return. 73 * @return The bytes of the drainNatIps at the given index. 74 */ getDrainNatIpsBytes(int index)75 com.google.protobuf.ByteString getDrainNatIpsBytes(int index); 76 77 /** 78 * 79 * 80 * <pre> 81 * Enable Dynamic Port Allocation. If not specified, it is disabled by default. If set to true, - Dynamic Port Allocation will be enabled on this NAT config. - enableEndpointIndependentMapping cannot be set to true. - If minPorts is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. 82 * </pre> 83 * 84 * <code>optional bool enable_dynamic_port_allocation = 532106402;</code> 85 * 86 * @return Whether the enableDynamicPortAllocation field is set. 87 */ hasEnableDynamicPortAllocation()88 boolean hasEnableDynamicPortAllocation(); 89 /** 90 * 91 * 92 * <pre> 93 * Enable Dynamic Port Allocation. If not specified, it is disabled by default. If set to true, - Dynamic Port Allocation will be enabled on this NAT config. - enableEndpointIndependentMapping cannot be set to true. - If minPorts is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. 94 * </pre> 95 * 96 * <code>optional bool enable_dynamic_port_allocation = 532106402;</code> 97 * 98 * @return The enableDynamicPortAllocation. 99 */ getEnableDynamicPortAllocation()100 boolean getEnableDynamicPortAllocation(); 101 102 /** 103 * <code>optional bool enable_endpoint_independent_mapping = 259441819;</code> 104 * 105 * @return Whether the enableEndpointIndependentMapping field is set. 106 */ hasEnableEndpointIndependentMapping()107 boolean hasEnableEndpointIndependentMapping(); 108 /** 109 * <code>optional bool enable_endpoint_independent_mapping = 259441819;</code> 110 * 111 * @return The enableEndpointIndependentMapping. 112 */ getEnableEndpointIndependentMapping()113 boolean getEnableEndpointIndependentMapping(); 114 115 /** 116 * 117 * 118 * <pre> 119 * List of NAT-ted endpoint types supported by the Nat Gateway. If the list is empty, then it will be equivalent to include ENDPOINT_TYPE_VM 120 * Check the EndpointTypes enum for the list of possible values. 121 * </pre> 122 * 123 * <code>repeated string endpoint_types = 502633807;</code> 124 * 125 * @return A list containing the endpointTypes. 126 */ getEndpointTypesList()127 java.util.List<java.lang.String> getEndpointTypesList(); 128 /** 129 * 130 * 131 * <pre> 132 * List of NAT-ted endpoint types supported by the Nat Gateway. If the list is empty, then it will be equivalent to include ENDPOINT_TYPE_VM 133 * Check the EndpointTypes enum for the list of possible values. 134 * </pre> 135 * 136 * <code>repeated string endpoint_types = 502633807;</code> 137 * 138 * @return The count of endpointTypes. 139 */ getEndpointTypesCount()140 int getEndpointTypesCount(); 141 /** 142 * 143 * 144 * <pre> 145 * List of NAT-ted endpoint types supported by the Nat Gateway. If the list is empty, then it will be equivalent to include ENDPOINT_TYPE_VM 146 * Check the EndpointTypes enum for the list of possible values. 147 * </pre> 148 * 149 * <code>repeated string endpoint_types = 502633807;</code> 150 * 151 * @param index The index of the element to return. 152 * @return The endpointTypes at the given index. 153 */ getEndpointTypes(int index)154 java.lang.String getEndpointTypes(int index); 155 /** 156 * 157 * 158 * <pre> 159 * List of NAT-ted endpoint types supported by the Nat Gateway. If the list is empty, then it will be equivalent to include ENDPOINT_TYPE_VM 160 * Check the EndpointTypes enum for the list of possible values. 161 * </pre> 162 * 163 * <code>repeated string endpoint_types = 502633807;</code> 164 * 165 * @param index The index of the value to return. 166 * @return The bytes of the endpointTypes at the given index. 167 */ getEndpointTypesBytes(int index)168 com.google.protobuf.ByteString getEndpointTypesBytes(int index); 169 170 /** 171 * 172 * 173 * <pre> 174 * Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. 175 * </pre> 176 * 177 * <code>optional int32 icmp_idle_timeout_sec = 3647562;</code> 178 * 179 * @return Whether the icmpIdleTimeoutSec field is set. 180 */ hasIcmpIdleTimeoutSec()181 boolean hasIcmpIdleTimeoutSec(); 182 /** 183 * 184 * 185 * <pre> 186 * Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. 187 * </pre> 188 * 189 * <code>optional int32 icmp_idle_timeout_sec = 3647562;</code> 190 * 191 * @return The icmpIdleTimeoutSec. 192 */ getIcmpIdleTimeoutSec()193 int getIcmpIdleTimeoutSec(); 194 195 /** 196 * 197 * 198 * <pre> 199 * Configure logging on this NAT. 200 * </pre> 201 * 202 * <code>optional .google.cloud.compute.v1.RouterNatLogConfig log_config = 351299741;</code> 203 * 204 * @return Whether the logConfig field is set. 205 */ hasLogConfig()206 boolean hasLogConfig(); 207 /** 208 * 209 * 210 * <pre> 211 * Configure logging on this NAT. 212 * </pre> 213 * 214 * <code>optional .google.cloud.compute.v1.RouterNatLogConfig log_config = 351299741;</code> 215 * 216 * @return The logConfig. 217 */ getLogConfig()218 com.google.cloud.compute.v1.RouterNatLogConfig getLogConfig(); 219 /** 220 * 221 * 222 * <pre> 223 * Configure logging on this NAT. 224 * </pre> 225 * 226 * <code>optional .google.cloud.compute.v1.RouterNatLogConfig log_config = 351299741;</code> 227 */ getLogConfigOrBuilder()228 com.google.cloud.compute.v1.RouterNatLogConfigOrBuilder getLogConfigOrBuilder(); 229 230 /** 231 * 232 * 233 * <pre> 234 * Maximum number of ports allocated to a VM from this NAT config when Dynamic Port Allocation is enabled. If Dynamic Port Allocation is not enabled, this field has no effect. If Dynamic Port Allocation is enabled, and this field is set, it must be set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm is not set. If Dynamic Port Allocation is enabled and this field is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config. 235 * </pre> 236 * 237 * <code>optional int32 max_ports_per_vm = 250062049;</code> 238 * 239 * @return Whether the maxPortsPerVm field is set. 240 */ hasMaxPortsPerVm()241 boolean hasMaxPortsPerVm(); 242 /** 243 * 244 * 245 * <pre> 246 * Maximum number of ports allocated to a VM from this NAT config when Dynamic Port Allocation is enabled. If Dynamic Port Allocation is not enabled, this field has no effect. If Dynamic Port Allocation is enabled, and this field is set, it must be set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm is not set. If Dynamic Port Allocation is enabled and this field is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config. 247 * </pre> 248 * 249 * <code>optional int32 max_ports_per_vm = 250062049;</code> 250 * 251 * @return The maxPortsPerVm. 252 */ getMaxPortsPerVm()253 int getMaxPortsPerVm(); 254 255 /** 256 * 257 * 258 * <pre> 259 * Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of ports is allocated to a VM. This is rounded up to the nearest power of 2. For example, if the value of this field is 50, at least 64 ports are allocated to a VM. 260 * </pre> 261 * 262 * <code>optional int32 min_ports_per_vm = 186193587;</code> 263 * 264 * @return Whether the minPortsPerVm field is set. 265 */ hasMinPortsPerVm()266 boolean hasMinPortsPerVm(); 267 /** 268 * 269 * 270 * <pre> 271 * Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of ports is allocated to a VM. This is rounded up to the nearest power of 2. For example, if the value of this field is 50, at least 64 ports are allocated to a VM. 272 * </pre> 273 * 274 * <code>optional int32 min_ports_per_vm = 186193587;</code> 275 * 276 * @return The minPortsPerVm. 277 */ getMinPortsPerVm()278 int getMinPortsPerVm(); 279 280 /** 281 * 282 * 283 * <pre> 284 * Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. 285 * </pre> 286 * 287 * <code>optional string name = 3373707;</code> 288 * 289 * @return Whether the name field is set. 290 */ hasName()291 boolean hasName(); 292 /** 293 * 294 * 295 * <pre> 296 * Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. 297 * </pre> 298 * 299 * <code>optional string name = 3373707;</code> 300 * 301 * @return The name. 302 */ getName()303 java.lang.String getName(); 304 /** 305 * 306 * 307 * <pre> 308 * Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. 309 * </pre> 310 * 311 * <code>optional string name = 3373707;</code> 312 * 313 * @return The bytes for name. 314 */ getNameBytes()315 com.google.protobuf.ByteString getNameBytes(); 316 317 /** 318 * 319 * 320 * <pre> 321 * Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. 322 * Check the NatIpAllocateOption enum for the list of possible values. 323 * </pre> 324 * 325 * <code>optional string nat_ip_allocate_option = 429726845;</code> 326 * 327 * @return Whether the natIpAllocateOption field is set. 328 */ hasNatIpAllocateOption()329 boolean hasNatIpAllocateOption(); 330 /** 331 * 332 * 333 * <pre> 334 * Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. 335 * Check the NatIpAllocateOption enum for the list of possible values. 336 * </pre> 337 * 338 * <code>optional string nat_ip_allocate_option = 429726845;</code> 339 * 340 * @return The natIpAllocateOption. 341 */ getNatIpAllocateOption()342 java.lang.String getNatIpAllocateOption(); 343 /** 344 * 345 * 346 * <pre> 347 * Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. 348 * Check the NatIpAllocateOption enum for the list of possible values. 349 * </pre> 350 * 351 * <code>optional string nat_ip_allocate_option = 429726845;</code> 352 * 353 * @return The bytes for natIpAllocateOption. 354 */ getNatIpAllocateOptionBytes()355 com.google.protobuf.ByteString getNatIpAllocateOptionBytes(); 356 357 /** 358 * 359 * 360 * <pre> 361 * A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project. 362 * </pre> 363 * 364 * <code>repeated string nat_ips = 117635086;</code> 365 * 366 * @return A list containing the natIps. 367 */ getNatIpsList()368 java.util.List<java.lang.String> getNatIpsList(); 369 /** 370 * 371 * 372 * <pre> 373 * A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project. 374 * </pre> 375 * 376 * <code>repeated string nat_ips = 117635086;</code> 377 * 378 * @return The count of natIps. 379 */ getNatIpsCount()380 int getNatIpsCount(); 381 /** 382 * 383 * 384 * <pre> 385 * A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project. 386 * </pre> 387 * 388 * <code>repeated string nat_ips = 117635086;</code> 389 * 390 * @param index The index of the element to return. 391 * @return The natIps at the given index. 392 */ getNatIps(int index)393 java.lang.String getNatIps(int index); 394 /** 395 * 396 * 397 * <pre> 398 * A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project. 399 * </pre> 400 * 401 * <code>repeated string nat_ips = 117635086;</code> 402 * 403 * @param index The index of the value to return. 404 * @return The bytes of the natIps at the given index. 405 */ getNatIpsBytes(int index)406 com.google.protobuf.ByteString getNatIpsBytes(int index); 407 408 /** 409 * 410 * 411 * <pre> 412 * A list of rules associated with this NAT. 413 * </pre> 414 * 415 * <code>repeated .google.cloud.compute.v1.RouterNatRule rules = 108873975;</code> 416 */ getRulesList()417 java.util.List<com.google.cloud.compute.v1.RouterNatRule> getRulesList(); 418 /** 419 * 420 * 421 * <pre> 422 * A list of rules associated with this NAT. 423 * </pre> 424 * 425 * <code>repeated .google.cloud.compute.v1.RouterNatRule rules = 108873975;</code> 426 */ getRules(int index)427 com.google.cloud.compute.v1.RouterNatRule getRules(int index); 428 /** 429 * 430 * 431 * <pre> 432 * A list of rules associated with this NAT. 433 * </pre> 434 * 435 * <code>repeated .google.cloud.compute.v1.RouterNatRule rules = 108873975;</code> 436 */ getRulesCount()437 int getRulesCount(); 438 /** 439 * 440 * 441 * <pre> 442 * A list of rules associated with this NAT. 443 * </pre> 444 * 445 * <code>repeated .google.cloud.compute.v1.RouterNatRule rules = 108873975;</code> 446 */ 447 java.util.List<? extends com.google.cloud.compute.v1.RouterNatRuleOrBuilder> getRulesOrBuilderList()448 getRulesOrBuilderList(); 449 /** 450 * 451 * 452 * <pre> 453 * A list of rules associated with this NAT. 454 * </pre> 455 * 456 * <code>repeated .google.cloud.compute.v1.RouterNatRule rules = 108873975;</code> 457 */ getRulesOrBuilder(int index)458 com.google.cloud.compute.v1.RouterNatRuleOrBuilder getRulesOrBuilder(int index); 459 460 /** 461 * 462 * 463 * <pre> 464 * Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. 465 * Check the SourceSubnetworkIpRangesToNat enum for the list of possible values. 466 * </pre> 467 * 468 * <code>optional string source_subnetwork_ip_ranges_to_nat = 252213211;</code> 469 * 470 * @return Whether the sourceSubnetworkIpRangesToNat field is set. 471 */ hasSourceSubnetworkIpRangesToNat()472 boolean hasSourceSubnetworkIpRangesToNat(); 473 /** 474 * 475 * 476 * <pre> 477 * Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. 478 * Check the SourceSubnetworkIpRangesToNat enum for the list of possible values. 479 * </pre> 480 * 481 * <code>optional string source_subnetwork_ip_ranges_to_nat = 252213211;</code> 482 * 483 * @return The sourceSubnetworkIpRangesToNat. 484 */ getSourceSubnetworkIpRangesToNat()485 java.lang.String getSourceSubnetworkIpRangesToNat(); 486 /** 487 * 488 * 489 * <pre> 490 * Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. 491 * Check the SourceSubnetworkIpRangesToNat enum for the list of possible values. 492 * </pre> 493 * 494 * <code>optional string source_subnetwork_ip_ranges_to_nat = 252213211;</code> 495 * 496 * @return The bytes for sourceSubnetworkIpRangesToNat. 497 */ getSourceSubnetworkIpRangesToNatBytes()498 com.google.protobuf.ByteString getSourceSubnetworkIpRangesToNatBytes(); 499 500 /** 501 * 502 * 503 * <pre> 504 * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. 505 * </pre> 506 * 507 * <code>repeated .google.cloud.compute.v1.RouterNatSubnetworkToNat subnetworks = 415853125; 508 * </code> 509 */ getSubnetworksList()510 java.util.List<com.google.cloud.compute.v1.RouterNatSubnetworkToNat> getSubnetworksList(); 511 /** 512 * 513 * 514 * <pre> 515 * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. 516 * </pre> 517 * 518 * <code>repeated .google.cloud.compute.v1.RouterNatSubnetworkToNat subnetworks = 415853125; 519 * </code> 520 */ getSubnetworks(int index)521 com.google.cloud.compute.v1.RouterNatSubnetworkToNat getSubnetworks(int index); 522 /** 523 * 524 * 525 * <pre> 526 * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. 527 * </pre> 528 * 529 * <code>repeated .google.cloud.compute.v1.RouterNatSubnetworkToNat subnetworks = 415853125; 530 * </code> 531 */ getSubnetworksCount()532 int getSubnetworksCount(); 533 /** 534 * 535 * 536 * <pre> 537 * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. 538 * </pre> 539 * 540 * <code>repeated .google.cloud.compute.v1.RouterNatSubnetworkToNat subnetworks = 415853125; 541 * </code> 542 */ 543 java.util.List<? extends com.google.cloud.compute.v1.RouterNatSubnetworkToNatOrBuilder> getSubnetworksOrBuilderList()544 getSubnetworksOrBuilderList(); 545 /** 546 * 547 * 548 * <pre> 549 * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. 550 * </pre> 551 * 552 * <code>repeated .google.cloud.compute.v1.RouterNatSubnetworkToNat subnetworks = 415853125; 553 * </code> 554 */ getSubnetworksOrBuilder(int index)555 com.google.cloud.compute.v1.RouterNatSubnetworkToNatOrBuilder getSubnetworksOrBuilder(int index); 556 557 /** 558 * 559 * 560 * <pre> 561 * Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. 562 * </pre> 563 * 564 * <code>optional int32 tcp_established_idle_timeout_sec = 223098349;</code> 565 * 566 * @return Whether the tcpEstablishedIdleTimeoutSec field is set. 567 */ hasTcpEstablishedIdleTimeoutSec()568 boolean hasTcpEstablishedIdleTimeoutSec(); 569 /** 570 * 571 * 572 * <pre> 573 * Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. 574 * </pre> 575 * 576 * <code>optional int32 tcp_established_idle_timeout_sec = 223098349;</code> 577 * 578 * @return The tcpEstablishedIdleTimeoutSec. 579 */ getTcpEstablishedIdleTimeoutSec()580 int getTcpEstablishedIdleTimeoutSec(); 581 582 /** 583 * 584 * 585 * <pre> 586 * Timeout (in seconds) for TCP connections that are in TIME_WAIT state. Defaults to 120s if not set. 587 * </pre> 588 * 589 * <code>optional int32 tcp_time_wait_timeout_sec = 513596925;</code> 590 * 591 * @return Whether the tcpTimeWaitTimeoutSec field is set. 592 */ hasTcpTimeWaitTimeoutSec()593 boolean hasTcpTimeWaitTimeoutSec(); 594 /** 595 * 596 * 597 * <pre> 598 * Timeout (in seconds) for TCP connections that are in TIME_WAIT state. Defaults to 120s if not set. 599 * </pre> 600 * 601 * <code>optional int32 tcp_time_wait_timeout_sec = 513596925;</code> 602 * 603 * @return The tcpTimeWaitTimeoutSec. 604 */ getTcpTimeWaitTimeoutSec()605 int getTcpTimeWaitTimeoutSec(); 606 607 /** 608 * 609 * 610 * <pre> 611 * Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. 612 * </pre> 613 * 614 * <code>optional int32 tcp_transitory_idle_timeout_sec = 205028774;</code> 615 * 616 * @return Whether the tcpTransitoryIdleTimeoutSec field is set. 617 */ hasTcpTransitoryIdleTimeoutSec()618 boolean hasTcpTransitoryIdleTimeoutSec(); 619 /** 620 * 621 * 622 * <pre> 623 * Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. 624 * </pre> 625 * 626 * <code>optional int32 tcp_transitory_idle_timeout_sec = 205028774;</code> 627 * 628 * @return The tcpTransitoryIdleTimeoutSec. 629 */ getTcpTransitoryIdleTimeoutSec()630 int getTcpTransitoryIdleTimeoutSec(); 631 632 /** 633 * 634 * 635 * <pre> 636 * Timeout (in seconds) for UDP connections. Defaults to 30s if not set. 637 * </pre> 638 * 639 * <code>optional int32 udp_idle_timeout_sec = 64919878;</code> 640 * 641 * @return Whether the udpIdleTimeoutSec field is set. 642 */ hasUdpIdleTimeoutSec()643 boolean hasUdpIdleTimeoutSec(); 644 /** 645 * 646 * 647 * <pre> 648 * Timeout (in seconds) for UDP connections. Defaults to 30s if not set. 649 * </pre> 650 * 651 * <code>optional int32 udp_idle_timeout_sec = 64919878;</code> 652 * 653 * @return The udpIdleTimeoutSec. 654 */ getUdpIdleTimeoutSec()655 int getUdpIdleTimeoutSec(); 656 } 657