Class ServiceLbPolicy.IsolationConfig.Builder

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

public static final class ServiceLbPolicy.IsolationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.IsolationConfig.Builder> implements ServiceLbPolicy.IsolationConfigOrBuilder
 Configuration to provide isolation support for the associated Backend
 Service.
 
Protobuf type google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ServiceLbPolicy.IsolationConfig.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.IsolationConfig.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.IsolationConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ServiceLbPolicy.IsolationConfig.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.IsolationConfig.Builder>
    • mergeFrom

    • isInitialized

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

      public ServiceLbPolicy.IsolationConfig.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.IsolationConfig.Builder>
      Throws:
      IOException
    • getIsolationGranularityValue

      public int getIsolationGranularityValue()
       Optional. The isolation granularity of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularity isolation_granularity = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsolationGranularityValue in interface ServiceLbPolicy.IsolationConfigOrBuilder
      Returns:
      The enum numeric value on the wire for isolationGranularity.
    • setIsolationGranularityValue

      public ServiceLbPolicy.IsolationConfig.Builder setIsolationGranularityValue(int value)
       Optional. The isolation granularity of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularity isolation_granularity = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for isolationGranularity to set.
      Returns:
      This builder for chaining.
    • getIsolationGranularity

      public ServiceLbPolicy.IsolationGranularity getIsolationGranularity()
       Optional. The isolation granularity of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularity isolation_granularity = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsolationGranularity in interface ServiceLbPolicy.IsolationConfigOrBuilder
      Returns:
      The isolationGranularity.
    • setIsolationGranularity

       Optional. The isolation granularity of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularity isolation_granularity = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The isolationGranularity to set.
      Returns:
      This builder for chaining.
    • clearIsolationGranularity

      public ServiceLbPolicy.IsolationConfig.Builder clearIsolationGranularity()
       Optional. The isolation granularity of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularity isolation_granularity = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getIsolationModeValue

      public int getIsolationModeValue()
       Optional. The isolation mode of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationMode isolation_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsolationModeValue in interface ServiceLbPolicy.IsolationConfigOrBuilder
      Returns:
      The enum numeric value on the wire for isolationMode.
    • setIsolationModeValue

      public ServiceLbPolicy.IsolationConfig.Builder setIsolationModeValue(int value)
       Optional. The isolation mode of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationMode isolation_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for isolationMode to set.
      Returns:
      This builder for chaining.
    • getIsolationMode

      public ServiceLbPolicy.IsolationMode getIsolationMode()
       Optional. The isolation mode of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationMode isolation_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsolationMode in interface ServiceLbPolicy.IsolationConfigOrBuilder
      Returns:
      The isolationMode.
    • setIsolationMode

       Optional. The isolation mode of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationMode isolation_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The isolationMode to set.
      Returns:
      This builder for chaining.
    • clearIsolationMode

      public ServiceLbPolicy.IsolationConfig.Builder clearIsolationMode()
       Optional. The isolation mode of the load balancer.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy.IsolationMode isolation_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.