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

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

There is a newer version: 2.51.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 XdsConfigOrBuilder extends
    // @@protoc_insertion_point(interface_extends:grpc.service_config.XdsConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Name of balancer to connect to.
   * 
* * string balancer_name = 1 [deprecated = true]; * @deprecated grpc.service_config.XdsConfig.balancer_name is deprecated. * See service_config.proto;l=432 * @return The balancerName. */ @java.lang.Deprecated java.lang.String getBalancerName(); /** *
   * Name of balancer to connect to.
   * 
* * string balancer_name = 1 [deprecated = true]; * @deprecated grpc.service_config.XdsConfig.balancer_name is deprecated. * See service_config.proto;l=432 * @return The bytes for balancerName. */ @java.lang.Deprecated com.google.protobuf.ByteString getBalancerNameBytes(); /** *
   * Optional.  What LB policy to use for intra-locality routing.
   * If unset, will use whatever algorithm is specified by the balancer.
   * 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 = 2; */ java.util.List getChildPolicyList(); /** *
   * Optional.  What LB policy to use for intra-locality routing.
   * If unset, will use whatever algorithm is specified by the balancer.
   * 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 = 2; */ io.grpc.serviceconfig.LoadBalancingConfig getChildPolicy(int index); /** *
   * Optional.  What LB policy to use for intra-locality routing.
   * If unset, will use whatever algorithm is specified by the balancer.
   * 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 = 2; */ int getChildPolicyCount(); /** *
   * Optional.  What LB policy to use for intra-locality routing.
   * If unset, will use whatever algorithm is specified by the balancer.
   * 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 = 2; */ java.util.List getChildPolicyOrBuilderList(); /** *
   * Optional.  What LB policy to use for intra-locality routing.
   * If unset, will use whatever algorithm is specified by the balancer.
   * 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 = 2; */ io.grpc.serviceconfig.LoadBalancingConfigOrBuilder getChildPolicyOrBuilder( int index); /** *
   * Optional.  What LB policy to use in fallback mode.  If not
   * specified, defaults to round_robin.
   * 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 fallback_policy = 3; */ java.util.List getFallbackPolicyList(); /** *
   * Optional.  What LB policy to use in fallback mode.  If not
   * specified, defaults to round_robin.
   * 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 fallback_policy = 3; */ io.grpc.serviceconfig.LoadBalancingConfig getFallbackPolicy(int index); /** *
   * Optional.  What LB policy to use in fallback mode.  If not
   * specified, defaults to round_robin.
   * 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 fallback_policy = 3; */ int getFallbackPolicyCount(); /** *
   * Optional.  What LB policy to use in fallback mode.  If not
   * specified, defaults to round_robin.
   * 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 fallback_policy = 3; */ java.util.List getFallbackPolicyOrBuilderList(); /** *
   * Optional.  What LB policy to use in fallback mode.  If not
   * specified, defaults to round_robin.
   * 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 fallback_policy = 3; */ io.grpc.serviceconfig.LoadBalancingConfigOrBuilder getFallbackPolicyOrBuilder( int index); /** *
   * Optional.  Name to use in EDS query.  If not present, defaults to
   * the server name from the target URI.
   * 
* * string eds_service_name = 4; * @return The edsServiceName. */ java.lang.String getEdsServiceName(); /** *
   * Optional.  Name to use in EDS query.  If not present, defaults to
   * the server name from the target URI.
   * 
* * string eds_service_name = 4; * @return The bytes for edsServiceName. */ com.google.protobuf.ByteString getEdsServiceNameBytes(); /** *
   * LRS server to send load reports to.
   * If not present, load reporting will be disabled.
   * If set to the empty string, load reporting will be sent to the same
   * server that we obtained CDS data from.
   * 
* * .google.protobuf.StringValue lrs_load_reporting_server_name = 5; * @return Whether the lrsLoadReportingServerName field is set. */ boolean hasLrsLoadReportingServerName(); /** *
   * LRS server to send load reports to.
   * If not present, load reporting will be disabled.
   * If set to the empty string, load reporting will be sent to the same
   * server that we obtained CDS data from.
   * 
* * .google.protobuf.StringValue lrs_load_reporting_server_name = 5; * @return The lrsLoadReportingServerName. */ com.google.protobuf.StringValue getLrsLoadReportingServerName(); /** *
   * LRS server to send load reports to.
   * If not present, load reporting will be disabled.
   * If set to the empty string, load reporting will be sent to the same
   * server that we obtained CDS data from.
   * 
* * .google.protobuf.StringValue lrs_load_reporting_server_name = 5; */ com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy