Class ServiceLbPolicy.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.Builder>
com.google.cloud.networkservices.v1.ServiceLbPolicy.Builder
All Implemented Interfaces:
ServiceLbPolicyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ServiceLbPolicy

public static final class ServiceLbPolicy.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.Builder> implements ServiceLbPolicyOrBuilder
 ServiceLbPolicy holds global load balancing and traffic distribution
 configuration that can be applied to a BackendService.
 
Protobuf type google.cloud.networkservices.v1.ServiceLbPolicy
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.Builder>
    • clear

      public ServiceLbPolicy.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.Builder>
    • getDefaultInstanceForType

      public ServiceLbPolicy getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ServiceLbPolicy build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ServiceLbPolicy buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ServiceLbPolicy.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceLbPolicy.Builder>
    • mergeFrom

      public ServiceLbPolicy.Builder mergeFrom(ServiceLbPolicy other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.Builder>
    • mergeFrom

      public ServiceLbPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceLbPolicy.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Name of the ServiceLbPolicy resource. It matches pattern
       `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ServiceLbPolicyOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the ServiceLbPolicy resource. It matches pattern
       `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ServiceLbPolicyOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ServiceLbPolicy.Builder setName(String value)
       Identifier. Name of the ServiceLbPolicy resource. It matches pattern
       `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ServiceLbPolicy.Builder clearName()
       Identifier. Name of the ServiceLbPolicy resource. It matches pattern
       `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ServiceLbPolicy.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Name of the ServiceLbPolicy resource. It matches pattern
       `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp when this resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ServiceLbPolicyOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when this resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ServiceLbPolicyOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ServiceLbPolicy.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public ServiceLbPolicy.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when this resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public ServiceLbPolicy.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public ServiceLbPolicy.Builder clearCreateTime()
       Output only. The timestamp when this resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp when this resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when this resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ServiceLbPolicyOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when this resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ServiceLbPolicyOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when this resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ServiceLbPolicyOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ServiceLbPolicy.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public ServiceLbPolicy.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when this resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ServiceLbPolicy.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ServiceLbPolicy.Builder clearUpdateTime()
       Output only. The timestamp when this resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when this resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when this resource was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ServiceLbPolicyOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ServiceLbPolicyOrBuilder
       Optional. Set of label tags associated with the ServiceLbPolicy resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface ServiceLbPolicyOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Set of label tags associated with the ServiceLbPolicy resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface ServiceLbPolicyOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ServiceLbPolicyOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Set of label tags associated with the ServiceLbPolicy resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface ServiceLbPolicyOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Set of label tags associated with the ServiceLbPolicy resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface ServiceLbPolicyOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Set of label tags associated with the ServiceLbPolicy resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface ServiceLbPolicyOrBuilder
    • clearLabels

      public ServiceLbPolicy.Builder clearLabels()
    • removeLabels

      public ServiceLbPolicy.Builder removeLabels(String key)
       Optional. Set of label tags associated with the ServiceLbPolicy resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public ServiceLbPolicy.Builder putLabels(String key, String value)
       Optional. Set of label tags associated with the ServiceLbPolicy resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public ServiceLbPolicy.Builder putAllLabels(Map<String,String> values)
       Optional. Set of label tags associated with the ServiceLbPolicy resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getDescription

      public String getDescription()
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface ServiceLbPolicyOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface ServiceLbPolicyOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ServiceLbPolicy.Builder setDescription(String value)
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ServiceLbPolicy.Builder clearDescription()
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ServiceLbPolicy.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getLoadBalancingAlgorithmValue

      public int getLoadBalancingAlgorithmValue()
       Optional. The type of load balancing algorithm to be used. The default
       behavior is WATERFALL_BY_REGION.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm load_balancing_algorithm = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLoadBalancingAlgorithmValue in interface ServiceLbPolicyOrBuilder
      Returns:
      The enum numeric value on the wire for loadBalancingAlgorithm.
    • setLoadBalancingAlgorithmValue

      public ServiceLbPolicy.Builder setLoadBalancingAlgorithmValue(int value)
       Optional. The type of load balancing algorithm to be used. The default
       behavior is WATERFALL_BY_REGION.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm load_balancing_algorithm = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for loadBalancingAlgorithm to set.
      Returns:
      This builder for chaining.
    • getLoadBalancingAlgorithm

      public ServiceLbPolicy.LoadBalancingAlgorithm getLoadBalancingAlgorithm()
       Optional. The type of load balancing algorithm to be used. The default
       behavior is WATERFALL_BY_REGION.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm load_balancing_algorithm = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLoadBalancingAlgorithm in interface ServiceLbPolicyOrBuilder
      Returns:
      The loadBalancingAlgorithm.
    • setLoadBalancingAlgorithm

      public ServiceLbPolicy.Builder setLoadBalancingAlgorithm(ServiceLbPolicy.LoadBalancingAlgorithm value)
       Optional. The type of load balancing algorithm to be used. The default
       behavior is WATERFALL_BY_REGION.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm load_balancing_algorithm = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The loadBalancingAlgorithm to set.
      Returns:
      This builder for chaining.
    • clearLoadBalancingAlgorithm

      public ServiceLbPolicy.Builder clearLoadBalancingAlgorithm()
       Optional. The type of load balancing algorithm to be used. The default
       behavior is WATERFALL_BY_REGION.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm load_balancing_algorithm = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasAutoCapacityDrain

      public boolean hasAutoCapacityDrain()
       Optional. Configuration to automatically move traffic away for unhealthy
       IG/NEG for the associated Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAutoCapacityDrain in interface ServiceLbPolicyOrBuilder
      Returns:
      Whether the autoCapacityDrain field is set.
    • getAutoCapacityDrain

      public ServiceLbPolicy.AutoCapacityDrain getAutoCapacityDrain()
       Optional. Configuration to automatically move traffic away for unhealthy
       IG/NEG for the associated Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoCapacityDrain in interface ServiceLbPolicyOrBuilder
      Returns:
      The autoCapacityDrain.
    • setAutoCapacityDrain

      public ServiceLbPolicy.Builder setAutoCapacityDrain(ServiceLbPolicy.AutoCapacityDrain value)
       Optional. Configuration to automatically move traffic away for unhealthy
       IG/NEG for the associated Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setAutoCapacityDrain

      public ServiceLbPolicy.Builder setAutoCapacityDrain(ServiceLbPolicy.AutoCapacityDrain.Builder builderForValue)
       Optional. Configuration to automatically move traffic away for unhealthy
       IG/NEG for the associated Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAutoCapacityDrain

      public ServiceLbPolicy.Builder mergeAutoCapacityDrain(ServiceLbPolicy.AutoCapacityDrain value)
       Optional. Configuration to automatically move traffic away for unhealthy
       IG/NEG for the associated Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearAutoCapacityDrain

      public ServiceLbPolicy.Builder clearAutoCapacityDrain()
       Optional. Configuration to automatically move traffic away for unhealthy
       IG/NEG for the associated Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getAutoCapacityDrainBuilder

      public ServiceLbPolicy.AutoCapacityDrain.Builder getAutoCapacityDrainBuilder()
       Optional. Configuration to automatically move traffic away for unhealthy
       IG/NEG for the associated Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getAutoCapacityDrainOrBuilder

      public ServiceLbPolicy.AutoCapacityDrainOrBuilder getAutoCapacityDrainOrBuilder()
       Optional. Configuration to automatically move traffic away for unhealthy
       IG/NEG for the associated Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain auto_capacity_drain = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoCapacityDrainOrBuilder in interface ServiceLbPolicyOrBuilder
    • hasFailoverConfig

      public boolean hasFailoverConfig()
       Optional. Configuration related to health based failover.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFailoverConfig in interface ServiceLbPolicyOrBuilder
      Returns:
      Whether the failoverConfig field is set.
    • getFailoverConfig

      public ServiceLbPolicy.FailoverConfig getFailoverConfig()
       Optional. Configuration related to health based failover.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFailoverConfig in interface ServiceLbPolicyOrBuilder
      Returns:
      The failoverConfig.
    • setFailoverConfig

      public ServiceLbPolicy.Builder setFailoverConfig(ServiceLbPolicy.FailoverConfig value)
       Optional. Configuration related to health based failover.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
    • setFailoverConfig

      public ServiceLbPolicy.Builder setFailoverConfig(ServiceLbPolicy.FailoverConfig.Builder builderForValue)
       Optional. Configuration related to health based failover.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
    • mergeFailoverConfig

      public ServiceLbPolicy.Builder mergeFailoverConfig(ServiceLbPolicy.FailoverConfig value)
       Optional. Configuration related to health based failover.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
    • clearFailoverConfig

      public ServiceLbPolicy.Builder clearFailoverConfig()
       Optional. Configuration related to health based failover.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getFailoverConfigBuilder

      public ServiceLbPolicy.FailoverConfig.Builder getFailoverConfigBuilder()
       Optional. Configuration related to health based failover.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getFailoverConfigOrBuilder

      public ServiceLbPolicy.FailoverConfigOrBuilder getFailoverConfigOrBuilder()
       Optional. Configuration related to health based failover.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig failover_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFailoverConfigOrBuilder in interface ServiceLbPolicyOrBuilder
    • hasIsolationConfig

      public boolean hasIsolationConfig()
       Optional. Configuration to provide isolation support for the associated
       Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig isolation_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasIsolationConfig in interface ServiceLbPolicyOrBuilder
      Returns:
      Whether the isolationConfig field is set.
    • getIsolationConfig

      public ServiceLbPolicy.IsolationConfig getIsolationConfig()
       Optional. Configuration to provide isolation support for the associated
       Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig isolation_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsolationConfig in interface ServiceLbPolicyOrBuilder
      Returns:
      The isolationConfig.
    • setIsolationConfig

      public ServiceLbPolicy.Builder setIsolationConfig(ServiceLbPolicy.IsolationConfig value)
       Optional. Configuration to provide isolation support for the associated
       Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig isolation_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • setIsolationConfig

      public ServiceLbPolicy.Builder setIsolationConfig(ServiceLbPolicy.IsolationConfig.Builder builderForValue)
       Optional. Configuration to provide isolation support for the associated
       Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig isolation_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • mergeIsolationConfig

      public ServiceLbPolicy.Builder mergeIsolationConfig(ServiceLbPolicy.IsolationConfig value)
       Optional. Configuration to provide isolation support for the associated
       Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig isolation_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • clearIsolationConfig

      public ServiceLbPolicy.Builder clearIsolationConfig()
       Optional. Configuration to provide isolation support for the associated
       Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig isolation_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getIsolationConfigBuilder

      public ServiceLbPolicy.IsolationConfig.Builder getIsolationConfigBuilder()
       Optional. Configuration to provide isolation support for the associated
       Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig isolation_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getIsolationConfigOrBuilder

      public ServiceLbPolicy.IsolationConfigOrBuilder getIsolationConfigOrBuilder()
       Optional. Configuration to provide isolation support for the associated
       Backend Service.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig isolation_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsolationConfigOrBuilder in interface ServiceLbPolicyOrBuilder