Class LoadBalancingConfig.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LoadBalancingConfigOrBuilder, Cloneable
    Enclosing class:
    LoadBalancingConfig

    public static final class LoadBalancingConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<LoadBalancingConfig.Builder>
    implements LoadBalancingConfigOrBuilder
     Selects LB policy and provides corresponding configuration.
     In general, all instances of this field should be repeated. Clients will
     iterate through the list in order and stop at the first policy that they
     support.  This allows the service config to specify custom policies that may
     not be known to all clients.
     - If the config for the first supported policy is invalid, the whole service
       config is invalid.
     - If the list doesn't contain any supported policy, the whole service config
       is invalid.
     
    Protobuf type grpc.service_config.LoadBalancingConfig