public static final class BackendService.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder> implements BackendServiceOrBuilder
Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/regionBackendServices) For more information, see Backend Services.Protobuf type
google.cloud.compute.v1.BackendService| Modifier and Type | Method and Description |
|---|---|
BackendService.Builder |
addAllBackends(Iterable<? extends Backend> values)
The list of backends that serve this BackendService.
|
BackendService.Builder |
addAllCustomMetrics(Iterable<? extends BackendServiceCustomMetric> values)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
addAllCustomRequestHeaders(Iterable<String> values)
Headers that the load balancer adds to proxied requests.
|
BackendService.Builder |
addAllCustomResponseHeaders(Iterable<String> values)
Headers that the load balancer adds to proxied responses.
|
BackendService.Builder |
addAllHealthChecks(Iterable<String> values)
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
BackendService.Builder |
addAllLocalityLbPolicies(Iterable<? extends BackendServiceLocalityLoadBalancingPolicyConfig> values)
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
addAllServiceBindings(Iterable<String> values)
URLs of networkservices.ServiceBinding resources.
|
BackendService.Builder |
addAllUsedBy(Iterable<? extends BackendServiceUsedBy> values)
[Output Only] List of resources referencing given backend service.
|
BackendService.Builder |
addBackends(Backend.Builder builderForValue)
The list of backends that serve this BackendService.
|
BackendService.Builder |
addBackends(Backend value)
The list of backends that serve this BackendService.
|
BackendService.Builder |
addBackends(int index,
Backend.Builder builderForValue)
The list of backends that serve this BackendService.
|
BackendService.Builder |
addBackends(int index,
Backend value)
The list of backends that serve this BackendService.
|
Backend.Builder |
addBackendsBuilder()
The list of backends that serve this BackendService.
|
Backend.Builder |
addBackendsBuilder(int index)
The list of backends that serve this BackendService.
|
BackendService.Builder |
addCustomMetrics(BackendServiceCustomMetric.Builder builderForValue)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
addCustomMetrics(BackendServiceCustomMetric value)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
addCustomMetrics(int index,
BackendServiceCustomMetric.Builder builderForValue)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
addCustomMetrics(int index,
BackendServiceCustomMetric value)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendServiceCustomMetric.Builder |
addCustomMetricsBuilder()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendServiceCustomMetric.Builder |
addCustomMetricsBuilder(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
addCustomRequestHeaders(String value)
Headers that the load balancer adds to proxied requests.
|
BackendService.Builder |
addCustomRequestHeadersBytes(com.google.protobuf.ByteString value)
Headers that the load balancer adds to proxied requests.
|
BackendService.Builder |
addCustomResponseHeaders(String value)
Headers that the load balancer adds to proxied responses.
|
BackendService.Builder |
addCustomResponseHeadersBytes(com.google.protobuf.ByteString value)
Headers that the load balancer adds to proxied responses.
|
BackendService.Builder |
addHealthChecks(String value)
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
BackendService.Builder |
addHealthChecksBytes(com.google.protobuf.ByteString value)
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
BackendService.Builder |
addLocalityLbPolicies(BackendServiceLocalityLoadBalancingPolicyConfig.Builder builderForValue)
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
addLocalityLbPolicies(BackendServiceLocalityLoadBalancingPolicyConfig value)
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
addLocalityLbPolicies(int index,
BackendServiceLocalityLoadBalancingPolicyConfig.Builder builderForValue)
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
addLocalityLbPolicies(int index,
BackendServiceLocalityLoadBalancingPolicyConfig value)
A list of locality load-balancing policies to be used in order of preference.
|
BackendServiceLocalityLoadBalancingPolicyConfig.Builder |
addLocalityLbPoliciesBuilder()
A list of locality load-balancing policies to be used in order of preference.
|
BackendServiceLocalityLoadBalancingPolicyConfig.Builder |
addLocalityLbPoliciesBuilder(int index)
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BackendService.Builder |
addServiceBindings(String value)
URLs of networkservices.ServiceBinding resources.
|
BackendService.Builder |
addServiceBindingsBytes(com.google.protobuf.ByteString value)
URLs of networkservices.ServiceBinding resources.
|
BackendService.Builder |
addUsedBy(BackendServiceUsedBy.Builder builderForValue)
[Output Only] List of resources referencing given backend service.
|
BackendService.Builder |
addUsedBy(BackendServiceUsedBy value)
[Output Only] List of resources referencing given backend service.
|
BackendService.Builder |
addUsedBy(int index,
BackendServiceUsedBy.Builder builderForValue)
[Output Only] List of resources referencing given backend service.
|
BackendService.Builder |
addUsedBy(int index,
BackendServiceUsedBy value)
[Output Only] List of resources referencing given backend service.
|
BackendServiceUsedBy.Builder |
addUsedByBuilder()
[Output Only] List of resources referencing given backend service.
|
BackendServiceUsedBy.Builder |
addUsedByBuilder(int index)
[Output Only] List of resources referencing given backend service.
|
BackendService |
build() |
BackendService |
buildPartial() |
BackendService.Builder |
clear() |
BackendService.Builder |
clearAffinityCookieTtlSec()
Lifetime of cookies in seconds.
|
BackendService.Builder |
clearBackends()
The list of backends that serve this BackendService.
|
BackendService.Builder |
clearCdnPolicy()
Cloud CDN configuration for this BackendService.
|
BackendService.Builder |
clearCircuitBreakers()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061; |
BackendService.Builder |
clearCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
BackendService.Builder |
clearConnectionDraining()
connectionDraining cannot be specified with haPolicy.
|
BackendService.Builder |
clearConnectionTrackingPolicy()
Connection Tracking configuration for this BackendService.
|
BackendService.Builder |
clearConsistentHash()
Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.
|
BackendService.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
BackendService.Builder |
clearCustomMetrics()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
clearCustomRequestHeaders()
Headers that the load balancer adds to proxied requests.
|
BackendService.Builder |
clearCustomResponseHeaders()
Headers that the load balancer adds to proxied responses.
|
BackendService.Builder |
clearDescription()
An optional description of this resource.
|
BackendService.Builder |
clearEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend service.
|
BackendService.Builder |
clearEnableCDN()
If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
|
BackendService.Builder |
clearExternalManagedMigrationState()
Specifies the canary migration state.
|
BackendService.Builder |
clearExternalManagedMigrationTestingPercentage()
Determines the fraction of requests that should be processed by the Global external Application Load Balancer.
|
BackendService.Builder |
clearFailoverPolicy()
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
BackendService.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BackendService.Builder |
clearFingerprint()
Fingerprint of this resource.
|
BackendService.Builder |
clearHaPolicy()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding.
|
BackendService.Builder |
clearHealthChecks()
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
BackendService.Builder |
clearIap()
The configurations for Identity-Aware Proxy on this resource.
|
BackendService.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
BackendService.Builder |
clearIpAddressSelectionPolicy()
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC).
|
BackendService.Builder |
clearKind()
[Output Only] Type of resource.
|
BackendService.Builder |
clearLoadBalancingScheme()
Specifies the load balancer type.
|
BackendService.Builder |
clearLocalityLbPolicies()
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
clearLocalityLbPolicy()
The load balancing algorithm used within the scope of the locality.
|
BackendService.Builder |
clearLogConfig()
This field denotes the logging options for the load balancer traffic served by this backend service.
|
BackendService.Builder |
clearMaxStreamDuration()
Specifies the default maximum duration (timeout) for streams to this service.
|
BackendService.Builder |
clearMetadatas() |
BackendService.Builder |
clearName()
Name of the resource.
|
BackendService.Builder |
clearNetwork()
The URL of the network to which this backend service belongs.
|
BackendService.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BackendService.Builder |
clearOutlierDetection()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service.
|
BackendService.Builder |
clearPort()
Deprecated in favor of portName.
|
BackendService.Builder |
clearPortName()
A named port on a backend instance group representing the port for communication to the backend VMs in that group.
|
BackendService.Builder |
clearProtocol()
The protocol this BackendService uses to communicate with backends.
|
BackendService.Builder |
clearRegion()
[Output Only] URL of the region where the regional backend service resides.
|
BackendService.Builder |
clearSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this backend service.
|
BackendService.Builder |
clearSecuritySettings()
This field specifies the security settings that apply to this backend service.
|
BackendService.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
BackendService.Builder |
clearServiceBindings()
URLs of networkservices.ServiceBinding resources.
|
BackendService.Builder |
clearServiceLbPolicy()
URL to networkservices.ServiceLbPolicy resource.
|
BackendService.Builder |
clearSessionAffinity()
Type of session affinity to use.
|
BackendService.Builder |
clearStrongSessionAffinityCookie()
Describes the HTTP cookie used for stateful session affinity.
|
BackendService.Builder |
clearSubsetting()
subsetting cannot be specified with haPolicy.
|
BackendService.Builder |
clearTimeoutSec()
The backend service timeout has a different meaning depending on the type of load balancer.
|
BackendService.Builder |
clearTlsSettings()
Configuration for Backend Authenticated TLS and mTLS.
|
BackendService.Builder |
clearUsedBy()
[Output Only] List of resources referencing given backend service.
|
BackendService.Builder |
clone() |
boolean |
containsMetadatas(String key)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340; |
int |
getAffinityCookieTtlSec()
Lifetime of cookies in seconds.
|
Backend |
getBackends(int index)
The list of backends that serve this BackendService.
|
Backend.Builder |
getBackendsBuilder(int index)
The list of backends that serve this BackendService.
|
List<Backend.Builder> |
getBackendsBuilderList()
The list of backends that serve this BackendService.
|
int |
getBackendsCount()
The list of backends that serve this BackendService.
|
List<Backend> |
getBackendsList()
The list of backends that serve this BackendService.
|
BackendOrBuilder |
getBackendsOrBuilder(int index)
The list of backends that serve this BackendService.
|
List<? extends BackendOrBuilder> |
getBackendsOrBuilderList()
The list of backends that serve this BackendService.
|
BackendServiceCdnPolicy |
getCdnPolicy()
Cloud CDN configuration for this BackendService.
|
BackendServiceCdnPolicy.Builder |
getCdnPolicyBuilder()
Cloud CDN configuration for this BackendService.
|
BackendServiceCdnPolicyOrBuilder |
getCdnPolicyOrBuilder()
Cloud CDN configuration for this BackendService.
|
CircuitBreakers |
getCircuitBreakers()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061; |
CircuitBreakers.Builder |
getCircuitBreakersBuilder()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061; |
CircuitBreakersOrBuilder |
getCircuitBreakersOrBuilder()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061; |
String |
getCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
com.google.protobuf.ByteString |
getCompressionModeBytes()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
ConnectionDraining |
getConnectionDraining()
connectionDraining cannot be specified with haPolicy.
|
ConnectionDraining.Builder |
getConnectionDrainingBuilder()
connectionDraining cannot be specified with haPolicy.
|
ConnectionDrainingOrBuilder |
getConnectionDrainingOrBuilder()
connectionDraining cannot be specified with haPolicy.
|
BackendServiceConnectionTrackingPolicy |
getConnectionTrackingPolicy()
Connection Tracking configuration for this BackendService.
|
BackendServiceConnectionTrackingPolicy.Builder |
getConnectionTrackingPolicyBuilder()
Connection Tracking configuration for this BackendService.
|
BackendServiceConnectionTrackingPolicyOrBuilder |
getConnectionTrackingPolicyOrBuilder()
Connection Tracking configuration for this BackendService.
|
ConsistentHashLoadBalancerSettings |
getConsistentHash()
Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.
|
ConsistentHashLoadBalancerSettings.Builder |
getConsistentHashBuilder()
Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.
|
ConsistentHashLoadBalancerSettingsOrBuilder |
getConsistentHashOrBuilder()
Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
BackendServiceCustomMetric |
getCustomMetrics(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendServiceCustomMetric.Builder |
getCustomMetricsBuilder(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
List<BackendServiceCustomMetric.Builder> |
getCustomMetricsBuilderList()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
int |
getCustomMetricsCount()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
List<BackendServiceCustomMetric> |
getCustomMetricsList()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendServiceCustomMetricOrBuilder |
getCustomMetricsOrBuilder(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
List<? extends BackendServiceCustomMetricOrBuilder> |
getCustomMetricsOrBuilderList()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
String |
getCustomRequestHeaders(int index)
Headers that the load balancer adds to proxied requests.
|
com.google.protobuf.ByteString |
getCustomRequestHeadersBytes(int index)
Headers that the load balancer adds to proxied requests.
|
int |
getCustomRequestHeadersCount()
Headers that the load balancer adds to proxied requests.
|
com.google.protobuf.ProtocolStringList |
getCustomRequestHeadersList()
Headers that the load balancer adds to proxied requests.
|
String |
getCustomResponseHeaders(int index)
Headers that the load balancer adds to proxied responses.
|
com.google.protobuf.ByteString |
getCustomResponseHeadersBytes(int index)
Headers that the load balancer adds to proxied responses.
|
int |
getCustomResponseHeadersCount()
Headers that the load balancer adds to proxied responses.
|
com.google.protobuf.ProtocolStringList |
getCustomResponseHeadersList()
Headers that the load balancer adds to proxied responses.
|
BackendService |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend service.
|
com.google.protobuf.ByteString |
getEdgeSecurityPolicyBytes()
[Output Only] The resource URL for the edge security policy associated with this backend service.
|
boolean |
getEnableCDN()
If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
|
String |
getExternalManagedMigrationState()
Specifies the canary migration state.
|
com.google.protobuf.ByteString |
getExternalManagedMigrationStateBytes()
Specifies the canary migration state.
|
float |
getExternalManagedMigrationTestingPercentage()
Determines the fraction of requests that should be processed by the Global external Application Load Balancer.
|
BackendServiceFailoverPolicy |
getFailoverPolicy()
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
BackendServiceFailoverPolicy.Builder |
getFailoverPolicyBuilder()
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
BackendServiceFailoverPolicyOrBuilder |
getFailoverPolicyOrBuilder()
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
String |
getFingerprint()
Fingerprint of this resource.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Fingerprint of this resource.
|
BackendServiceHAPolicy |
getHaPolicy()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding.
|
BackendServiceHAPolicy.Builder |
getHaPolicyBuilder()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding.
|
BackendServiceHAPolicyOrBuilder |
getHaPolicyOrBuilder()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding.
|
String |
getHealthChecks(int index)
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
com.google.protobuf.ByteString |
getHealthChecksBytes(int index)
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
int |
getHealthChecksCount()
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
com.google.protobuf.ProtocolStringList |
getHealthChecksList()
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
BackendServiceIAP |
getIap()
The configurations for Identity-Aware Proxy on this resource.
|
BackendServiceIAP.Builder |
getIapBuilder()
The configurations for Identity-Aware Proxy on this resource.
|
BackendServiceIAPOrBuilder |
getIapOrBuilder()
The configurations for Identity-Aware Proxy on this resource.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getIpAddressSelectionPolicy()
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC).
|
com.google.protobuf.ByteString |
getIpAddressSelectionPolicyBytes()
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC).
|
String |
getKind()
[Output Only] Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of resource.
|
String |
getLoadBalancingScheme()
Specifies the load balancer type.
|
com.google.protobuf.ByteString |
getLoadBalancingSchemeBytes()
Specifies the load balancer type.
|
BackendServiceLocalityLoadBalancingPolicyConfig |
getLocalityLbPolicies(int index)
A list of locality load-balancing policies to be used in order of preference.
|
BackendServiceLocalityLoadBalancingPolicyConfig.Builder |
getLocalityLbPoliciesBuilder(int index)
A list of locality load-balancing policies to be used in order of preference.
|
List<BackendServiceLocalityLoadBalancingPolicyConfig.Builder> |
getLocalityLbPoliciesBuilderList()
A list of locality load-balancing policies to be used in order of preference.
|
int |
getLocalityLbPoliciesCount()
A list of locality load-balancing policies to be used in order of preference.
|
List<BackendServiceLocalityLoadBalancingPolicyConfig> |
getLocalityLbPoliciesList()
A list of locality load-balancing policies to be used in order of preference.
|
BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder |
getLocalityLbPoliciesOrBuilder(int index)
A list of locality load-balancing policies to be used in order of preference.
|
List<? extends BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder> |
getLocalityLbPoliciesOrBuilderList()
A list of locality load-balancing policies to be used in order of preference.
|
String |
getLocalityLbPolicy()
The load balancing algorithm used within the scope of the locality.
|
com.google.protobuf.ByteString |
getLocalityLbPolicyBytes()
The load balancing algorithm used within the scope of the locality.
|
BackendServiceLogConfig |
getLogConfig()
This field denotes the logging options for the load balancer traffic served by this backend service.
|
BackendServiceLogConfig.Builder |
getLogConfigBuilder()
This field denotes the logging options for the load balancer traffic served by this backend service.
|
BackendServiceLogConfigOrBuilder |
getLogConfigOrBuilder()
This field denotes the logging options for the load balancer traffic served by this backend service.
|
Duration |
getMaxStreamDuration()
Specifies the default maximum duration (timeout) for streams to this service.
|
Duration.Builder |
getMaxStreamDurationBuilder()
Specifies the default maximum duration (timeout) for streams to this service.
|
DurationOrBuilder |
getMaxStreamDurationOrBuilder()
Specifies the default maximum duration (timeout) for streams to this service.
|
Map<String,String> |
getMetadatas()
Deprecated.
|
int |
getMetadatasCount()
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340; |
Map<String,String> |
getMetadatasMap()
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340; |
String |
getMetadatasOrDefault(String key,
String defaultValue)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340; |
String |
getMetadatasOrThrow(String key)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340; |
Map<String,String> |
getMutableMetadatas()
Deprecated.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getNetwork()
The URL of the network to which this backend service belongs.
|
com.google.protobuf.ByteString |
getNetworkBytes()
The URL of the network to which this backend service belongs.
|
OutlierDetection |
getOutlierDetection()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service.
|
OutlierDetection.Builder |
getOutlierDetectionBuilder()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service.
|
OutlierDetectionOrBuilder |
getOutlierDetectionOrBuilder()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service.
|
int |
getPort()
Deprecated in favor of portName.
|
String |
getPortName()
A named port on a backend instance group representing the port for communication to the backend VMs in that group.
|
com.google.protobuf.ByteString |
getPortNameBytes()
A named port on a backend instance group representing the port for communication to the backend VMs in that group.
|
String |
getProtocol()
The protocol this BackendService uses to communicate with backends.
|
com.google.protobuf.ByteString |
getProtocolBytes()
The protocol this BackendService uses to communicate with backends.
|
String |
getRegion()
[Output Only] URL of the region where the regional backend service resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the regional backend service resides.
|
String |
getSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this backend service.
|
com.google.protobuf.ByteString |
getSecurityPolicyBytes()
[Output Only] The resource URL for the security policy associated with this backend service.
|
SecuritySettings |
getSecuritySettings()
This field specifies the security settings that apply to this backend service.
|
SecuritySettings.Builder |
getSecuritySettingsBuilder()
This field specifies the security settings that apply to this backend service.
|
SecuritySettingsOrBuilder |
getSecuritySettingsOrBuilder()
This field specifies the security settings that apply to this backend service.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getServiceBindings(int index)
URLs of networkservices.ServiceBinding resources.
|
com.google.protobuf.ByteString |
getServiceBindingsBytes(int index)
URLs of networkservices.ServiceBinding resources.
|
int |
getServiceBindingsCount()
URLs of networkservices.ServiceBinding resources.
|
com.google.protobuf.ProtocolStringList |
getServiceBindingsList()
URLs of networkservices.ServiceBinding resources.
|
String |
getServiceLbPolicy()
URL to networkservices.ServiceLbPolicy resource.
|
com.google.protobuf.ByteString |
getServiceLbPolicyBytes()
URL to networkservices.ServiceLbPolicy resource.
|
String |
getSessionAffinity()
Type of session affinity to use.
|
com.google.protobuf.ByteString |
getSessionAffinityBytes()
Type of session affinity to use.
|
BackendServiceHttpCookie |
getStrongSessionAffinityCookie()
Describes the HTTP cookie used for stateful session affinity.
|
BackendServiceHttpCookie.Builder |
getStrongSessionAffinityCookieBuilder()
Describes the HTTP cookie used for stateful session affinity.
|
BackendServiceHttpCookieOrBuilder |
getStrongSessionAffinityCookieOrBuilder()
Describes the HTTP cookie used for stateful session affinity.
|
Subsetting |
getSubsetting()
subsetting cannot be specified with haPolicy.
|
Subsetting.Builder |
getSubsettingBuilder()
subsetting cannot be specified with haPolicy.
|
SubsettingOrBuilder |
getSubsettingOrBuilder()
subsetting cannot be specified with haPolicy.
|
int |
getTimeoutSec()
The backend service timeout has a different meaning depending on the type of load balancer.
|
BackendServiceTlsSettings |
getTlsSettings()
Configuration for Backend Authenticated TLS and mTLS.
|
BackendServiceTlsSettings.Builder |
getTlsSettingsBuilder()
Configuration for Backend Authenticated TLS and mTLS.
|
BackendServiceTlsSettingsOrBuilder |
getTlsSettingsOrBuilder()
Configuration for Backend Authenticated TLS and mTLS.
|
BackendServiceUsedBy |
getUsedBy(int index)
[Output Only] List of resources referencing given backend service.
|
BackendServiceUsedBy.Builder |
getUsedByBuilder(int index)
[Output Only] List of resources referencing given backend service.
|
List<BackendServiceUsedBy.Builder> |
getUsedByBuilderList()
[Output Only] List of resources referencing given backend service.
|
int |
getUsedByCount()
[Output Only] List of resources referencing given backend service.
|
List<BackendServiceUsedBy> |
getUsedByList()
[Output Only] List of resources referencing given backend service.
|
BackendServiceUsedByOrBuilder |
getUsedByOrBuilder(int index)
[Output Only] List of resources referencing given backend service.
|
List<? extends BackendServiceUsedByOrBuilder> |
getUsedByOrBuilderList()
[Output Only] List of resources referencing given backend service.
|
boolean |
hasAffinityCookieTtlSec()
Lifetime of cookies in seconds.
|
boolean |
hasCdnPolicy()
Cloud CDN configuration for this BackendService.
|
boolean |
hasCircuitBreakers()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061; |
boolean |
hasCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
boolean |
hasConnectionDraining()
connectionDraining cannot be specified with haPolicy.
|
boolean |
hasConnectionTrackingPolicy()
Connection Tracking configuration for this BackendService.
|
boolean |
hasConsistentHash()
Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend service.
|
boolean |
hasEnableCDN()
If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
|
boolean |
hasExternalManagedMigrationState()
Specifies the canary migration state.
|
boolean |
hasExternalManagedMigrationTestingPercentage()
Determines the fraction of requests that should be processed by the Global external Application Load Balancer.
|
boolean |
hasFailoverPolicy()
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
boolean |
hasFingerprint()
Fingerprint of this resource.
|
boolean |
hasHaPolicy()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding.
|
boolean |
hasIap()
The configurations for Identity-Aware Proxy on this resource.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasIpAddressSelectionPolicy()
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC).
|
boolean |
hasKind()
[Output Only] Type of resource.
|
boolean |
hasLoadBalancingScheme()
Specifies the load balancer type.
|
boolean |
hasLocalityLbPolicy()
The load balancing algorithm used within the scope of the locality.
|
boolean |
hasLogConfig()
This field denotes the logging options for the load balancer traffic served by this backend service.
|
boolean |
hasMaxStreamDuration()
Specifies the default maximum duration (timeout) for streams to this service.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasNetwork()
The URL of the network to which this backend service belongs.
|
boolean |
hasOutlierDetection()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service.
|
boolean |
hasPort()
Deprecated in favor of portName.
|
boolean |
hasPortName()
A named port on a backend instance group representing the port for communication to the backend VMs in that group.
|
boolean |
hasProtocol()
The protocol this BackendService uses to communicate with backends.
|
boolean |
hasRegion()
[Output Only] URL of the region where the regional backend service resides.
|
boolean |
hasSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this backend service.
|
boolean |
hasSecuritySettings()
This field specifies the security settings that apply to this backend service.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasServiceLbPolicy()
URL to networkservices.ServiceLbPolicy resource.
|
boolean |
hasSessionAffinity()
Type of session affinity to use.
|
boolean |
hasStrongSessionAffinityCookie()
Describes the HTTP cookie used for stateful session affinity.
|
boolean |
hasSubsetting()
subsetting cannot be specified with haPolicy.
|
boolean |
hasTimeoutSec()
The backend service timeout has a different meaning depending on the type of load balancer.
|
boolean |
hasTlsSettings()
Configuration for Backend Authenticated TLS and mTLS.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
BackendService.Builder |
mergeCdnPolicy(BackendServiceCdnPolicy value)
Cloud CDN configuration for this BackendService.
|
BackendService.Builder |
mergeCircuitBreakers(CircuitBreakers value)
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061; |
BackendService.Builder |
mergeConnectionDraining(ConnectionDraining value)
connectionDraining cannot be specified with haPolicy.
|
BackendService.Builder |
mergeConnectionTrackingPolicy(BackendServiceConnectionTrackingPolicy value)
Connection Tracking configuration for this BackendService.
|
BackendService.Builder |
mergeConsistentHash(ConsistentHashLoadBalancerSettings value)
Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.
|
BackendService.Builder |
mergeFailoverPolicy(BackendServiceFailoverPolicy value)
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
BackendService.Builder |
mergeFrom(BackendService other) |
BackendService.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BackendService.Builder |
mergeFrom(com.google.protobuf.Message other) |
BackendService.Builder |
mergeHaPolicy(BackendServiceHAPolicy value)
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding.
|
BackendService.Builder |
mergeIap(BackendServiceIAP value)
The configurations for Identity-Aware Proxy on this resource.
|
BackendService.Builder |
mergeLogConfig(BackendServiceLogConfig value)
This field denotes the logging options for the load balancer traffic served by this backend service.
|
BackendService.Builder |
mergeMaxStreamDuration(Duration value)
Specifies the default maximum duration (timeout) for streams to this service.
|
BackendService.Builder |
mergeOutlierDetection(OutlierDetection value)
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service.
|
BackendService.Builder |
mergeSecuritySettings(SecuritySettings value)
This field specifies the security settings that apply to this backend service.
|
BackendService.Builder |
mergeStrongSessionAffinityCookie(BackendServiceHttpCookie value)
Describes the HTTP cookie used for stateful session affinity.
|
BackendService.Builder |
mergeSubsetting(Subsetting value)
subsetting cannot be specified with haPolicy.
|
BackendService.Builder |
mergeTlsSettings(BackendServiceTlsSettings value)
Configuration for Backend Authenticated TLS and mTLS.
|
BackendService.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BackendService.Builder |
putAllMetadatas(Map<String,String> values)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340; |
BackendService.Builder |
putMetadatas(String key,
String value)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340; |
BackendService.Builder |
removeBackends(int index)
The list of backends that serve this BackendService.
|
BackendService.Builder |
removeCustomMetrics(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
removeLocalityLbPolicies(int index)
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
removeMetadatas(String key)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340; |
BackendService.Builder |
removeUsedBy(int index)
[Output Only] List of resources referencing given backend service.
|
BackendService.Builder |
setAffinityCookieTtlSec(int value)
Lifetime of cookies in seconds.
|
BackendService.Builder |
setBackends(int index,
Backend.Builder builderForValue)
The list of backends that serve this BackendService.
|
BackendService.Builder |
setBackends(int index,
Backend value)
The list of backends that serve this BackendService.
|
BackendService.Builder |
setCdnPolicy(BackendServiceCdnPolicy.Builder builderForValue)
Cloud CDN configuration for this BackendService.
|
BackendService.Builder |
setCdnPolicy(BackendServiceCdnPolicy value)
Cloud CDN configuration for this BackendService.
|
BackendService.Builder |
setCircuitBreakers(CircuitBreakers.Builder builderForValue)
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061; |
BackendService.Builder |
setCircuitBreakers(CircuitBreakers value)
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061; |
BackendService.Builder |
setCompressionMode(String value)
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
BackendService.Builder |
setCompressionModeBytes(com.google.protobuf.ByteString value)
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
BackendService.Builder |
setConnectionDraining(ConnectionDraining.Builder builderForValue)
connectionDraining cannot be specified with haPolicy.
|
BackendService.Builder |
setConnectionDraining(ConnectionDraining value)
connectionDraining cannot be specified with haPolicy.
|
BackendService.Builder |
setConnectionTrackingPolicy(BackendServiceConnectionTrackingPolicy.Builder builderForValue)
Connection Tracking configuration for this BackendService.
|
BackendService.Builder |
setConnectionTrackingPolicy(BackendServiceConnectionTrackingPolicy value)
Connection Tracking configuration for this BackendService.
|
BackendService.Builder |
setConsistentHash(ConsistentHashLoadBalancerSettings.Builder builderForValue)
Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.
|
BackendService.Builder |
setConsistentHash(ConsistentHashLoadBalancerSettings value)
Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.
|
BackendService.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
BackendService.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
BackendService.Builder |
setCustomMetrics(int index,
BackendServiceCustomMetric.Builder builderForValue)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
setCustomMetrics(int index,
BackendServiceCustomMetric value)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
|
BackendService.Builder |
setCustomRequestHeaders(int index,
String value)
Headers that the load balancer adds to proxied requests.
|
BackendService.Builder |
setCustomResponseHeaders(int index,
String value)
Headers that the load balancer adds to proxied responses.
|
BackendService.Builder |
setDescription(String value)
An optional description of this resource.
|
BackendService.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
BackendService.Builder |
setEdgeSecurityPolicy(String value)
[Output Only] The resource URL for the edge security policy associated with this backend service.
|
BackendService.Builder |
setEdgeSecurityPolicyBytes(com.google.protobuf.ByteString value)
[Output Only] The resource URL for the edge security policy associated with this backend service.
|
BackendService.Builder |
setEnableCDN(boolean value)
If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
|
BackendService.Builder |
setExternalManagedMigrationState(String value)
Specifies the canary migration state.
|
BackendService.Builder |
setExternalManagedMigrationStateBytes(com.google.protobuf.ByteString value)
Specifies the canary migration state.
|
BackendService.Builder |
setExternalManagedMigrationTestingPercentage(float value)
Determines the fraction of requests that should be processed by the Global external Application Load Balancer.
|
BackendService.Builder |
setFailoverPolicy(BackendServiceFailoverPolicy.Builder builderForValue)
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
BackendService.Builder |
setFailoverPolicy(BackendServiceFailoverPolicy value)
Requires at least one backend instance group to be defined as a backup (failover) backend.
|
BackendService.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BackendService.Builder |
setFingerprint(String value)
Fingerprint of this resource.
|
BackendService.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource.
|
BackendService.Builder |
setHaPolicy(BackendServiceHAPolicy.Builder builderForValue)
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding.
|
BackendService.Builder |
setHaPolicy(BackendServiceHAPolicy value)
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding.
|
BackendService.Builder |
setHealthChecks(int index,
String value)
The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service.
|
BackendService.Builder |
setIap(BackendServiceIAP.Builder builderForValue)
The configurations for Identity-Aware Proxy on this resource.
|
BackendService.Builder |
setIap(BackendServiceIAP value)
The configurations for Identity-Aware Proxy on this resource.
|
BackendService.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
BackendService.Builder |
setIpAddressSelectionPolicy(String value)
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC).
|
BackendService.Builder |
setIpAddressSelectionPolicyBytes(com.google.protobuf.ByteString value)
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC).
|
BackendService.Builder |
setKind(String value)
[Output Only] Type of resource.
|
BackendService.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource.
|
BackendService.Builder |
setLoadBalancingScheme(String value)
Specifies the load balancer type.
|
BackendService.Builder |
setLoadBalancingSchemeBytes(com.google.protobuf.ByteString value)
Specifies the load balancer type.
|
BackendService.Builder |
setLocalityLbPolicies(int index,
BackendServiceLocalityLoadBalancingPolicyConfig.Builder builderForValue)
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
setLocalityLbPolicies(int index,
BackendServiceLocalityLoadBalancingPolicyConfig value)
A list of locality load-balancing policies to be used in order of preference.
|
BackendService.Builder |
setLocalityLbPolicy(String value)
The load balancing algorithm used within the scope of the locality.
|
BackendService.Builder |
setLocalityLbPolicyBytes(com.google.protobuf.ByteString value)
The load balancing algorithm used within the scope of the locality.
|
BackendService.Builder |
setLogConfig(BackendServiceLogConfig.Builder builderForValue)
This field denotes the logging options for the load balancer traffic served by this backend service.
|
BackendService.Builder |
setLogConfig(BackendServiceLogConfig value)
This field denotes the logging options for the load balancer traffic served by this backend service.
|
BackendService.Builder |
setMaxStreamDuration(Duration.Builder builderForValue)
Specifies the default maximum duration (timeout) for streams to this service.
|
BackendService.Builder |
setMaxStreamDuration(Duration value)
Specifies the default maximum duration (timeout) for streams to this service.
|
BackendService.Builder |
setName(String value)
Name of the resource.
|
BackendService.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
BackendService.Builder |
setNetwork(String value)
The URL of the network to which this backend service belongs.
|
BackendService.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
The URL of the network to which this backend service belongs.
|
BackendService.Builder |
setOutlierDetection(OutlierDetection.Builder builderForValue)
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service.
|
BackendService.Builder |
setOutlierDetection(OutlierDetection value)
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service.
|
BackendService.Builder |
setPort(int value)
Deprecated in favor of portName.
|
BackendService.Builder |
setPortName(String value)
A named port on a backend instance group representing the port for communication to the backend VMs in that group.
|
BackendService.Builder |
setPortNameBytes(com.google.protobuf.ByteString value)
A named port on a backend instance group representing the port for communication to the backend VMs in that group.
|
BackendService.Builder |
setProtocol(String value)
The protocol this BackendService uses to communicate with backends.
|
BackendService.Builder |
setProtocolBytes(com.google.protobuf.ByteString value)
The protocol this BackendService uses to communicate with backends.
|
BackendService.Builder |
setRegion(String value)
[Output Only] URL of the region where the regional backend service resides.
|
BackendService.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the regional backend service resides.
|
BackendService.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BackendService.Builder |
setSecurityPolicy(String value)
[Output Only] The resource URL for the security policy associated with this backend service.
|
BackendService.Builder |
setSecurityPolicyBytes(com.google.protobuf.ByteString value)
[Output Only] The resource URL for the security policy associated with this backend service.
|
BackendService.Builder |
setSecuritySettings(SecuritySettings.Builder builderForValue)
This field specifies the security settings that apply to this backend service.
|
BackendService.Builder |
setSecuritySettings(SecuritySettings value)
This field specifies the security settings that apply to this backend service.
|
BackendService.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
BackendService.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
BackendService.Builder |
setServiceBindings(int index,
String value)
URLs of networkservices.ServiceBinding resources.
|
BackendService.Builder |
setServiceLbPolicy(String value)
URL to networkservices.ServiceLbPolicy resource.
|
BackendService.Builder |
setServiceLbPolicyBytes(com.google.protobuf.ByteString value)
URL to networkservices.ServiceLbPolicy resource.
|
BackendService.Builder |
setSessionAffinity(String value)
Type of session affinity to use.
|
BackendService.Builder |
setSessionAffinityBytes(com.google.protobuf.ByteString value)
Type of session affinity to use.
|
BackendService.Builder |
setStrongSessionAffinityCookie(BackendServiceHttpCookie.Builder builderForValue)
Describes the HTTP cookie used for stateful session affinity.
|
BackendService.Builder |
setStrongSessionAffinityCookie(BackendServiceHttpCookie value)
Describes the HTTP cookie used for stateful session affinity.
|
BackendService.Builder |
setSubsetting(Subsetting.Builder builderForValue)
subsetting cannot be specified with haPolicy.
|
BackendService.Builder |
setSubsetting(Subsetting value)
subsetting cannot be specified with haPolicy.
|
BackendService.Builder |
setTimeoutSec(int value)
The backend service timeout has a different meaning depending on the type of load balancer.
|
BackendService.Builder |
setTlsSettings(BackendServiceTlsSettings.Builder builderForValue)
Configuration for Backend Authenticated TLS and mTLS.
|
BackendService.Builder |
setTlsSettings(BackendServiceTlsSettings value)
Configuration for Backend Authenticated TLS and mTLS.
|
BackendService.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BackendService.Builder |
setUsedBy(int index,
BackendServiceUsedBy.Builder builderForValue)
[Output Only] List of resources referencing given backend service.
|
BackendService.Builder |
setUsedBy(int index,
BackendServiceUsedBy value)
[Output Only] List of resources referencing given backend service.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BackendService build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BackendService buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BackendService.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BackendService.Builder>public BackendService.Builder mergeFrom(BackendService other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public BackendService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BackendService.Builder>IOExceptionpublic boolean hasAffinityCookieTtlSec()
Lifetime of cookies in seconds. This setting is applicable to Application 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.
optional int32 affinity_cookie_ttl_sec = 369996954;hasAffinityCookieTtlSec in interface BackendServiceOrBuilderpublic int getAffinityCookieTtlSec()
Lifetime of cookies in seconds. This setting is applicable to Application 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.
optional int32 affinity_cookie_ttl_sec = 369996954;getAffinityCookieTtlSec in interface BackendServiceOrBuilderpublic BackendService.Builder setAffinityCookieTtlSec(int value)
Lifetime of cookies in seconds. This setting is applicable to Application 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.
optional int32 affinity_cookie_ttl_sec = 369996954;value - The affinityCookieTtlSec to set.public BackendService.Builder clearAffinityCookieTtlSec()
Lifetime of cookies in seconds. This setting is applicable to Application 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.
optional int32 affinity_cookie_ttl_sec = 369996954;public List<Backend> getBackendsList()
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;getBackendsList in interface BackendServiceOrBuilderpublic int getBackendsCount()
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;getBackendsCount in interface BackendServiceOrBuilderpublic Backend getBackends(int index)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;getBackends in interface BackendServiceOrBuilderpublic BackendService.Builder setBackends(int index, Backend value)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendService.Builder setBackends(int index, Backend.Builder builderForValue)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendService.Builder addBackends(Backend value)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendService.Builder addBackends(int index, Backend value)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendService.Builder addBackends(Backend.Builder builderForValue)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendService.Builder addBackends(int index, Backend.Builder builderForValue)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendService.Builder addAllBackends(Iterable<? extends Backend> values)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendService.Builder clearBackends()
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendService.Builder removeBackends(int index)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public Backend.Builder getBackendsBuilder(int index)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public BackendOrBuilder getBackendsOrBuilder(int index)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;getBackendsOrBuilder in interface BackendServiceOrBuilderpublic List<? extends BackendOrBuilder> getBackendsOrBuilderList()
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;getBackendsOrBuilderList in interface BackendServiceOrBuilderpublic Backend.Builder addBackendsBuilder()
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public Backend.Builder addBackendsBuilder(int index)
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public List<Backend.Builder> getBackendsBuilderList()
The list of backends that serve this BackendService.
repeated .google.cloud.compute.v1.Backend backends = 510839903;public boolean hasCdnPolicy()
Cloud CDN configuration for this BackendService. Only available for specified load balancer types.
optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;
hasCdnPolicy in interface BackendServiceOrBuilderpublic BackendServiceCdnPolicy getCdnPolicy()
Cloud CDN configuration for this BackendService. Only available for specified load balancer types.
optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;
getCdnPolicy in interface BackendServiceOrBuilderpublic BackendService.Builder setCdnPolicy(BackendServiceCdnPolicy value)
Cloud CDN configuration for this BackendService. Only available for specified load balancer types.
optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;
public BackendService.Builder setCdnPolicy(BackendServiceCdnPolicy.Builder builderForValue)
Cloud CDN configuration for this BackendService. Only available for specified load balancer types.
optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;
public BackendService.Builder mergeCdnPolicy(BackendServiceCdnPolicy value)
Cloud CDN configuration for this BackendService. Only available for specified load balancer types.
optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;
public BackendService.Builder clearCdnPolicy()
Cloud CDN configuration for this BackendService. Only available for specified load balancer types.
optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;
public BackendServiceCdnPolicy.Builder getCdnPolicyBuilder()
Cloud CDN configuration for this BackendService. Only available for specified load balancer types.
optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;
public BackendServiceCdnPolicyOrBuilder getCdnPolicyOrBuilder()
Cloud CDN configuration for this BackendService. Only available for specified load balancer types.
optional .google.cloud.compute.v1.BackendServiceCdnPolicy cdn_policy = 213976452;
getCdnPolicyOrBuilder in interface BackendServiceOrBuilderpublic boolean hasCircuitBreakers()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;hasCircuitBreakers in interface BackendServiceOrBuilderpublic CircuitBreakers getCircuitBreakers()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;getCircuitBreakers in interface BackendServiceOrBuilderpublic BackendService.Builder setCircuitBreakers(CircuitBreakers value)
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;public BackendService.Builder setCircuitBreakers(CircuitBreakers.Builder builderForValue)
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;public BackendService.Builder mergeCircuitBreakers(CircuitBreakers value)
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;public BackendService.Builder clearCircuitBreakers()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;public CircuitBreakers.Builder getCircuitBreakersBuilder()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;public CircuitBreakersOrBuilder getCircuitBreakersOrBuilder()
optional .google.cloud.compute.v1.CircuitBreakers circuit_breakers = 421340061;getCircuitBreakersOrBuilder in interface BackendServiceOrBuilderpublic boolean hasCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;hasCompressionMode in interface BackendServiceOrBuilderpublic String getCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;getCompressionMode in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getCompressionModeBytes()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;getCompressionModeBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setCompressionMode(String value)
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;value - The compressionMode to set.public BackendService.Builder clearCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;public BackendService.Builder setCompressionModeBytes(com.google.protobuf.ByteString value)
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;value - The bytes for compressionMode to set.public boolean hasConnectionDraining()
connectionDraining cannot be specified with haPolicy.
optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747;
hasConnectionDraining in interface BackendServiceOrBuilderpublic ConnectionDraining getConnectionDraining()
connectionDraining cannot be specified with haPolicy.
optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747;
getConnectionDraining in interface BackendServiceOrBuilderpublic BackendService.Builder setConnectionDraining(ConnectionDraining value)
connectionDraining cannot be specified with haPolicy.
optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747;
public BackendService.Builder setConnectionDraining(ConnectionDraining.Builder builderForValue)
connectionDraining cannot be specified with haPolicy.
optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747;
public BackendService.Builder mergeConnectionDraining(ConnectionDraining value)
connectionDraining cannot be specified with haPolicy.
optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747;
public BackendService.Builder clearConnectionDraining()
connectionDraining cannot be specified with haPolicy.
optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747;
public ConnectionDraining.Builder getConnectionDrainingBuilder()
connectionDraining cannot be specified with haPolicy.
optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747;
public ConnectionDrainingOrBuilder getConnectionDrainingOrBuilder()
connectionDraining cannot be specified with haPolicy.
optional .google.cloud.compute.v1.ConnectionDraining connection_draining = 461096747;
getConnectionDrainingOrBuilder in interface BackendServiceOrBuilderpublic boolean hasConnectionTrackingPolicy()
Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969;
hasConnectionTrackingPolicy in interface BackendServiceOrBuilderpublic BackendServiceConnectionTrackingPolicy getConnectionTrackingPolicy()
Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969;
getConnectionTrackingPolicy in interface BackendServiceOrBuilderpublic BackendService.Builder setConnectionTrackingPolicy(BackendServiceConnectionTrackingPolicy value)
Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969;
public BackendService.Builder setConnectionTrackingPolicy(BackendServiceConnectionTrackingPolicy.Builder builderForValue)
Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969;
public BackendService.Builder mergeConnectionTrackingPolicy(BackendServiceConnectionTrackingPolicy value)
Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969;
public BackendService.Builder clearConnectionTrackingPolicy()
Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969;
public BackendServiceConnectionTrackingPolicy.Builder getConnectionTrackingPolicyBuilder()
Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969;
public BackendServiceConnectionTrackingPolicyOrBuilder getConnectionTrackingPolicyOrBuilder()
Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969;
getConnectionTrackingPolicyOrBuilder in interface BackendServiceOrBuilderpublic boolean hasConsistentHash()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883;
hasConsistentHash in interface BackendServiceOrBuilderpublic ConsistentHashLoadBalancerSettings getConsistentHash()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883;
getConsistentHash in interface BackendServiceOrBuilderpublic BackendService.Builder setConsistentHash(ConsistentHashLoadBalancerSettings value)
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883;
public BackendService.Builder setConsistentHash(ConsistentHashLoadBalancerSettings.Builder builderForValue)
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883;
public BackendService.Builder mergeConsistentHash(ConsistentHashLoadBalancerSettings value)
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883;
public BackendService.Builder clearConsistentHash()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883;
public ConsistentHashLoadBalancerSettings.Builder getConsistentHashBuilder()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883;
public ConsistentHashLoadBalancerSettingsOrBuilder getConsistentHashOrBuilder()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettings consistent_hash = 905883;
getConsistentHashOrBuilder in interface BackendServiceOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface BackendServiceOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public BackendService.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public BackendService.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public List<BackendServiceCustomMetric> getCustomMetricsList()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
getCustomMetricsList in interface BackendServiceOrBuilderpublic int getCustomMetricsCount()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
getCustomMetricsCount in interface BackendServiceOrBuilderpublic BackendServiceCustomMetric getCustomMetrics(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
getCustomMetrics in interface BackendServiceOrBuilderpublic BackendService.Builder setCustomMetrics(int index, BackendServiceCustomMetric value)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendService.Builder setCustomMetrics(int index, BackendServiceCustomMetric.Builder builderForValue)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendService.Builder addCustomMetrics(BackendServiceCustomMetric value)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendService.Builder addCustomMetrics(int index, BackendServiceCustomMetric value)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendService.Builder addCustomMetrics(BackendServiceCustomMetric.Builder builderForValue)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendService.Builder addCustomMetrics(int index, BackendServiceCustomMetric.Builder builderForValue)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendService.Builder addAllCustomMetrics(Iterable<? extends BackendServiceCustomMetric> values)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendService.Builder clearCustomMetrics()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendService.Builder removeCustomMetrics(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendServiceCustomMetric.Builder getCustomMetricsBuilder(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendServiceCustomMetricOrBuilder getCustomMetricsOrBuilder(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
getCustomMetricsOrBuilder in interface BackendServiceOrBuilderpublic List<? extends BackendServiceCustomMetricOrBuilder> getCustomMetricsOrBuilderList()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
getCustomMetricsOrBuilderList in interface BackendServiceOrBuilderpublic BackendServiceCustomMetric.Builder addCustomMetricsBuilder()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public BackendServiceCustomMetric.Builder addCustomMetricsBuilder(int index)
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public List<BackendServiceCustomMetric.Builder> getCustomMetricsBuilderList()
List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
repeated .google.cloud.compute.v1.BackendServiceCustomMetric custom_metrics = 429453813;
public com.google.protobuf.ProtocolStringList getCustomRequestHeadersList()
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;getCustomRequestHeadersList in interface BackendServiceOrBuilderpublic int getCustomRequestHeadersCount()
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;getCustomRequestHeadersCount in interface BackendServiceOrBuilderpublic String getCustomRequestHeaders(int index)
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;getCustomRequestHeaders in interface BackendServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCustomRequestHeadersBytes(int index)
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;getCustomRequestHeadersBytes in interface BackendServiceOrBuilderindex - The index of the value to return.public BackendService.Builder setCustomRequestHeaders(int index, String value)
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;index - The index to set the value at.value - The customRequestHeaders to set.public BackendService.Builder addCustomRequestHeaders(String value)
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;value - The customRequestHeaders to add.public BackendService.Builder addAllCustomRequestHeaders(Iterable<String> values)
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;values - The customRequestHeaders to add.public BackendService.Builder clearCustomRequestHeaders()
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;public BackendService.Builder addCustomRequestHeadersBytes(com.google.protobuf.ByteString value)
Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_request_headers = 27977992;value - The bytes of the customRequestHeaders to add.public com.google.protobuf.ProtocolStringList getCustomResponseHeadersList()
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;getCustomResponseHeadersList in interface BackendServiceOrBuilderpublic int getCustomResponseHeadersCount()
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;getCustomResponseHeadersCount in interface BackendServiceOrBuilderpublic String getCustomResponseHeaders(int index)
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;getCustomResponseHeaders in interface BackendServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCustomResponseHeadersBytes(int index)
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;getCustomResponseHeadersBytes in interface BackendServiceOrBuilderindex - The index of the value to return.public BackendService.Builder setCustomResponseHeaders(int index, String value)
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;index - The index to set the value at.value - The customResponseHeaders to set.public BackendService.Builder addCustomResponseHeaders(String value)
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;value - The customResponseHeaders to add.public BackendService.Builder addAllCustomResponseHeaders(Iterable<String> values)
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;values - The customResponseHeaders to add.public BackendService.Builder clearCustomResponseHeaders()
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;public BackendService.Builder addCustomResponseHeadersBytes(com.google.protobuf.ByteString value)
Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).
repeated string custom_response_headers = 387539094;value - The bytes of the customResponseHeaders to add.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface BackendServiceOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public BackendService.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public BackendService.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend service.
optional string edge_security_policy = 41036943;hasEdgeSecurityPolicy in interface BackendServiceOrBuilderpublic String getEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend service.
optional string edge_security_policy = 41036943;getEdgeSecurityPolicy in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getEdgeSecurityPolicyBytes()
[Output Only] The resource URL for the edge security policy associated with this backend service.
optional string edge_security_policy = 41036943;getEdgeSecurityPolicyBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setEdgeSecurityPolicy(String value)
[Output Only] The resource URL for the edge security policy associated with this backend service.
optional string edge_security_policy = 41036943;value - The edgeSecurityPolicy to set.public BackendService.Builder clearEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend service.
optional string edge_security_policy = 41036943;public BackendService.Builder setEdgeSecurityPolicyBytes(com.google.protobuf.ByteString value)
[Output Only] The resource URL for the edge security policy associated with this backend service.
optional string edge_security_policy = 41036943;value - The bytes for edgeSecurityPolicy to set.public boolean hasEnableCDN()
If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
optional bool enable_c_d_n = 250733499;hasEnableCDN in interface BackendServiceOrBuilderpublic boolean getEnableCDN()
If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
optional bool enable_c_d_n = 250733499;getEnableCDN in interface BackendServiceOrBuilderpublic BackendService.Builder setEnableCDN(boolean value)
If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
optional bool enable_c_d_n = 250733499;value - The enableCDN to set.public BackendService.Builder clearEnableCDN()
If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
optional bool enable_c_d_n = 250733499;public boolean hasExternalManagedMigrationState()
Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. Check the ExternalManagedMigrationState enum for the list of possible values.
optional string external_managed_migration_state = 66947020;hasExternalManagedMigrationState in interface BackendServiceOrBuilderpublic String getExternalManagedMigrationState()
Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. Check the ExternalManagedMigrationState enum for the list of possible values.
optional string external_managed_migration_state = 66947020;getExternalManagedMigrationState in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getExternalManagedMigrationStateBytes()
Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. Check the ExternalManagedMigrationState enum for the list of possible values.
optional string external_managed_migration_state = 66947020;getExternalManagedMigrationStateBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setExternalManagedMigrationState(String value)
Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. Check the ExternalManagedMigrationState enum for the list of possible values.
optional string external_managed_migration_state = 66947020;value - The externalManagedMigrationState to set.public BackendService.Builder clearExternalManagedMigrationState()
Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. Check the ExternalManagedMigrationState enum for the list of possible values.
optional string external_managed_migration_state = 66947020;public BackendService.Builder setExternalManagedMigrationStateBytes(com.google.protobuf.ByteString value)
Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. Check the ExternalManagedMigrationState enum for the list of possible values.
optional string external_managed_migration_state = 66947020;value - The bytes for externalManagedMigrationState to set.public boolean hasExternalManagedMigrationTestingPercentage()
Determines the fraction of requests that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value can only be set if the loadBalancingScheme in the BackendService is set to EXTERNAL (when using the classic Application Load Balancer) and the migration state is TEST_BY_PERCENTAGE.
optional float external_managed_migration_testing_percentage = 507232462;hasExternalManagedMigrationTestingPercentage in interface BackendServiceOrBuilderpublic float getExternalManagedMigrationTestingPercentage()
Determines the fraction of requests that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value can only be set if the loadBalancingScheme in the BackendService is set to EXTERNAL (when using the classic Application Load Balancer) and the migration state is TEST_BY_PERCENTAGE.
optional float external_managed_migration_testing_percentage = 507232462;getExternalManagedMigrationTestingPercentage in interface BackendServiceOrBuilderpublic BackendService.Builder setExternalManagedMigrationTestingPercentage(float value)
Determines the fraction of requests that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value can only be set if the loadBalancingScheme in the BackendService is set to EXTERNAL (when using the classic Application Load Balancer) and the migration state is TEST_BY_PERCENTAGE.
optional float external_managed_migration_testing_percentage = 507232462;value - The externalManagedMigrationTestingPercentage to set.public BackendService.Builder clearExternalManagedMigrationTestingPercentage()
Determines the fraction of requests that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value can only be set if the loadBalancingScheme in the BackendService is set to EXTERNAL (when using the classic Application Load Balancer) and the migration state is TEST_BY_PERCENTAGE.
optional float external_managed_migration_testing_percentage = 507232462;public boolean hasFailoverPolicy()
Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655;
hasFailoverPolicy in interface BackendServiceOrBuilderpublic BackendServiceFailoverPolicy getFailoverPolicy()
Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655;
getFailoverPolicy in interface BackendServiceOrBuilderpublic BackendService.Builder setFailoverPolicy(BackendServiceFailoverPolicy value)
Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655;
public BackendService.Builder setFailoverPolicy(BackendServiceFailoverPolicy.Builder builderForValue)
Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655;
public BackendService.Builder mergeFailoverPolicy(BackendServiceFailoverPolicy value)
Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655;
public BackendService.Builder clearFailoverPolicy()
Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655;
public BackendServiceFailoverPolicy.Builder getFailoverPolicyBuilder()
Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655;
public BackendServiceFailoverPolicyOrBuilder getFailoverPolicyOrBuilder()
Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy.
optional .google.cloud.compute.v1.BackendServiceFailoverPolicy failover_policy = 105658655;
getFailoverPolicyOrBuilder in interface BackendServiceOrBuilderpublic boolean hasFingerprint()
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.
optional string fingerprint = 234678500;hasFingerprint in interface BackendServiceOrBuilderpublic String getFingerprint()
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.
optional string fingerprint = 234678500;getFingerprint in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
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.
optional string fingerprint = 234678500;getFingerprintBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setFingerprint(String value)
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.
optional string fingerprint = 234678500;value - The fingerprint to set.public BackendService.Builder clearFingerprint()
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.
optional string fingerprint = 234678500;public BackendService.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
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.
optional string fingerprint = 234678500;value - The bytes for fingerprint to set.public boolean hasHaPolicy()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceHAPolicy ha_policy = 519879480;hasHaPolicy in interface BackendServiceOrBuilderpublic BackendServiceHAPolicy getHaPolicy()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceHAPolicy ha_policy = 519879480;getHaPolicy in interface BackendServiceOrBuilderpublic BackendService.Builder setHaPolicy(BackendServiceHAPolicy value)
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceHAPolicy ha_policy = 519879480;public BackendService.Builder setHaPolicy(BackendServiceHAPolicy.Builder builderForValue)
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceHAPolicy ha_policy = 519879480;public BackendService.Builder mergeHaPolicy(BackendServiceHAPolicy value)
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceHAPolicy ha_policy = 519879480;public BackendService.Builder clearHaPolicy()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceHAPolicy ha_policy = 519879480;public BackendServiceHAPolicy.Builder getHaPolicyBuilder()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceHAPolicy ha_policy = 519879480;public BackendServiceHAPolicyOrBuilder getHaPolicyOrBuilder()
Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceHAPolicy ha_policy = 519879480;getHaPolicyOrBuilder in interface BackendServiceOrBuilderpublic com.google.protobuf.ProtocolStringList getHealthChecksList()
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;getHealthChecksList in interface BackendServiceOrBuilderpublic int getHealthChecksCount()
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;getHealthChecksCount in interface BackendServiceOrBuilderpublic String getHealthChecks(int index)
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;getHealthChecks in interface BackendServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getHealthChecksBytes(int index)
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;getHealthChecksBytes in interface BackendServiceOrBuilderindex - The index of the value to return.public BackendService.Builder setHealthChecks(int index, String value)
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;index - The index to set the value at.value - The healthChecks to set.public BackendService.Builder addHealthChecks(String value)
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;value - The healthChecks to add.public BackendService.Builder addAllHealthChecks(Iterable<String> values)
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;values - The healthChecks to add.public BackendService.Builder clearHealthChecks()
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;public BackendService.Builder addHealthChecksBytes(com.google.protobuf.ByteString value)
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 unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy.
repeated string health_checks = 448370606;value - The bytes of the healthChecks to add.public boolean hasIap()
The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;hasIap in interface BackendServiceOrBuilderpublic BackendServiceIAP getIap()
The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;getIap in interface BackendServiceOrBuilderpublic BackendService.Builder setIap(BackendServiceIAP value)
The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;public BackendService.Builder setIap(BackendServiceIAP.Builder builderForValue)
The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;public BackendService.Builder mergeIap(BackendServiceIAP value)
The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;public BackendService.Builder clearIap()
The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;public BackendServiceIAP.Builder getIapBuilder()
The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;public BackendServiceIAPOrBuilder getIapOrBuilder()
The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
optional .google.cloud.compute.v1.BackendServiceIAP iap = 104024;getIapOrBuilder in interface BackendServiceOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface BackendServiceOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface BackendServiceOrBuilderpublic BackendService.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public BackendService.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasIpAddressSelectionPolicy()
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). Check the IpAddressSelectionPolicy enum for the list of possible values.
optional string ip_address_selection_policy = 77600840;hasIpAddressSelectionPolicy in interface BackendServiceOrBuilderpublic String getIpAddressSelectionPolicy()
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). Check the IpAddressSelectionPolicy enum for the list of possible values.
optional string ip_address_selection_policy = 77600840;getIpAddressSelectionPolicy in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getIpAddressSelectionPolicyBytes()
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). Check the IpAddressSelectionPolicy enum for the list of possible values.
optional string ip_address_selection_policy = 77600840;getIpAddressSelectionPolicyBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setIpAddressSelectionPolicy(String value)
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). Check the IpAddressSelectionPolicy enum for the list of possible values.
optional string ip_address_selection_policy = 77600840;value - The ipAddressSelectionPolicy to set.public BackendService.Builder clearIpAddressSelectionPolicy()
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). Check the IpAddressSelectionPolicy enum for the list of possible values.
optional string ip_address_selection_policy = 77600840;public BackendService.Builder setIpAddressSelectionPolicyBytes(com.google.protobuf.ByteString value)
Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). Check the IpAddressSelectionPolicy enum for the list of possible values.
optional string ip_address_selection_policy = 77600840;value - The bytes for ipAddressSelectionPolicy to set.public boolean hasKind()
[Output Only] Type of resource. Always compute#backendService for backend services.
optional string kind = 3292052;hasKind in interface BackendServiceOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#backendService for backend services.
optional string kind = 3292052;getKind in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#backendService for backend services.
optional string kind = 3292052;getKindBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setKind(String value)
[Output Only] Type of resource. Always compute#backendService for backend services.
optional string kind = 3292052;value - The kind to set.public BackendService.Builder clearKind()
[Output Only] Type of resource. Always compute#backendService for backend services.
optional string kind = 3292052;public BackendService.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#backendService for backend services.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasLoadBalancingScheme()
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. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;hasLoadBalancingScheme in interface BackendServiceOrBuilderpublic String getLoadBalancingScheme()
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. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;getLoadBalancingScheme in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getLoadBalancingSchemeBytes()
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. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;getLoadBalancingSchemeBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setLoadBalancingScheme(String value)
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. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;value - The loadBalancingScheme to set.public BackendService.Builder clearLoadBalancingScheme()
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. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;public BackendService.Builder setLoadBalancingSchemeBytes(com.google.protobuf.ByteString value)
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. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;value - The bytes for loadBalancingScheme to set.public List<BackendServiceLocalityLoadBalancingPolicyConfig> getLocalityLbPoliciesList()
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
getLocalityLbPoliciesList in interface BackendServiceOrBuilderpublic int getLocalityLbPoliciesCount()
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
getLocalityLbPoliciesCount in interface BackendServiceOrBuilderpublic BackendServiceLocalityLoadBalancingPolicyConfig getLocalityLbPolicies(int index)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
getLocalityLbPolicies in interface BackendServiceOrBuilderpublic BackendService.Builder setLocalityLbPolicies(int index, BackendServiceLocalityLoadBalancingPolicyConfig value)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendService.Builder setLocalityLbPolicies(int index, BackendServiceLocalityLoadBalancingPolicyConfig.Builder builderForValue)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendService.Builder addLocalityLbPolicies(BackendServiceLocalityLoadBalancingPolicyConfig value)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendService.Builder addLocalityLbPolicies(int index, BackendServiceLocalityLoadBalancingPolicyConfig value)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendService.Builder addLocalityLbPolicies(BackendServiceLocalityLoadBalancingPolicyConfig.Builder builderForValue)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendService.Builder addLocalityLbPolicies(int index, BackendServiceLocalityLoadBalancingPolicyConfig.Builder builderForValue)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendService.Builder addAllLocalityLbPolicies(Iterable<? extends BackendServiceLocalityLoadBalancingPolicyConfig> values)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendService.Builder clearLocalityLbPolicies()
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendService.Builder removeLocalityLbPolicies(int index)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder getLocalityLbPoliciesBuilder(int index)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder getLocalityLbPoliciesOrBuilder(int index)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
getLocalityLbPoliciesOrBuilder in interface BackendServiceOrBuilderpublic List<? extends BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder> getLocalityLbPoliciesOrBuilderList()
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
getLocalityLbPoliciesOrBuilderList in interface BackendServiceOrBuilderpublic BackendServiceLocalityLoadBalancingPolicyConfig.Builder addLocalityLbPoliciesBuilder()
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public BackendServiceLocalityLoadBalancingPolicyConfig.Builder addLocalityLbPoliciesBuilder(int index)
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public List<BackendServiceLocalityLoadBalancingPolicyConfig.Builder> getLocalityLbPoliciesBuilderList()
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.
repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557;
public boolean hasLocalityLbPolicy()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. 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. localityLbPolicy cannot be specified with haPolicy. Check the LocalityLbPolicy enum for the list of possible values.
optional string locality_lb_policy = 131431487;hasLocalityLbPolicy in interface BackendServiceOrBuilderpublic String getLocalityLbPolicy()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. 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. localityLbPolicy cannot be specified with haPolicy. Check the LocalityLbPolicy enum for the list of possible values.
optional string locality_lb_policy = 131431487;getLocalityLbPolicy in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getLocalityLbPolicyBytes()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. 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. localityLbPolicy cannot be specified with haPolicy. Check the LocalityLbPolicy enum for the list of possible values.
optional string locality_lb_policy = 131431487;getLocalityLbPolicyBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setLocalityLbPolicy(String value)
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. 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. localityLbPolicy cannot be specified with haPolicy. Check the LocalityLbPolicy enum for the list of possible values.
optional string locality_lb_policy = 131431487;value - The localityLbPolicy to set.public BackendService.Builder clearLocalityLbPolicy()
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. 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. localityLbPolicy cannot be specified with haPolicy. Check the LocalityLbPolicy enum for the list of possible values.
optional string locality_lb_policy = 131431487;public BackendService.Builder setLocalityLbPolicyBytes(com.google.protobuf.ByteString value)
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, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. 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. localityLbPolicy cannot be specified with haPolicy. Check the LocalityLbPolicy enum for the list of possible values.
optional string locality_lb_policy = 131431487;value - The bytes for localityLbPolicy to set.public boolean hasLogConfig()
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.
optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;
hasLogConfig in interface BackendServiceOrBuilderpublic BackendServiceLogConfig getLogConfig()
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.
optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;
getLogConfig in interface BackendServiceOrBuilderpublic BackendService.Builder setLogConfig(BackendServiceLogConfig value)
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.
optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;
public BackendService.Builder setLogConfig(BackendServiceLogConfig.Builder builderForValue)
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.
optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;
public BackendService.Builder mergeLogConfig(BackendServiceLogConfig value)
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.
optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;
public BackendService.Builder clearLogConfig()
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.
optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;
public BackendServiceLogConfig.Builder getLogConfigBuilder()
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.
optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;
public BackendServiceLogConfigOrBuilder getLogConfigOrBuilder()
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.
optional .google.cloud.compute.v1.BackendServiceLogConfig log_config = 351299741;
getLogConfigOrBuilder in interface BackendServiceOrBuilderpublic boolean hasMaxStreamDuration()
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.
optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;hasMaxStreamDuration in interface BackendServiceOrBuilderpublic Duration getMaxStreamDuration()
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.
optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;getMaxStreamDuration in interface BackendServiceOrBuilderpublic BackendService.Builder setMaxStreamDuration(Duration value)
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.
optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;public BackendService.Builder setMaxStreamDuration(Duration.Builder builderForValue)
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.
optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;public BackendService.Builder mergeMaxStreamDuration(Duration value)
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.
optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;public BackendService.Builder clearMaxStreamDuration()
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.
optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;public Duration.Builder getMaxStreamDurationBuilder()
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.
optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;public DurationOrBuilder getMaxStreamDurationOrBuilder()
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.
optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376;getMaxStreamDurationOrBuilder in interface BackendServiceOrBuilderpublic int getMetadatasCount()
BackendServiceOrBuilderDeployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340;getMetadatasCount in interface BackendServiceOrBuilderpublic boolean containsMetadatas(String key)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340;containsMetadatas in interface BackendServiceOrBuilder@Deprecated public Map<String,String> getMetadatas()
getMetadatasMap() instead.getMetadatas in interface BackendServiceOrBuilderpublic Map<String,String> getMetadatasMap()
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340;getMetadatasMap in interface BackendServiceOrBuilderpublic String getMetadatasOrDefault(String key, String defaultValue)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340;getMetadatasOrDefault in interface BackendServiceOrBuilderpublic String getMetadatasOrThrow(String key)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340;getMetadatasOrThrow in interface BackendServiceOrBuilderpublic BackendService.Builder clearMetadatas()
public BackendService.Builder removeMetadatas(String key)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340;@Deprecated public Map<String,String> getMutableMetadatas()
public BackendService.Builder putMetadatas(String key, String value)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340;public BackendService.Builder putAllMetadatas(Map<String,String> values)
Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH
map<string, string> metadatas = 8514340;public boolean hasName()
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.
optional string name = 3373707;hasName in interface BackendServiceOrBuilderpublic String getName()
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.
optional string name = 3373707;getName in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
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.
optional string name = 3373707;getNameBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setName(String value)
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.
optional string name = 3373707;value - The name to set.public BackendService.Builder clearName()
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.
optional string name = 3373707;public BackendService.Builder setNameBytes(com.google.protobuf.ByteString value)
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.
optional string name = 3373707;value - The bytes for name to set.public boolean hasNetwork()
The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL, or when the load balancing scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
optional string network = 232872494;hasNetwork in interface BackendServiceOrBuilderpublic String getNetwork()
The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL, or when the load balancing scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
optional string network = 232872494;getNetwork in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL, or when the load balancing scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
optional string network = 232872494;getNetworkBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setNetwork(String value)
The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL, or when the load balancing scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
optional string network = 232872494;value - The network to set.public BackendService.Builder clearNetwork()
The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL, or when the load balancing scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
optional string network = 232872494;public BackendService.Builder setNetworkBytes(com.google.protobuf.ByteString value)
The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL, or when the load balancing scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
optional string network = 232872494;value - The bytes for network to set.public boolean hasOutlierDetection()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. 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.
optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;
hasOutlierDetection in interface BackendServiceOrBuilderpublic OutlierDetection getOutlierDetection()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. 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.
optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;
getOutlierDetection in interface BackendServiceOrBuilderpublic BackendService.Builder setOutlierDetection(OutlierDetection value)
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. 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.
optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;
public BackendService.Builder setOutlierDetection(OutlierDetection.Builder builderForValue)
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. 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.
optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;
public BackendService.Builder mergeOutlierDetection(OutlierDetection value)
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. 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.
optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;
public BackendService.Builder clearOutlierDetection()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. 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.
optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;
public OutlierDetection.Builder getOutlierDetectionBuilder()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. 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.
optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;
public OutlierDetectionOrBuilder getOutlierDetectionOrBuilder()
Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. 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.
optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;
getOutlierDetectionOrBuilder in interface BackendServiceOrBuilderpublic boolean hasPort()
Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port.
optional int32 port = 3446913;hasPort in interface BackendServiceOrBuilderpublic int getPort()
Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port.
optional int32 port = 3446913;getPort in interface BackendServiceOrBuilderpublic BackendService.Builder setPort(int value)
Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port.
optional int32 port = 3446913;value - The port to set.public BackendService.Builder clearPort()
Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port.
optional int32 port = 3446913;public boolean hasPortName()
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 passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name.
optional string port_name = 41534345;hasPortName in interface BackendServiceOrBuilderpublic String getPortName()
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 passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name.
optional string port_name = 41534345;getPortName in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getPortNameBytes()
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 passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name.
optional string port_name = 41534345;getPortNameBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setPortName(String value)
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 passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name.
optional string port_name = 41534345;value - The portName to set.public BackendService.Builder clearPortName()
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 passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name.
optional string port_name = 41534345;public BackendService.Builder setPortNameBytes(com.google.protobuf.ByteString value)
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 passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name.
optional string port_name = 41534345;value - The bytes for portName to set.public boolean hasProtocol()
The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, H2C, 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. Check the Protocol enum for the list of possible values.
optional string protocol = 84577944;hasProtocol in interface BackendServiceOrBuilderpublic String getProtocol()
The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, H2C, 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. Check the Protocol enum for the list of possible values.
optional string protocol = 84577944;getProtocol in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, H2C, 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. Check the Protocol enum for the list of possible values.
optional string protocol = 84577944;getProtocolBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setProtocol(String value)
The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, H2C, 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. Check the Protocol enum for the list of possible values.
optional string protocol = 84577944;value - The protocol to set.public BackendService.Builder clearProtocol()
The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, H2C, 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. Check the Protocol enum for the list of possible values.
optional string protocol = 84577944;public BackendService.Builder setProtocolBytes(com.google.protobuf.ByteString value)
The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, H2C, 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. Check the Protocol enum for the list of possible values.
optional string protocol = 84577944;value - The bytes for protocol to set.public boolean hasRegion()
[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.
optional string region = 138946292;hasRegion in interface BackendServiceOrBuilderpublic String getRegion()
[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.
optional string region = 138946292;getRegion in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[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.
optional string region = 138946292;getRegionBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setRegion(String value)
[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.
optional string region = 138946292;value - The region to set.public BackendService.Builder clearRegion()
[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.
optional string region = 138946292;public BackendService.Builder setRegionBytes(com.google.protobuf.ByteString value)
[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.
optional string region = 138946292;value - The bytes for region to set.public boolean hasSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this backend service.
optional string security_policy = 171082513;hasSecurityPolicy in interface BackendServiceOrBuilderpublic String getSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this backend service.
optional string security_policy = 171082513;getSecurityPolicy in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getSecurityPolicyBytes()
[Output Only] The resource URL for the security policy associated with this backend service.
optional string security_policy = 171082513;getSecurityPolicyBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setSecurityPolicy(String value)
[Output Only] The resource URL for the security policy associated with this backend service.
optional string security_policy = 171082513;value - The securityPolicy to set.public BackendService.Builder clearSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this backend service.
optional string security_policy = 171082513;public BackendService.Builder setSecurityPolicyBytes(com.google.protobuf.ByteString value)
[Output Only] The resource URL for the security policy associated with this backend service.
optional string security_policy = 171082513;value - The bytes for securityPolicy to set.public boolean hasSecuritySettings()
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.
optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;
hasSecuritySettings in interface BackendServiceOrBuilderpublic SecuritySettings getSecuritySettings()
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.
optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;
getSecuritySettings in interface BackendServiceOrBuilderpublic BackendService.Builder setSecuritySettings(SecuritySettings value)
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.
optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;
public BackendService.Builder setSecuritySettings(SecuritySettings.Builder builderForValue)
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.
optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;
public BackendService.Builder mergeSecuritySettings(SecuritySettings value)
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.
optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;
public BackendService.Builder clearSecuritySettings()
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.
optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;
public SecuritySettings.Builder getSecuritySettingsBuilder()
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.
optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;
public SecuritySettingsOrBuilder getSecuritySettingsOrBuilder()
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.
optional .google.cloud.compute.v1.SecuritySettings security_settings = 478649922;
getSecuritySettingsOrBuilder in interface BackendServiceOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface BackendServiceOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public BackendService.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public BackendService.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public com.google.protobuf.ProtocolStringList getServiceBindingsList()
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.
repeated string service_bindings = 133581016;getServiceBindingsList in interface BackendServiceOrBuilderpublic int getServiceBindingsCount()
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.
repeated string service_bindings = 133581016;getServiceBindingsCount in interface BackendServiceOrBuilderpublic String getServiceBindings(int index)
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.
repeated string service_bindings = 133581016;getServiceBindings in interface BackendServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getServiceBindingsBytes(int index)
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.
repeated string service_bindings = 133581016;getServiceBindingsBytes in interface BackendServiceOrBuilderindex - The index of the value to return.public BackendService.Builder setServiceBindings(int index, String value)
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.
repeated string service_bindings = 133581016;index - The index to set the value at.value - The serviceBindings to set.public BackendService.Builder addServiceBindings(String value)
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.
repeated string service_bindings = 133581016;value - The serviceBindings to add.public BackendService.Builder addAllServiceBindings(Iterable<String> values)
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.
repeated string service_bindings = 133581016;values - The serviceBindings to add.public BackendService.Builder clearServiceBindings()
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.
repeated string service_bindings = 133581016;public BackendService.Builder addServiceBindingsBytes(com.google.protobuf.ByteString value)
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.
repeated string service_bindings = 133581016;value - The bytes of the serviceBindings to add.public boolean hasServiceLbPolicy()
URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
optional string service_lb_policy = 94848785;hasServiceLbPolicy in interface BackendServiceOrBuilderpublic String getServiceLbPolicy()
URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
optional string service_lb_policy = 94848785;getServiceLbPolicy in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getServiceLbPolicyBytes()
URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
optional string service_lb_policy = 94848785;getServiceLbPolicyBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setServiceLbPolicy(String value)
URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
optional string service_lb_policy = 94848785;value - The serviceLbPolicy to set.public BackendService.Builder clearServiceLbPolicy()
URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
optional string service_lb_policy = 94848785;public BackendService.Builder setServiceLbPolicyBytes(com.google.protobuf.ByteString value)
URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
optional string service_lb_policy = 94848785;value - The bytes for serviceLbPolicy to set.public boolean hasSessionAffinity()
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). sessionAffinity cannot be specified with haPolicy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;hasSessionAffinity in interface BackendServiceOrBuilderpublic String getSessionAffinity()
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). sessionAffinity cannot be specified with haPolicy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;getSessionAffinity in interface BackendServiceOrBuilderpublic com.google.protobuf.ByteString getSessionAffinityBytes()
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). sessionAffinity cannot be specified with haPolicy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;getSessionAffinityBytes in interface BackendServiceOrBuilderpublic BackendService.Builder setSessionAffinity(String value)
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). sessionAffinity cannot be specified with haPolicy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;value - The sessionAffinity to set.public BackendService.Builder clearSessionAffinity()
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). sessionAffinity cannot be specified with haPolicy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;public BackendService.Builder setSessionAffinityBytes(com.google.protobuf.ByteString value)
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). sessionAffinity cannot be specified with haPolicy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;value - The bytes for sessionAffinity to set.public boolean hasStrongSessionAffinityCookie()
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722;
hasStrongSessionAffinityCookie in interface BackendServiceOrBuilderpublic BackendServiceHttpCookie getStrongSessionAffinityCookie()
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722;
getStrongSessionAffinityCookie in interface BackendServiceOrBuilderpublic BackendService.Builder setStrongSessionAffinityCookie(BackendServiceHttpCookie value)
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722;
public BackendService.Builder setStrongSessionAffinityCookie(BackendServiceHttpCookie.Builder builderForValue)
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722;
public BackendService.Builder mergeStrongSessionAffinityCookie(BackendServiceHttpCookie value)
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722;
public BackendService.Builder clearStrongSessionAffinityCookie()
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722;
public BackendServiceHttpCookie.Builder getStrongSessionAffinityCookieBuilder()
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722;
public BackendServiceHttpCookieOrBuilder getStrongSessionAffinityCookieOrBuilder()
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722;
getStrongSessionAffinityCookieOrBuilder in interface BackendServiceOrBuilderpublic boolean hasSubsetting()
subsetting cannot be specified with haPolicy.
optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;hasSubsetting in interface BackendServiceOrBuilderpublic Subsetting getSubsetting()
subsetting cannot be specified with haPolicy.
optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;getSubsetting in interface BackendServiceOrBuilderpublic BackendService.Builder setSubsetting(Subsetting value)
subsetting cannot be specified with haPolicy.
optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;public BackendService.Builder setSubsetting(Subsetting.Builder builderForValue)
subsetting cannot be specified with haPolicy.
optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;public BackendService.Builder mergeSubsetting(Subsetting value)
subsetting cannot be specified with haPolicy.
optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;public BackendService.Builder clearSubsetting()
subsetting cannot be specified with haPolicy.
optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;public Subsetting.Builder getSubsettingBuilder()
subsetting cannot be specified with haPolicy.
optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;public SubsettingOrBuilder getSubsettingOrBuilder()
subsetting cannot be specified with haPolicy.
optional .google.cloud.compute.v1.Subsetting subsetting = 450283536;getSubsettingOrBuilder in interface BackendServiceOrBuilderpublic boolean hasTimeoutSec()
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.
optional int32 timeout_sec = 79994995;hasTimeoutSec in interface BackendServiceOrBuilderpublic int getTimeoutSec()
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.
optional int32 timeout_sec = 79994995;getTimeoutSec in interface BackendServiceOrBuilderpublic BackendService.Builder setTimeoutSec(int value)
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.
optional int32 timeout_sec = 79994995;value - The timeoutSec to set.public BackendService.Builder clearTimeoutSec()
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.
optional int32 timeout_sec = 79994995;public boolean hasTlsSettings()
Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
optional .google.cloud.compute.v1.BackendServiceTlsSettings tls_settings = 81794791;
hasTlsSettings in interface BackendServiceOrBuilderpublic BackendServiceTlsSettings getTlsSettings()
Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
optional .google.cloud.compute.v1.BackendServiceTlsSettings tls_settings = 81794791;
getTlsSettings in interface BackendServiceOrBuilderpublic BackendService.Builder setTlsSettings(BackendServiceTlsSettings value)
Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
optional .google.cloud.compute.v1.BackendServiceTlsSettings tls_settings = 81794791;
public BackendService.Builder setTlsSettings(BackendServiceTlsSettings.Builder builderForValue)
Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
optional .google.cloud.compute.v1.BackendServiceTlsSettings tls_settings = 81794791;
public BackendService.Builder mergeTlsSettings(BackendServiceTlsSettings value)
Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
optional .google.cloud.compute.v1.BackendServiceTlsSettings tls_settings = 81794791;
public BackendService.Builder clearTlsSettings()
Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
optional .google.cloud.compute.v1.BackendServiceTlsSettings tls_settings = 81794791;
public BackendServiceTlsSettings.Builder getTlsSettingsBuilder()
Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
optional .google.cloud.compute.v1.BackendServiceTlsSettings tls_settings = 81794791;
public BackendServiceTlsSettingsOrBuilder getTlsSettingsOrBuilder()
Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
optional .google.cloud.compute.v1.BackendServiceTlsSettings tls_settings = 81794791;
getTlsSettingsOrBuilder in interface BackendServiceOrBuilderpublic List<BackendServiceUsedBy> getUsedByList()
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;getUsedByList in interface BackendServiceOrBuilderpublic int getUsedByCount()
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;getUsedByCount in interface BackendServiceOrBuilderpublic BackendServiceUsedBy getUsedBy(int index)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;getUsedBy in interface BackendServiceOrBuilderpublic BackendService.Builder setUsedBy(int index, BackendServiceUsedBy value)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendService.Builder setUsedBy(int index, BackendServiceUsedBy.Builder builderForValue)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendService.Builder addUsedBy(BackendServiceUsedBy value)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendService.Builder addUsedBy(int index, BackendServiceUsedBy value)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendService.Builder addUsedBy(BackendServiceUsedBy.Builder builderForValue)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendService.Builder addUsedBy(int index, BackendServiceUsedBy.Builder builderForValue)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendService.Builder addAllUsedBy(Iterable<? extends BackendServiceUsedBy> values)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendService.Builder clearUsedBy()
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendService.Builder removeUsedBy(int index)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendServiceUsedBy.Builder getUsedByBuilder(int index)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendServiceUsedByOrBuilder getUsedByOrBuilder(int index)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;getUsedByOrBuilder in interface BackendServiceOrBuilderpublic List<? extends BackendServiceUsedByOrBuilder> getUsedByOrBuilderList()
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;getUsedByOrBuilderList in interface BackendServiceOrBuilderpublic BackendServiceUsedBy.Builder addUsedByBuilder()
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public BackendServiceUsedBy.Builder addUsedByBuilder(int index)
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public List<BackendServiceUsedBy.Builder> getUsedByBuilderList()
[Output Only] List of resources referencing given backend service.
repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729;public final BackendService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>public final BackendService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BackendService.Builder>Copyright © 2025 Google LLC. All rights reserved.