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 SubnetworkOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Subnetwork) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] Creation timestamp in RFC3339 text format. 31 * </pre> 32 * 33 * <code>optional string creation_timestamp = 30525366;</code> 34 * 35 * @return Whether the creationTimestamp field is set. 36 */ hasCreationTimestamp()37 boolean hasCreationTimestamp(); 38 /** 39 * 40 * 41 * <pre> 42 * [Output Only] Creation timestamp in RFC3339 text format. 43 * </pre> 44 * 45 * <code>optional string creation_timestamp = 30525366;</code> 46 * 47 * @return The creationTimestamp. 48 */ getCreationTimestamp()49 java.lang.String getCreationTimestamp(); 50 /** 51 * 52 * 53 * <pre> 54 * [Output Only] Creation timestamp in RFC3339 text format. 55 * </pre> 56 * 57 * <code>optional string creation_timestamp = 30525366;</code> 58 * 59 * @return The bytes for creationTimestamp. 60 */ getCreationTimestampBytes()61 com.google.protobuf.ByteString getCreationTimestampBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time. 68 * </pre> 69 * 70 * <code>optional string description = 422937596;</code> 71 * 72 * @return Whether the description field is set. 73 */ hasDescription()74 boolean hasDescription(); 75 /** 76 * 77 * 78 * <pre> 79 * An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time. 80 * </pre> 81 * 82 * <code>optional string description = 422937596;</code> 83 * 84 * @return The description. 85 */ getDescription()86 java.lang.String getDescription(); 87 /** 88 * 89 * 90 * <pre> 91 * An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time. 92 * </pre> 93 * 94 * <code>optional string description = 422937596;</code> 95 * 96 * @return The bytes for description. 97 */ getDescriptionBytes()98 com.google.protobuf.ByteString getDescriptionBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. 105 * </pre> 106 * 107 * <code>optional bool enable_flow_logs = 151544420;</code> 108 * 109 * @return Whether the enableFlowLogs field is set. 110 */ hasEnableFlowLogs()111 boolean hasEnableFlowLogs(); 112 /** 113 * 114 * 115 * <pre> 116 * Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. 117 * </pre> 118 * 119 * <code>optional bool enable_flow_logs = 151544420;</code> 120 * 121 * @return The enableFlowLogs. 122 */ getEnableFlowLogs()123 boolean getEnableFlowLogs(); 124 125 /** 126 * 127 * 128 * <pre> 129 * The external IPv6 address range that is owned by this subnetwork. 130 * </pre> 131 * 132 * <code>optional string external_ipv6_prefix = 139299190;</code> 133 * 134 * @return Whether the externalIpv6Prefix field is set. 135 */ hasExternalIpv6Prefix()136 boolean hasExternalIpv6Prefix(); 137 /** 138 * 139 * 140 * <pre> 141 * The external IPv6 address range that is owned by this subnetwork. 142 * </pre> 143 * 144 * <code>optional string external_ipv6_prefix = 139299190;</code> 145 * 146 * @return The externalIpv6Prefix. 147 */ getExternalIpv6Prefix()148 java.lang.String getExternalIpv6Prefix(); 149 /** 150 * 151 * 152 * <pre> 153 * The external IPv6 address range that is owned by this subnetwork. 154 * </pre> 155 * 156 * <code>optional string external_ipv6_prefix = 139299190;</code> 157 * 158 * @return The bytes for externalIpv6Prefix. 159 */ getExternalIpv6PrefixBytes()160 com.google.protobuf.ByteString getExternalIpv6PrefixBytes(); 161 162 /** 163 * 164 * 165 * <pre> 166 * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork. 167 * </pre> 168 * 169 * <code>optional string fingerprint = 234678500;</code> 170 * 171 * @return Whether the fingerprint field is set. 172 */ hasFingerprint()173 boolean hasFingerprint(); 174 /** 175 * 176 * 177 * <pre> 178 * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork. 179 * </pre> 180 * 181 * <code>optional string fingerprint = 234678500;</code> 182 * 183 * @return The fingerprint. 184 */ getFingerprint()185 java.lang.String getFingerprint(); 186 /** 187 * 188 * 189 * <pre> 190 * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork. 191 * </pre> 192 * 193 * <code>optional string fingerprint = 234678500;</code> 194 * 195 * @return The bytes for fingerprint. 196 */ getFingerprintBytes()197 com.google.protobuf.ByteString getFingerprintBytes(); 198 199 /** 200 * 201 * 202 * <pre> 203 * [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork. 204 * </pre> 205 * 206 * <code>optional string gateway_address = 459867385;</code> 207 * 208 * @return Whether the gatewayAddress field is set. 209 */ hasGatewayAddress()210 boolean hasGatewayAddress(); 211 /** 212 * 213 * 214 * <pre> 215 * [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork. 216 * </pre> 217 * 218 * <code>optional string gateway_address = 459867385;</code> 219 * 220 * @return The gatewayAddress. 221 */ getGatewayAddress()222 java.lang.String getGatewayAddress(); 223 /** 224 * 225 * 226 * <pre> 227 * [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork. 228 * </pre> 229 * 230 * <code>optional string gateway_address = 459867385;</code> 231 * 232 * @return The bytes for gatewayAddress. 233 */ getGatewayAddressBytes()234 com.google.protobuf.ByteString getGatewayAddressBytes(); 235 236 /** 237 * 238 * 239 * <pre> 240 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 241 * </pre> 242 * 243 * <code>optional uint64 id = 3355;</code> 244 * 245 * @return Whether the id field is set. 246 */ hasId()247 boolean hasId(); 248 /** 249 * 250 * 251 * <pre> 252 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 253 * </pre> 254 * 255 * <code>optional uint64 id = 3355;</code> 256 * 257 * @return The id. 258 */ getId()259 long getId(); 260 261 /** 262 * 263 * 264 * <pre> 265 * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. 266 * </pre> 267 * 268 * <code>optional string internal_ipv6_prefix = 506270056;</code> 269 * 270 * @return Whether the internalIpv6Prefix field is set. 271 */ hasInternalIpv6Prefix()272 boolean hasInternalIpv6Prefix(); 273 /** 274 * 275 * 276 * <pre> 277 * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. 278 * </pre> 279 * 280 * <code>optional string internal_ipv6_prefix = 506270056;</code> 281 * 282 * @return The internalIpv6Prefix. 283 */ getInternalIpv6Prefix()284 java.lang.String getInternalIpv6Prefix(); 285 /** 286 * 287 * 288 * <pre> 289 * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. 290 * </pre> 291 * 292 * <code>optional string internal_ipv6_prefix = 506270056;</code> 293 * 294 * @return The bytes for internalIpv6Prefix. 295 */ getInternalIpv6PrefixBytes()296 com.google.protobuf.ByteString getInternalIpv6PrefixBytes(); 297 298 /** 299 * 300 * 301 * <pre> 302 * The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. 303 * </pre> 304 * 305 * <code>optional string ip_cidr_range = 98117322;</code> 306 * 307 * @return Whether the ipCidrRange field is set. 308 */ hasIpCidrRange()309 boolean hasIpCidrRange(); 310 /** 311 * 312 * 313 * <pre> 314 * The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. 315 * </pre> 316 * 317 * <code>optional string ip_cidr_range = 98117322;</code> 318 * 319 * @return The ipCidrRange. 320 */ getIpCidrRange()321 java.lang.String getIpCidrRange(); 322 /** 323 * 324 * 325 * <pre> 326 * The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. 327 * </pre> 328 * 329 * <code>optional string ip_cidr_range = 98117322;</code> 330 * 331 * @return The bytes for ipCidrRange. 332 */ getIpCidrRangeBytes()333 com.google.protobuf.ByteString getIpCidrRangeBytes(); 334 335 /** 336 * 337 * 338 * <pre> 339 * The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. 340 * Check the Ipv6AccessType enum for the list of possible values. 341 * </pre> 342 * 343 * <code>optional string ipv6_access_type = 504658653;</code> 344 * 345 * @return Whether the ipv6AccessType field is set. 346 */ hasIpv6AccessType()347 boolean hasIpv6AccessType(); 348 /** 349 * 350 * 351 * <pre> 352 * The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. 353 * Check the Ipv6AccessType enum for the list of possible values. 354 * </pre> 355 * 356 * <code>optional string ipv6_access_type = 504658653;</code> 357 * 358 * @return The ipv6AccessType. 359 */ getIpv6AccessType()360 java.lang.String getIpv6AccessType(); 361 /** 362 * 363 * 364 * <pre> 365 * The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. 366 * Check the Ipv6AccessType enum for the list of possible values. 367 * </pre> 368 * 369 * <code>optional string ipv6_access_type = 504658653;</code> 370 * 371 * @return The bytes for ipv6AccessType. 372 */ getIpv6AccessTypeBytes()373 com.google.protobuf.ByteString getIpv6AccessTypeBytes(); 374 375 /** 376 * 377 * 378 * <pre> 379 * [Output Only] This field is for internal use. 380 * </pre> 381 * 382 * <code>optional string ipv6_cidr_range = 273141258;</code> 383 * 384 * @return Whether the ipv6CidrRange field is set. 385 */ hasIpv6CidrRange()386 boolean hasIpv6CidrRange(); 387 /** 388 * 389 * 390 * <pre> 391 * [Output Only] This field is for internal use. 392 * </pre> 393 * 394 * <code>optional string ipv6_cidr_range = 273141258;</code> 395 * 396 * @return The ipv6CidrRange. 397 */ getIpv6CidrRange()398 java.lang.String getIpv6CidrRange(); 399 /** 400 * 401 * 402 * <pre> 403 * [Output Only] This field is for internal use. 404 * </pre> 405 * 406 * <code>optional string ipv6_cidr_range = 273141258;</code> 407 * 408 * @return The bytes for ipv6CidrRange. 409 */ getIpv6CidrRangeBytes()410 com.google.protobuf.ByteString getIpv6CidrRangeBytes(); 411 412 /** 413 * 414 * 415 * <pre> 416 * [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. 417 * </pre> 418 * 419 * <code>optional string kind = 3292052;</code> 420 * 421 * @return Whether the kind field is set. 422 */ hasKind()423 boolean hasKind(); 424 /** 425 * 426 * 427 * <pre> 428 * [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. 429 * </pre> 430 * 431 * <code>optional string kind = 3292052;</code> 432 * 433 * @return The kind. 434 */ getKind()435 java.lang.String getKind(); 436 /** 437 * 438 * 439 * <pre> 440 * [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. 441 * </pre> 442 * 443 * <code>optional string kind = 3292052;</code> 444 * 445 * @return The bytes for kind. 446 */ getKindBytes()447 com.google.protobuf.ByteString getKindBytes(); 448 449 /** 450 * 451 * 452 * <pre> 453 * This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging. 454 * </pre> 455 * 456 * <code>optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;</code> 457 * 458 * @return Whether the logConfig field is set. 459 */ hasLogConfig()460 boolean hasLogConfig(); 461 /** 462 * 463 * 464 * <pre> 465 * This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging. 466 * </pre> 467 * 468 * <code>optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;</code> 469 * 470 * @return The logConfig. 471 */ getLogConfig()472 com.google.cloud.compute.v1.SubnetworkLogConfig getLogConfig(); 473 /** 474 * 475 * 476 * <pre> 477 * This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging. 478 * </pre> 479 * 480 * <code>optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;</code> 481 */ getLogConfigOrBuilder()482 com.google.cloud.compute.v1.SubnetworkLogConfigOrBuilder getLogConfigOrBuilder(); 483 484 /** 485 * 486 * 487 * <pre> 488 * The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 489 * </pre> 490 * 491 * <code>optional string name = 3373707;</code> 492 * 493 * @return Whether the name field is set. 494 */ hasName()495 boolean hasName(); 496 /** 497 * 498 * 499 * <pre> 500 * The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 501 * </pre> 502 * 503 * <code>optional string name = 3373707;</code> 504 * 505 * @return The name. 506 */ getName()507 java.lang.String getName(); 508 /** 509 * 510 * 511 * <pre> 512 * The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 513 * </pre> 514 * 515 * <code>optional string name = 3373707;</code> 516 * 517 * @return The bytes for name. 518 */ getNameBytes()519 com.google.protobuf.ByteString getNameBytes(); 520 521 /** 522 * 523 * 524 * <pre> 525 * The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time. 526 * </pre> 527 * 528 * <code>optional string network = 232872494;</code> 529 * 530 * @return Whether the network field is set. 531 */ hasNetwork()532 boolean hasNetwork(); 533 /** 534 * 535 * 536 * <pre> 537 * The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time. 538 * </pre> 539 * 540 * <code>optional string network = 232872494;</code> 541 * 542 * @return The network. 543 */ getNetwork()544 java.lang.String getNetwork(); 545 /** 546 * 547 * 548 * <pre> 549 * The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time. 550 * </pre> 551 * 552 * <code>optional string network = 232872494;</code> 553 * 554 * @return The bytes for network. 555 */ getNetworkBytes()556 com.google.protobuf.ByteString getNetworkBytes(); 557 558 /** 559 * 560 * 561 * <pre> 562 * Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess. 563 * </pre> 564 * 565 * <code>optional bool private_ip_google_access = 421491790;</code> 566 * 567 * @return Whether the privateIpGoogleAccess field is set. 568 */ hasPrivateIpGoogleAccess()569 boolean hasPrivateIpGoogleAccess(); 570 /** 571 * 572 * 573 * <pre> 574 * Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess. 575 * </pre> 576 * 577 * <code>optional bool private_ip_google_access = 421491790;</code> 578 * 579 * @return The privateIpGoogleAccess. 580 */ getPrivateIpGoogleAccess()581 boolean getPrivateIpGoogleAccess(); 582 583 /** 584 * 585 * 586 * <pre> 587 * This field is for internal use. This field can be both set at resource creation time and updated using patch. 588 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 589 * </pre> 590 * 591 * <code>optional string private_ipv6_google_access = 48277006;</code> 592 * 593 * @return Whether the privateIpv6GoogleAccess field is set. 594 */ hasPrivateIpv6GoogleAccess()595 boolean hasPrivateIpv6GoogleAccess(); 596 /** 597 * 598 * 599 * <pre> 600 * This field is for internal use. This field can be both set at resource creation time and updated using patch. 601 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 602 * </pre> 603 * 604 * <code>optional string private_ipv6_google_access = 48277006;</code> 605 * 606 * @return The privateIpv6GoogleAccess. 607 */ getPrivateIpv6GoogleAccess()608 java.lang.String getPrivateIpv6GoogleAccess(); 609 /** 610 * 611 * 612 * <pre> 613 * This field is for internal use. This field can be both set at resource creation time and updated using patch. 614 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 615 * </pre> 616 * 617 * <code>optional string private_ipv6_google_access = 48277006;</code> 618 * 619 * @return The bytes for privateIpv6GoogleAccess. 620 */ getPrivateIpv6GoogleAccessBytes()621 com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes(); 622 623 /** 624 * 625 * 626 * <pre> 627 * The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. 628 * Check the Purpose enum for the list of possible values. 629 * </pre> 630 * 631 * <code>optional string purpose = 316407070;</code> 632 * 633 * @return Whether the purpose field is set. 634 */ hasPurpose()635 boolean hasPurpose(); 636 /** 637 * 638 * 639 * <pre> 640 * The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. 641 * Check the Purpose enum for the list of possible values. 642 * </pre> 643 * 644 * <code>optional string purpose = 316407070;</code> 645 * 646 * @return The purpose. 647 */ getPurpose()648 java.lang.String getPurpose(); 649 /** 650 * 651 * 652 * <pre> 653 * The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. 654 * Check the Purpose enum for the list of possible values. 655 * </pre> 656 * 657 * <code>optional string purpose = 316407070;</code> 658 * 659 * @return The bytes for purpose. 660 */ getPurposeBytes()661 com.google.protobuf.ByteString getPurposeBytes(); 662 663 /** 664 * 665 * 666 * <pre> 667 * URL of the region where the Subnetwork resides. This field can be set only at resource creation time. 668 * </pre> 669 * 670 * <code>optional string region = 138946292;</code> 671 * 672 * @return Whether the region field is set. 673 */ hasRegion()674 boolean hasRegion(); 675 /** 676 * 677 * 678 * <pre> 679 * URL of the region where the Subnetwork resides. This field can be set only at resource creation time. 680 * </pre> 681 * 682 * <code>optional string region = 138946292;</code> 683 * 684 * @return The region. 685 */ getRegion()686 java.lang.String getRegion(); 687 /** 688 * 689 * 690 * <pre> 691 * URL of the region where the Subnetwork resides. This field can be set only at resource creation time. 692 * </pre> 693 * 694 * <code>optional string region = 138946292;</code> 695 * 696 * @return The bytes for region. 697 */ getRegionBytes()698 com.google.protobuf.ByteString getRegionBytes(); 699 700 /** 701 * 702 * 703 * <pre> 704 * The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. 705 * Check the Role enum for the list of possible values. 706 * </pre> 707 * 708 * <code>optional string role = 3506294;</code> 709 * 710 * @return Whether the role field is set. 711 */ hasRole()712 boolean hasRole(); 713 /** 714 * 715 * 716 * <pre> 717 * The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. 718 * Check the Role enum for the list of possible values. 719 * </pre> 720 * 721 * <code>optional string role = 3506294;</code> 722 * 723 * @return The role. 724 */ getRole()725 java.lang.String getRole(); 726 /** 727 * 728 * 729 * <pre> 730 * The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. 731 * Check the Role enum for the list of possible values. 732 * </pre> 733 * 734 * <code>optional string role = 3506294;</code> 735 * 736 * @return The bytes for role. 737 */ getRoleBytes()738 com.google.protobuf.ByteString getRoleBytes(); 739 740 /** 741 * 742 * 743 * <pre> 744 * An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. 745 * </pre> 746 * 747 * <code> 748 * repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; 749 * </code> 750 */ getSecondaryIpRangesList()751 java.util.List<com.google.cloud.compute.v1.SubnetworkSecondaryRange> getSecondaryIpRangesList(); 752 /** 753 * 754 * 755 * <pre> 756 * An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. 757 * </pre> 758 * 759 * <code> 760 * repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; 761 * </code> 762 */ getSecondaryIpRanges(int index)763 com.google.cloud.compute.v1.SubnetworkSecondaryRange getSecondaryIpRanges(int index); 764 /** 765 * 766 * 767 * <pre> 768 * An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. 769 * </pre> 770 * 771 * <code> 772 * repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; 773 * </code> 774 */ getSecondaryIpRangesCount()775 int getSecondaryIpRangesCount(); 776 /** 777 * 778 * 779 * <pre> 780 * An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. 781 * </pre> 782 * 783 * <code> 784 * repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; 785 * </code> 786 */ 787 java.util.List<? extends com.google.cloud.compute.v1.SubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()788 getSecondaryIpRangesOrBuilderList(); 789 /** 790 * 791 * 792 * <pre> 793 * An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. 794 * </pre> 795 * 796 * <code> 797 * repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; 798 * </code> 799 */ getSecondaryIpRangesOrBuilder( int index)800 com.google.cloud.compute.v1.SubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( 801 int index); 802 803 /** 804 * 805 * 806 * <pre> 807 * [Output Only] Server-defined URL for the resource. 808 * </pre> 809 * 810 * <code>optional string self_link = 456214797;</code> 811 * 812 * @return Whether the selfLink field is set. 813 */ hasSelfLink()814 boolean hasSelfLink(); 815 /** 816 * 817 * 818 * <pre> 819 * [Output Only] Server-defined URL for the resource. 820 * </pre> 821 * 822 * <code>optional string self_link = 456214797;</code> 823 * 824 * @return The selfLink. 825 */ getSelfLink()826 java.lang.String getSelfLink(); 827 /** 828 * 829 * 830 * <pre> 831 * [Output Only] Server-defined URL for the resource. 832 * </pre> 833 * 834 * <code>optional string self_link = 456214797;</code> 835 * 836 * @return The bytes for selfLink. 837 */ getSelfLinkBytes()838 com.google.protobuf.ByteString getSelfLinkBytes(); 839 840 /** 841 * 842 * 843 * <pre> 844 * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. 845 * Check the StackType enum for the list of possible values. 846 * </pre> 847 * 848 * <code>optional string stack_type = 425908881;</code> 849 * 850 * @return Whether the stackType field is set. 851 */ hasStackType()852 boolean hasStackType(); 853 /** 854 * 855 * 856 * <pre> 857 * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. 858 * Check the StackType enum for the list of possible values. 859 * </pre> 860 * 861 * <code>optional string stack_type = 425908881;</code> 862 * 863 * @return The stackType. 864 */ getStackType()865 java.lang.String getStackType(); 866 /** 867 * 868 * 869 * <pre> 870 * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. 871 * Check the StackType enum for the list of possible values. 872 * </pre> 873 * 874 * <code>optional string stack_type = 425908881;</code> 875 * 876 * @return The bytes for stackType. 877 */ getStackTypeBytes()878 com.google.protobuf.ByteString getStackTypeBytes(); 879 880 /** 881 * 882 * 883 * <pre> 884 * [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY 885 * Check the State enum for the list of possible values. 886 * </pre> 887 * 888 * <code>optional string state = 109757585;</code> 889 * 890 * @return Whether the state field is set. 891 */ hasState()892 boolean hasState(); 893 /** 894 * 895 * 896 * <pre> 897 * [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY 898 * Check the State enum for the list of possible values. 899 * </pre> 900 * 901 * <code>optional string state = 109757585;</code> 902 * 903 * @return The state. 904 */ getState()905 java.lang.String getState(); 906 /** 907 * 908 * 909 * <pre> 910 * [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY 911 * Check the State enum for the list of possible values. 912 * </pre> 913 * 914 * <code>optional string state = 109757585;</code> 915 * 916 * @return The bytes for state. 917 */ getStateBytes()918 com.google.protobuf.ByteString getStateBytes(); 919 } 920