Interface GrpcLbConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GrpcLbConfig, GrpcLbConfig.Builder

public interface GrpcLbConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getChildPolicyList

      List<LoadBalancingConfig> getChildPolicyList()
       Optional.  What LB policy to use for routing between the backend
       addresses.  If unset, defaults to round_robin.
       Currently, the only supported values are round_robin and pick_first.
       Note that this will be used both in balancer mode and in fallback mode.
       Multiple LB policies can be specified; clients will iterate through
       the list in order and stop at the first policy that they support.
       
      repeated .grpc.service_config.LoadBalancingConfig child_policy = 1;
    • getChildPolicy

      LoadBalancingConfig getChildPolicy(int index)
       Optional.  What LB policy to use for routing between the backend
       addresses.  If unset, defaults to round_robin.
       Currently, the only supported values are round_robin and pick_first.
       Note that this will be used both in balancer mode and in fallback mode.
       Multiple LB policies can be specified; clients will iterate through
       the list in order and stop at the first policy that they support.
       
      repeated .grpc.service_config.LoadBalancingConfig child_policy = 1;
    • getChildPolicyCount

      int getChildPolicyCount()
       Optional.  What LB policy to use for routing between the backend
       addresses.  If unset, defaults to round_robin.
       Currently, the only supported values are round_robin and pick_first.
       Note that this will be used both in balancer mode and in fallback mode.
       Multiple LB policies can be specified; clients will iterate through
       the list in order and stop at the first policy that they support.
       
      repeated .grpc.service_config.LoadBalancingConfig child_policy = 1;
    • getChildPolicyOrBuilderList

      List<? extends LoadBalancingConfigOrBuilder> getChildPolicyOrBuilderList()
       Optional.  What LB policy to use for routing between the backend
       addresses.  If unset, defaults to round_robin.
       Currently, the only supported values are round_robin and pick_first.
       Note that this will be used both in balancer mode and in fallback mode.
       Multiple LB policies can be specified; clients will iterate through
       the list in order and stop at the first policy that they support.
       
      repeated .grpc.service_config.LoadBalancingConfig child_policy = 1;
    • getChildPolicyOrBuilder

      LoadBalancingConfigOrBuilder getChildPolicyOrBuilder(int index)
       Optional.  What LB policy to use for routing between the backend
       addresses.  If unset, defaults to round_robin.
       Currently, the only supported values are round_robin and pick_first.
       Note that this will be used both in balancer mode and in fallback mode.
       Multiple LB policies can be specified; clients will iterate through
       the list in order and stop at the first policy that they support.
       
      repeated .grpc.service_config.LoadBalancingConfig child_policy = 1;
    • getServiceName

      String getServiceName()
       Optional.  If specified, overrides the name of the service to be sent to
       the balancer.
       
      string service_name = 2;
      Returns:
      The serviceName.
    • getServiceNameBytes

      com.google.protobuf.ByteString getServiceNameBytes()
       Optional.  If specified, overrides the name of the service to be sent to
       the balancer.
       
      string service_name = 2;
      Returns:
      The bytes for serviceName.