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 BackendServiceOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendService) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. 31 * </pre> 32 * 33 * <code>optional int32 affinity_cookie_ttl_sec = 369996954;</code> 34 * 35 * @return Whether the affinityCookieTtlSec field is set. 36 */ hasAffinityCookieTtlSec()37 boolean hasAffinityCookieTtlSec(); 38 /** 39 * 40 * 41 * <pre> 42 * Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. 43 * </pre> 44 * 45 * <code>optional int32 affinity_cookie_ttl_sec = 369996954;</code> 46 * 47 * @return The affinityCookieTtlSec. 48 */ getAffinityCookieTtlSec()49 int getAffinityCookieTtlSec(); 50 51 /** 52 * 53 * 54 * <pre> 55 * The list of backends that serve this BackendService. 56 * </pre> 57 * 58 * <code>repeated .google.cloud.compute.v1.Backend backends = 510839903;</code> 59 */ getBackendsList()60 java.util.List<com.google.cloud.compute.v1.Backend> getBackendsList(); 61 /** 62 * 63 * 64 * <pre> 65 * The list of backends that serve this BackendService. 66 * </pre> 67 * 68 * <code>repeated .google.cloud.compute.v1.Backend backends = 510839903;</code> 69 */ getBackends(int index)70 com.google.cloud.compute.v1.Backend getBackends(int index); 71 /** 72 * 73 * 74 * <pre> 75 * The list of backends that serve this BackendService. 76 * </pre> 77 * 78 * <code>repeated .google.cloud.compute.v1.Backend backends = 510839903;</code> 79 */ getBackendsCount()80 int getBackendsCount(); 81 /** 82 * 83 * 84 * <pre> 85 * The list of backends that serve this BackendService. 86 * </pre> 87 * 88 * <code>repeated .google.cloud.compute.v1.Backend backends = 510839903;</code> 89 */ getBackendsOrBuilderList()90 java.util.List<? extends com.google.cloud.compute.v1.BackendOrBuilder> getBackendsOrBuilderList(); 91 /** 92 * 93 * 94 * <pre> 95 * The list of backends that serve this BackendService. 96 * </pre> 97 * 98 * <code>repeated .google.cloud.compute.v1.Backend backends = 510839903;</code> 99 */ getBackendsOrBuilder(int index)100 com.google.cloud.compute.v1.BackendOrBuilder getBackendsOrBuilder(int index); 101 102 /** 103 * 104 * 105 * <pre> 106 * Cloud CDN configuration for this BackendService. Only available for specified load balancer types. 107 * </pre> 108 * 109 * <code>optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;</code> 110 * 111 * @return Whether the cdnPolicy field is set. 112 */ hasCdnPolicy()113 boolean hasCdnPolicy(); 114 /** 115 * 116 * 117 * <pre> 118 * Cloud CDN configuration for this BackendService. Only available for specified load balancer types. 119 * </pre> 120 * 121 * <code>optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;</code> 122 * 123 * @return The cdnPolicy. 124 */ getCdnPolicy()125 com.google.cloud.compute.v1.BackendServiceCdnPolicy getCdnPolicy(); 126 /** 127 * 128 * 129 * <pre> 130 * Cloud CDN configuration for this BackendService. Only available for specified load balancer types. 131 * </pre> 132 * 133 * <code>optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;</code> 134 */ getCdnPolicyOrBuilder()135 com.google.cloud.compute.v1.BackendServiceCdnPolicyOrBuilder getCdnPolicyOrBuilder(); 136 137 /** 138 * <code>optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;</code> 139 * 140 * @return Whether the circuitBreakers field is set. 141 */ hasCircuitBreakers()142 boolean hasCircuitBreakers(); 143 /** 144 * <code>optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;</code> 145 * 146 * @return The circuitBreakers. 147 */ getCircuitBreakers()148 com.google.cloud.compute.v1.CircuitBreakers getCircuitBreakers(); 149 /** 150 * <code>optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;</code> 151 */ getCircuitBreakersOrBuilder()152 com.google.cloud.compute.v1.CircuitBreakersOrBuilder getCircuitBreakersOrBuilder(); 153 154 /** 155 * 156 * 157 * <pre> 158 * Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. 159 * Check the CompressionMode enum for the list of possible values. 160 * </pre> 161 * 162 * <code>optional string compression_mode = 95520988;</code> 163 * 164 * @return Whether the compressionMode field is set. 165 */ hasCompressionMode()166 boolean hasCompressionMode(); 167 /** 168 * 169 * 170 * <pre> 171 * Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. 172 * Check the CompressionMode enum for the list of possible values. 173 * </pre> 174 * 175 * <code>optional string compression_mode = 95520988;</code> 176 * 177 * @return The compressionMode. 178 */ getCompressionMode()179 java.lang.String getCompressionMode(); 180 /** 181 * 182 * 183 * <pre> 184 * Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. 185 * Check the CompressionMode enum for the list of possible values. 186 * </pre> 187 * 188 * <code>optional string compression_mode = 95520988;</code> 189 * 190 * @return The bytes for compressionMode. 191 */ getCompressionModeBytes()192 com.google.protobuf.ByteString getCompressionModeBytes(); 193 194 /** 195 * <code>optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747; 196 * </code> 197 * 198 * @return Whether the connectionDraining field is set. 199 */ hasConnectionDraining()200 boolean hasConnectionDraining(); 201 /** 202 * <code>optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747; 203 * </code> 204 * 205 * @return The connectionDraining. 206 */ getConnectionDraining()207 com.google.cloud.compute.v1.ConnectionDraining getConnectionDraining(); 208 /** 209 * <code>optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747; 210 * </code> 211 */ getConnectionDrainingOrBuilder()212 com.google.cloud.compute.v1.ConnectionDrainingOrBuilder getConnectionDrainingOrBuilder(); 213 214 /** 215 * 216 * 217 * <pre> 218 * Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for Network Load Balancing and Internal TCP/UDP Load Balancing. 219 * </pre> 220 * 221 * <code> 222 * optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969; 223 * </code> 224 * 225 * @return Whether the connectionTrackingPolicy field is set. 226 */ hasConnectionTrackingPolicy()227 boolean hasConnectionTrackingPolicy(); 228 /** 229 * 230 * 231 * <pre> 232 * Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for Network Load Balancing and Internal TCP/UDP Load Balancing. 233 * </pre> 234 * 235 * <code> 236 * optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969; 237 * </code> 238 * 239 * @return The connectionTrackingPolicy. 240 */ getConnectionTrackingPolicy()241 com.google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy getConnectionTrackingPolicy(); 242 /** 243 * 244 * 245 * <pre> 246 * Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for Network Load Balancing and Internal TCP/UDP Load Balancing. 247 * </pre> 248 * 249 * <code> 250 * optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969; 251 * </code> 252 */ 253 com.google.cloud.compute.v1.BackendServiceConnectionTrackingPolicyOrBuilder getConnectionTrackingPolicyOrBuilder()254 getConnectionTrackingPolicyOrBuilder(); 255 256 /** 257 * 258 * 259 * <pre> 260 * Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 261 * </pre> 262 * 263 * <code> 264 * optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883; 265 * </code> 266 * 267 * @return Whether the consistentHash field is set. 268 */ hasConsistentHash()269 boolean hasConsistentHash(); 270 /** 271 * 272 * 273 * <pre> 274 * Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 275 * </pre> 276 * 277 * <code> 278 * optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883; 279 * </code> 280 * 281 * @return The consistentHash. 282 */ getConsistentHash()283 com.google.cloud.compute.v1.ConsistentHashLoadBalancerSettings getConsistentHash(); 284 /** 285 * 286 * 287 * <pre> 288 * Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 289 * </pre> 290 * 291 * <code> 292 * optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883; 293 * </code> 294 */ 295 com.google.cloud.compute.v1.ConsistentHashLoadBalancerSettingsOrBuilder getConsistentHashOrBuilder()296 getConsistentHashOrBuilder(); 297 298 /** 299 * 300 * 301 * <pre> 302 * [Output Only] Creation timestamp in RFC3339 text format. 303 * </pre> 304 * 305 * <code>optional string creation_timestamp = 30525366;</code> 306 * 307 * @return Whether the creationTimestamp field is set. 308 */ hasCreationTimestamp()309 boolean hasCreationTimestamp(); 310 /** 311 * 312 * 313 * <pre> 314 * [Output Only] Creation timestamp in RFC3339 text format. 315 * </pre> 316 * 317 * <code>optional string creation_timestamp = 30525366;</code> 318 * 319 * @return The creationTimestamp. 320 */ getCreationTimestamp()321 java.lang.String getCreationTimestamp(); 322 /** 323 * 324 * 325 * <pre> 326 * [Output Only] Creation timestamp in RFC3339 text format. 327 * </pre> 328 * 329 * <code>optional string creation_timestamp = 30525366;</code> 330 * 331 * @return The bytes for creationTimestamp. 332 */ getCreationTimestampBytes()333 com.google.protobuf.ByteString getCreationTimestampBytes(); 334 335 /** 336 * 337 * 338 * <pre> 339 * Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers). 340 * </pre> 341 * 342 * <code>repeated string custom_request_headers = 27977992;</code> 343 * 344 * @return A list containing the customRequestHeaders. 345 */ getCustomRequestHeadersList()346 java.util.List<java.lang.String> getCustomRequestHeadersList(); 347 /** 348 * 349 * 350 * <pre> 351 * Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers). 352 * </pre> 353 * 354 * <code>repeated string custom_request_headers = 27977992;</code> 355 * 356 * @return The count of customRequestHeaders. 357 */ getCustomRequestHeadersCount()358 int getCustomRequestHeadersCount(); 359 /** 360 * 361 * 362 * <pre> 363 * Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers). 364 * </pre> 365 * 366 * <code>repeated string custom_request_headers = 27977992;</code> 367 * 368 * @param index The index of the element to return. 369 * @return The customRequestHeaders at the given index. 370 */ getCustomRequestHeaders(int index)371 java.lang.String getCustomRequestHeaders(int index); 372 /** 373 * 374 * 375 * <pre> 376 * Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers). 377 * </pre> 378 * 379 * <code>repeated string custom_request_headers = 27977992;</code> 380 * 381 * @param index The index of the value to return. 382 * @return The bytes of the customRequestHeaders at the given index. 383 */ getCustomRequestHeadersBytes(int index)384 com.google.protobuf.ByteString getCustomRequestHeadersBytes(int index); 385 386 /** 387 * 388 * 389 * <pre> 390 * Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers). 391 * </pre> 392 * 393 * <code>repeated string custom_response_headers = 387539094;</code> 394 * 395 * @return A list containing the customResponseHeaders. 396 */ getCustomResponseHeadersList()397 java.util.List<java.lang.String> getCustomResponseHeadersList(); 398 /** 399 * 400 * 401 * <pre> 402 * Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers). 403 * </pre> 404 * 405 * <code>repeated string custom_response_headers = 387539094;</code> 406 * 407 * @return The count of customResponseHeaders. 408 */ getCustomResponseHeadersCount()409 int getCustomResponseHeadersCount(); 410 /** 411 * 412 * 413 * <pre> 414 * Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers). 415 * </pre> 416 * 417 * <code>repeated string custom_response_headers = 387539094;</code> 418 * 419 * @param index The index of the element to return. 420 * @return The customResponseHeaders at the given index. 421 */ getCustomResponseHeaders(int index)422 java.lang.String getCustomResponseHeaders(int index); 423 /** 424 * 425 * 426 * <pre> 427 * Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers). 428 * </pre> 429 * 430 * <code>repeated string custom_response_headers = 387539094;</code> 431 * 432 * @param index The index of the value to return. 433 * @return The bytes of the customResponseHeaders at the given index. 434 */ getCustomResponseHeadersBytes(int index)435 com.google.protobuf.ByteString getCustomResponseHeadersBytes(int index); 436 437 /** 438 * 439 * 440 * <pre> 441 * An optional description of this resource. Provide this property when you create the resource. 442 * </pre> 443 * 444 * <code>optional string description = 422937596;</code> 445 * 446 * @return Whether the description field is set. 447 */ hasDescription()448 boolean hasDescription(); 449 /** 450 * 451 * 452 * <pre> 453 * An optional description of this resource. Provide this property when you create the resource. 454 * </pre> 455 * 456 * <code>optional string description = 422937596;</code> 457 * 458 * @return The description. 459 */ getDescription()460 java.lang.String getDescription(); 461 /** 462 * 463 * 464 * <pre> 465 * An optional description of this resource. Provide this property when you create the resource. 466 * </pre> 467 * 468 * <code>optional string description = 422937596;</code> 469 * 470 * @return The bytes for description. 471 */ getDescriptionBytes()472 com.google.protobuf.ByteString getDescriptionBytes(); 473 474 /** 475 * 476 * 477 * <pre> 478 * [Output Only] The resource URL for the edge security policy associated with this backend service. 479 * </pre> 480 * 481 * <code>optional string edge_security_policy = 41036943;</code> 482 * 483 * @return Whether the edgeSecurityPolicy field is set. 484 */ hasEdgeSecurityPolicy()485 boolean hasEdgeSecurityPolicy(); 486 /** 487 * 488 * 489 * <pre> 490 * [Output Only] The resource URL for the edge security policy associated with this backend service. 491 * </pre> 492 * 493 * <code>optional string edge_security_policy = 41036943;</code> 494 * 495 * @return The edgeSecurityPolicy. 496 */ getEdgeSecurityPolicy()497 java.lang.String getEdgeSecurityPolicy(); 498 /** 499 * 500 * 501 * <pre> 502 * [Output Only] The resource URL for the edge security policy associated with this backend service. 503 * </pre> 504 * 505 * <code>optional string edge_security_policy = 41036943;</code> 506 * 507 * @return The bytes for edgeSecurityPolicy. 508 */ getEdgeSecurityPolicyBytes()509 com.google.protobuf.ByteString getEdgeSecurityPolicyBytes(); 510 511 /** 512 * 513 * 514 * <pre> 515 * If true, enables Cloud CDN for the backend service of an external HTTP(S) load balancer. 516 * </pre> 517 * 518 * <code>optional bool enable_c_d_n = 250733499;</code> 519 * 520 * @return Whether the enableCDN field is set. 521 */ hasEnableCDN()522 boolean hasEnableCDN(); 523 /** 524 * 525 * 526 * <pre> 527 * If true, enables Cloud CDN for the backend service of an external HTTP(S) load balancer. 528 * </pre> 529 * 530 * <code>optional bool enable_c_d_n = 250733499;</code> 531 * 532 * @return The enableCDN. 533 */ getEnableCDN()534 boolean getEnableCDN(); 535 536 /** 537 * 538 * 539 * <pre> 540 * Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). 541 * </pre> 542 * 543 * <code> 544 * optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655; 545 * </code> 546 * 547 * @return Whether the failoverPolicy field is set. 548 */ hasFailoverPolicy()549 boolean hasFailoverPolicy(); 550 /** 551 * 552 * 553 * <pre> 554 * Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). 555 * </pre> 556 * 557 * <code> 558 * optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655; 559 * </code> 560 * 561 * @return The failoverPolicy. 562 */ getFailoverPolicy()563 com.google.cloud.compute.v1.BackendServiceFailoverPolicy getFailoverPolicy(); 564 /** 565 * 566 * 567 * <pre> 568 * Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). 569 * </pre> 570 * 571 * <code> 572 * optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655; 573 * </code> 574 */ getFailoverPolicyOrBuilder()575 com.google.cloud.compute.v1.BackendServiceFailoverPolicyOrBuilder getFailoverPolicyOrBuilder(); 576 577 /** 578 * 579 * 580 * <pre> 581 * 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 BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. 582 * </pre> 583 * 584 * <code>optional string fingerprint = 234678500;</code> 585 * 586 * @return Whether the fingerprint field is set. 587 */ hasFingerprint()588 boolean hasFingerprint(); 589 /** 590 * 591 * 592 * <pre> 593 * 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 BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. 594 * </pre> 595 * 596 * <code>optional string fingerprint = 234678500;</code> 597 * 598 * @return The fingerprint. 599 */ getFingerprint()600 java.lang.String getFingerprint(); 601 /** 602 * 603 * 604 * <pre> 605 * 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 BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. 606 * </pre> 607 * 608 * <code>optional string fingerprint = 234678500;</code> 609 * 610 * @return The bytes for fingerprint. 611 */ getFingerprintBytes()612 com.google.protobuf.ByteString getFingerprintBytes(); 613 614 /** 615 * 616 * 617 * <pre> 618 * The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check. 619 * </pre> 620 * 621 * <code>repeated string health_checks = 448370606;</code> 622 * 623 * @return A list containing the healthChecks. 624 */ getHealthChecksList()625 java.util.List<java.lang.String> getHealthChecksList(); 626 /** 627 * 628 * 629 * <pre> 630 * The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check. 631 * </pre> 632 * 633 * <code>repeated string health_checks = 448370606;</code> 634 * 635 * @return The count of healthChecks. 636 */ getHealthChecksCount()637 int getHealthChecksCount(); 638 /** 639 * 640 * 641 * <pre> 642 * The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check. 643 * </pre> 644 * 645 * <code>repeated string health_checks = 448370606;</code> 646 * 647 * @param index The index of the element to return. 648 * @return The healthChecks at the given index. 649 */ getHealthChecks(int index)650 java.lang.String getHealthChecks(int index); 651 /** 652 * 653 * 654 * <pre> 655 * The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check. 656 * </pre> 657 * 658 * <code>repeated string health_checks = 448370606;</code> 659 * 660 * @param index The index of the value to return. 661 * @return The bytes of the healthChecks at the given index. 662 */ getHealthChecksBytes(int index)663 com.google.protobuf.ByteString getHealthChecksBytes(int index); 664 665 /** 666 * 667 * 668 * <pre> 669 * The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing. 670 * </pre> 671 * 672 * <code>optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;</code> 673 * 674 * @return Whether the iap field is set. 675 */ hasIap()676 boolean hasIap(); 677 /** 678 * 679 * 680 * <pre> 681 * The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing. 682 * </pre> 683 * 684 * <code>optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;</code> 685 * 686 * @return The iap. 687 */ getIap()688 com.google.cloud.compute.v1.BackendServiceIAP getIap(); 689 /** 690 * 691 * 692 * <pre> 693 * The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing. 694 * </pre> 695 * 696 * <code>optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;</code> 697 */ getIapOrBuilder()698 com.google.cloud.compute.v1.BackendServiceIAPOrBuilder getIapOrBuilder(); 699 700 /** 701 * 702 * 703 * <pre> 704 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 705 * </pre> 706 * 707 * <code>optional uint64 id = 3355;</code> 708 * 709 * @return Whether the id field is set. 710 */ hasId()711 boolean hasId(); 712 /** 713 * 714 * 715 * <pre> 716 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 717 * </pre> 718 * 719 * <code>optional uint64 id = 3355;</code> 720 * 721 * @return The id. 722 */ getId()723 long getId(); 724 725 /** 726 * 727 * 728 * <pre> 729 * [Output Only] Type of resource. Always compute#backendService for backend services. 730 * </pre> 731 * 732 * <code>optional string kind = 3292052;</code> 733 * 734 * @return Whether the kind field is set. 735 */ hasKind()736 boolean hasKind(); 737 /** 738 * 739 * 740 * <pre> 741 * [Output Only] Type of resource. Always compute#backendService for backend services. 742 * </pre> 743 * 744 * <code>optional string kind = 3292052;</code> 745 * 746 * @return The kind. 747 */ getKind()748 java.lang.String getKind(); 749 /** 750 * 751 * 752 * <pre> 753 * [Output Only] Type of resource. Always compute#backendService for backend services. 754 * </pre> 755 * 756 * <code>optional string kind = 3292052;</code> 757 * 758 * @return The bytes for kind. 759 */ getKindBytes()760 com.google.protobuf.ByteString getKindBytes(); 761 762 /** 763 * 764 * 765 * <pre> 766 * Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. 767 * Check the LoadBalancingScheme enum for the list of possible values. 768 * </pre> 769 * 770 * <code>optional string load_balancing_scheme = 363890244;</code> 771 * 772 * @return Whether the loadBalancingScheme field is set. 773 */ hasLoadBalancingScheme()774 boolean hasLoadBalancingScheme(); 775 /** 776 * 777 * 778 * <pre> 779 * Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. 780 * Check the LoadBalancingScheme enum for the list of possible values. 781 * </pre> 782 * 783 * <code>optional string load_balancing_scheme = 363890244;</code> 784 * 785 * @return The loadBalancingScheme. 786 */ getLoadBalancingScheme()787 java.lang.String getLoadBalancingScheme(); 788 /** 789 * 790 * 791 * <pre> 792 * Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. 793 * Check the LoadBalancingScheme enum for the list of possible values. 794 * </pre> 795 * 796 * <code>optional string load_balancing_scheme = 363890244;</code> 797 * 798 * @return The bytes for loadBalancingScheme. 799 */ getLoadBalancingSchemeBytes()800 com.google.protobuf.ByteString getLoadBalancingSchemeBytes(); 801 802 /** 803 * 804 * 805 * <pre> 806 * A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. 807 * </pre> 808 * 809 * <code> 810 * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; 811 * </code> 812 */ 813 java.util.List<com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig> getLocalityLbPoliciesList()814 getLocalityLbPoliciesList(); 815 /** 816 * 817 * 818 * <pre> 819 * A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. 820 * </pre> 821 * 822 * <code> 823 * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; 824 * </code> 825 */ getLocalityLbPolicies( int index)826 com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig getLocalityLbPolicies( 827 int index); 828 /** 829 * 830 * 831 * <pre> 832 * A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. 833 * </pre> 834 * 835 * <code> 836 * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; 837 * </code> 838 */ getLocalityLbPoliciesCount()839 int getLocalityLbPoliciesCount(); 840 /** 841 * 842 * 843 * <pre> 844 * A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. 845 * </pre> 846 * 847 * <code> 848 * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; 849 * </code> 850 */ 851 java.util.List< 852 ? extends 853 com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder> getLocalityLbPoliciesOrBuilderList()854 getLocalityLbPoliciesOrBuilderList(); 855 /** 856 * 857 * 858 * <pre> 859 * A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. 860 * </pre> 861 * 862 * <code> 863 * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; 864 * </code> 865 */ 866 com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder getLocalityLbPoliciesOrBuilder(int index)867 getLocalityLbPoliciesOrBuilder(int index); 868 869 /** 870 * 871 * 872 * <pre> 873 * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. 874 * Check the LocalityLbPolicy enum for the list of possible values. 875 * </pre> 876 * 877 * <code>optional string locality_lb_policy = 131431487;</code> 878 * 879 * @return Whether the localityLbPolicy field is set. 880 */ hasLocalityLbPolicy()881 boolean hasLocalityLbPolicy(); 882 /** 883 * 884 * 885 * <pre> 886 * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. 887 * Check the LocalityLbPolicy enum for the list of possible values. 888 * </pre> 889 * 890 * <code>optional string locality_lb_policy = 131431487;</code> 891 * 892 * @return The localityLbPolicy. 893 */ getLocalityLbPolicy()894 java.lang.String getLocalityLbPolicy(); 895 /** 896 * 897 * 898 * <pre> 899 * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. 900 * Check the LocalityLbPolicy enum for the list of possible values. 901 * </pre> 902 * 903 * <code>optional string locality_lb_policy = 131431487;</code> 904 * 905 * @return The bytes for localityLbPolicy. 906 */ getLocalityLbPolicyBytes()907 com.google.protobuf.ByteString getLocalityLbPolicyBytes(); 908 909 /** 910 * 911 * 912 * <pre> 913 * This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. 914 * </pre> 915 * 916 * <code>optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;</code> 917 * 918 * @return Whether the logConfig field is set. 919 */ hasLogConfig()920 boolean hasLogConfig(); 921 /** 922 * 923 * 924 * <pre> 925 * This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. 926 * </pre> 927 * 928 * <code>optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;</code> 929 * 930 * @return The logConfig. 931 */ getLogConfig()932 com.google.cloud.compute.v1.BackendServiceLogConfig getLogConfig(); 933 /** 934 * 935 * 936 * <pre> 937 * This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. 938 * </pre> 939 * 940 * <code>optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;</code> 941 */ getLogConfigOrBuilder()942 com.google.cloud.compute.v1.BackendServiceLogConfigOrBuilder getLogConfigOrBuilder(); 943 944 /** 945 * 946 * 947 * <pre> 948 * Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the beginning of the stream until the response has been completely processed, including all retries. A stream that does not complete in this duration is closed. If not specified, there will be no timeout limit, i.e. the maximum duration is infinite. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED. 949 * </pre> 950 * 951 * <code>optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;</code> 952 * 953 * @return Whether the maxStreamDuration field is set. 954 */ hasMaxStreamDuration()955 boolean hasMaxStreamDuration(); 956 /** 957 * 958 * 959 * <pre> 960 * Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the beginning of the stream until the response has been completely processed, including all retries. A stream that does not complete in this duration is closed. If not specified, there will be no timeout limit, i.e. the maximum duration is infinite. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED. 961 * </pre> 962 * 963 * <code>optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;</code> 964 * 965 * @return The maxStreamDuration. 966 */ getMaxStreamDuration()967 com.google.cloud.compute.v1.Duration getMaxStreamDuration(); 968 /** 969 * 970 * 971 * <pre> 972 * Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the beginning of the stream until the response has been completely processed, including all retries. A stream that does not complete in this duration is closed. If not specified, there will be no timeout limit, i.e. the maximum duration is infinite. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED. 973 * </pre> 974 * 975 * <code>optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;</code> 976 */ getMaxStreamDurationOrBuilder()977 com.google.cloud.compute.v1.DurationOrBuilder getMaxStreamDurationOrBuilder(); 978 979 /** 980 * 981 * 982 * <pre> 983 * Name of the resource. Provided by the client when the resource is created. 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. 984 * </pre> 985 * 986 * <code>optional string name = 3373707;</code> 987 * 988 * @return Whether the name field is set. 989 */ hasName()990 boolean hasName(); 991 /** 992 * 993 * 994 * <pre> 995 * Name of the resource. Provided by the client when the resource is created. 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. 996 * </pre> 997 * 998 * <code>optional string name = 3373707;</code> 999 * 1000 * @return The name. 1001 */ getName()1002 java.lang.String getName(); 1003 /** 1004 * 1005 * 1006 * <pre> 1007 * Name of the resource. Provided by the client when the resource is created. 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. 1008 * </pre> 1009 * 1010 * <code>optional string name = 3373707;</code> 1011 * 1012 * @return The bytes for name. 1013 */ getNameBytes()1014 com.google.protobuf.ByteString getNameBytes(); 1015 1016 /** 1017 * 1018 * 1019 * <pre> 1020 * The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL. 1021 * </pre> 1022 * 1023 * <code>optional string network = 232872494;</code> 1024 * 1025 * @return Whether the network field is set. 1026 */ hasNetwork()1027 boolean hasNetwork(); 1028 /** 1029 * 1030 * 1031 * <pre> 1032 * The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL. 1033 * </pre> 1034 * 1035 * <code>optional string network = 232872494;</code> 1036 * 1037 * @return The network. 1038 */ getNetwork()1039 java.lang.String getNetwork(); 1040 /** 1041 * 1042 * 1043 * <pre> 1044 * The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL. 1045 * </pre> 1046 * 1047 * <code>optional string network = 232872494;</code> 1048 * 1049 * @return The bytes for network. 1050 */ getNetworkBytes()1051 com.google.protobuf.ByteString getNetworkBytes(); 1052 1053 /** 1054 * 1055 * 1056 * <pre> 1057 * Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 1058 * </pre> 1059 * 1060 * <code>optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;</code> 1061 * 1062 * @return Whether the outlierDetection field is set. 1063 */ hasOutlierDetection()1064 boolean hasOutlierDetection(); 1065 /** 1066 * 1067 * 1068 * <pre> 1069 * Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 1070 * </pre> 1071 * 1072 * <code>optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;</code> 1073 * 1074 * @return The outlierDetection. 1075 */ getOutlierDetection()1076 com.google.cloud.compute.v1.OutlierDetection getOutlierDetection(); 1077 /** 1078 * 1079 * 1080 * <pre> 1081 * Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 1082 * </pre> 1083 * 1084 * <code>optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;</code> 1085 */ getOutlierDetectionOrBuilder()1086 com.google.cloud.compute.v1.OutlierDetectionOrBuilder getOutlierDetectionOrBuilder(); 1087 1088 /** 1089 * 1090 * 1091 * <pre> 1092 * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port. 1093 * </pre> 1094 * 1095 * <code>optional int32 port = 3446913;</code> 1096 * 1097 * @return Whether the port field is set. 1098 */ hasPort()1099 boolean hasPort(); 1100 /** 1101 * 1102 * 1103 * <pre> 1104 * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port. 1105 * </pre> 1106 * 1107 * <code>optional int32 port = 3446913;</code> 1108 * 1109 * @return The port. 1110 */ getPort()1111 int getPort(); 1112 1113 /** 1114 * 1115 * 1116 * <pre> 1117 * A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port_name. 1118 * </pre> 1119 * 1120 * <code>optional string port_name = 41534345;</code> 1121 * 1122 * @return Whether the portName field is set. 1123 */ hasPortName()1124 boolean hasPortName(); 1125 /** 1126 * 1127 * 1128 * <pre> 1129 * A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port_name. 1130 * </pre> 1131 * 1132 * <code>optional string port_name = 41534345;</code> 1133 * 1134 * @return The portName. 1135 */ getPortName()1136 java.lang.String getPortName(); 1137 /** 1138 * 1139 * 1140 * <pre> 1141 * A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port_name. 1142 * </pre> 1143 * 1144 * <code>optional string port_name = 41534345;</code> 1145 * 1146 * @return The bytes for portName. 1147 */ getPortNameBytes()1148 com.google.protobuf.ByteString getPortNameBytes(); 1149 1150 /** 1151 * 1152 * 1153 * <pre> 1154 * The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. 1155 * Check the Protocol enum for the list of possible values. 1156 * </pre> 1157 * 1158 * <code>optional string protocol = 84577944;</code> 1159 * 1160 * @return Whether the protocol field is set. 1161 */ hasProtocol()1162 boolean hasProtocol(); 1163 /** 1164 * 1165 * 1166 * <pre> 1167 * The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. 1168 * Check the Protocol enum for the list of possible values. 1169 * </pre> 1170 * 1171 * <code>optional string protocol = 84577944;</code> 1172 * 1173 * @return The protocol. 1174 */ getProtocol()1175 java.lang.String getProtocol(); 1176 /** 1177 * 1178 * 1179 * <pre> 1180 * The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. 1181 * Check the Protocol enum for the list of possible values. 1182 * </pre> 1183 * 1184 * <code>optional string protocol = 84577944;</code> 1185 * 1186 * @return The bytes for protocol. 1187 */ getProtocolBytes()1188 com.google.protobuf.ByteString getProtocolBytes(); 1189 1190 /** 1191 * 1192 * 1193 * <pre> 1194 * [Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1195 * </pre> 1196 * 1197 * <code>optional string region = 138946292;</code> 1198 * 1199 * @return Whether the region field is set. 1200 */ hasRegion()1201 boolean hasRegion(); 1202 /** 1203 * 1204 * 1205 * <pre> 1206 * [Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1207 * </pre> 1208 * 1209 * <code>optional string region = 138946292;</code> 1210 * 1211 * @return The region. 1212 */ getRegion()1213 java.lang.String getRegion(); 1214 /** 1215 * 1216 * 1217 * <pre> 1218 * [Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1219 * </pre> 1220 * 1221 * <code>optional string region = 138946292;</code> 1222 * 1223 * @return The bytes for region. 1224 */ getRegionBytes()1225 com.google.protobuf.ByteString getRegionBytes(); 1226 1227 /** 1228 * 1229 * 1230 * <pre> 1231 * [Output Only] The resource URL for the security policy associated with this backend service. 1232 * </pre> 1233 * 1234 * <code>optional string security_policy = 171082513;</code> 1235 * 1236 * @return Whether the securityPolicy field is set. 1237 */ hasSecurityPolicy()1238 boolean hasSecurityPolicy(); 1239 /** 1240 * 1241 * 1242 * <pre> 1243 * [Output Only] The resource URL for the security policy associated with this backend service. 1244 * </pre> 1245 * 1246 * <code>optional string security_policy = 171082513;</code> 1247 * 1248 * @return The securityPolicy. 1249 */ getSecurityPolicy()1250 java.lang.String getSecurityPolicy(); 1251 /** 1252 * 1253 * 1254 * <pre> 1255 * [Output Only] The resource URL for the security policy associated with this backend service. 1256 * </pre> 1257 * 1258 * <code>optional string security_policy = 171082513;</code> 1259 * 1260 * @return The bytes for securityPolicy. 1261 */ getSecurityPolicyBytes()1262 com.google.protobuf.ByteString getSecurityPolicyBytes(); 1263 1264 /** 1265 * 1266 * 1267 * <pre> 1268 * This field specifies the security settings that apply to this backend service. This field is applicable to a global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 1269 * </pre> 1270 * 1271 * <code>optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;</code> 1272 * 1273 * @return Whether the securitySettings field is set. 1274 */ hasSecuritySettings()1275 boolean hasSecuritySettings(); 1276 /** 1277 * 1278 * 1279 * <pre> 1280 * This field specifies the security settings that apply to this backend service. This field is applicable to a global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 1281 * </pre> 1282 * 1283 * <code>optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;</code> 1284 * 1285 * @return The securitySettings. 1286 */ getSecuritySettings()1287 com.google.cloud.compute.v1.SecuritySettings getSecuritySettings(); 1288 /** 1289 * 1290 * 1291 * <pre> 1292 * This field specifies the security settings that apply to this backend service. This field is applicable to a global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 1293 * </pre> 1294 * 1295 * <code>optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;</code> 1296 */ getSecuritySettingsOrBuilder()1297 com.google.cloud.compute.v1.SecuritySettingsOrBuilder getSecuritySettingsOrBuilder(); 1298 1299 /** 1300 * 1301 * 1302 * <pre> 1303 * [Output Only] Server-defined URL for the resource. 1304 * </pre> 1305 * 1306 * <code>optional string self_link = 456214797;</code> 1307 * 1308 * @return Whether the selfLink field is set. 1309 */ hasSelfLink()1310 boolean hasSelfLink(); 1311 /** 1312 * 1313 * 1314 * <pre> 1315 * [Output Only] Server-defined URL for the resource. 1316 * </pre> 1317 * 1318 * <code>optional string self_link = 456214797;</code> 1319 * 1320 * @return The selfLink. 1321 */ getSelfLink()1322 java.lang.String getSelfLink(); 1323 /** 1324 * 1325 * 1326 * <pre> 1327 * [Output Only] Server-defined URL for the resource. 1328 * </pre> 1329 * 1330 * <code>optional string self_link = 456214797;</code> 1331 * 1332 * @return The bytes for selfLink. 1333 */ getSelfLinkBytes()1334 com.google.protobuf.ByteString getSelfLinkBytes(); 1335 1336 /** 1337 * 1338 * 1339 * <pre> 1340 * URLs of networkservices.ServiceBinding resources. Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and health checks must be both empty. 1341 * </pre> 1342 * 1343 * <code>repeated string service_bindings = 133581016;</code> 1344 * 1345 * @return A list containing the serviceBindings. 1346 */ getServiceBindingsList()1347 java.util.List<java.lang.String> getServiceBindingsList(); 1348 /** 1349 * 1350 * 1351 * <pre> 1352 * URLs of networkservices.ServiceBinding resources. Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and health checks must be both empty. 1353 * </pre> 1354 * 1355 * <code>repeated string service_bindings = 133581016;</code> 1356 * 1357 * @return The count of serviceBindings. 1358 */ getServiceBindingsCount()1359 int getServiceBindingsCount(); 1360 /** 1361 * 1362 * 1363 * <pre> 1364 * URLs of networkservices.ServiceBinding resources. Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and health checks must be both empty. 1365 * </pre> 1366 * 1367 * <code>repeated string service_bindings = 133581016;</code> 1368 * 1369 * @param index The index of the element to return. 1370 * @return The serviceBindings at the given index. 1371 */ getServiceBindings(int index)1372 java.lang.String getServiceBindings(int index); 1373 /** 1374 * 1375 * 1376 * <pre> 1377 * URLs of networkservices.ServiceBinding resources. Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and health checks must be both empty. 1378 * </pre> 1379 * 1380 * <code>repeated string service_bindings = 133581016;</code> 1381 * 1382 * @param index The index of the value to return. 1383 * @return The bytes of the serviceBindings at the given index. 1384 */ getServiceBindingsBytes(int index)1385 com.google.protobuf.ByteString getServiceBindingsBytes(int index); 1386 1387 /** 1388 * 1389 * 1390 * <pre> 1391 * Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). 1392 * Check the SessionAffinity enum for the list of possible values. 1393 * </pre> 1394 * 1395 * <code>optional string session_affinity = 463888561;</code> 1396 * 1397 * @return Whether the sessionAffinity field is set. 1398 */ hasSessionAffinity()1399 boolean hasSessionAffinity(); 1400 /** 1401 * 1402 * 1403 * <pre> 1404 * Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). 1405 * Check the SessionAffinity enum for the list of possible values. 1406 * </pre> 1407 * 1408 * <code>optional string session_affinity = 463888561;</code> 1409 * 1410 * @return The sessionAffinity. 1411 */ getSessionAffinity()1412 java.lang.String getSessionAffinity(); 1413 /** 1414 * 1415 * 1416 * <pre> 1417 * Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). 1418 * Check the SessionAffinity enum for the list of possible values. 1419 * </pre> 1420 * 1421 * <code>optional string session_affinity = 463888561;</code> 1422 * 1423 * @return The bytes for sessionAffinity. 1424 */ getSessionAffinityBytes()1425 com.google.protobuf.ByteString getSessionAffinityBytes(); 1426 1427 /** 1428 * <code>optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;</code> 1429 * 1430 * @return Whether the subsetting field is set. 1431 */ hasSubsetting()1432 boolean hasSubsetting(); 1433 /** 1434 * <code>optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;</code> 1435 * 1436 * @return The subsetting. 1437 */ getSubsetting()1438 com.google.cloud.compute.v1.Subsetting getSubsetting(); 1439 /** <code>optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;</code> */ getSubsettingOrBuilder()1440 com.google.cloud.compute.v1.SubsettingOrBuilder getSubsettingOrBuilder(); 1441 1442 /** 1443 * 1444 * 1445 * <pre> 1446 * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. 1447 * </pre> 1448 * 1449 * <code>optional int32 timeout_sec = 79994995;</code> 1450 * 1451 * @return Whether the timeoutSec field is set. 1452 */ hasTimeoutSec()1453 boolean hasTimeoutSec(); 1454 /** 1455 * 1456 * 1457 * <pre> 1458 * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. 1459 * </pre> 1460 * 1461 * <code>optional int32 timeout_sec = 79994995;</code> 1462 * 1463 * @return The timeoutSec. 1464 */ getTimeoutSec()1465 int getTimeoutSec(); 1466 } 1467