All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.grpc.serviceconfig.GrpcLbConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.50.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: service_config.proto

// Protobuf Java Version: 3.25.4
package io.grpc.serviceconfig;

public interface GrpcLbConfigOrBuilder extends
    // @@protoc_insertion_point(interface_extends:grpc.service_config.GrpcLbConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * 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; */ java.util.List 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; */ io.grpc.serviceconfig.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; */ 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; */ java.util.List 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; */ io.grpc.serviceconfig.LoadBalancingConfigOrBuilder getChildPolicyOrBuilder( int index); /** *
   * Optional.  If specified, overrides the name of the service to be sent to
   * the balancer.
   * 
* * string service_name = 2; * @return The serviceName. */ java.lang.String getServiceName(); /** *
   * Optional.  If specified, overrides the name of the service to be sent to
   * the balancer.
   * 
* * string service_name = 2; * @return The bytes for serviceName. */ com.google.protobuf.ByteString getServiceNameBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy