Interface XdsConfigOrBuilder

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

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

    • getBalancerName

      @Deprecated String getBalancerName()
      Deprecated.
      grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432
       Name of balancer to connect to.
       
      string balancer_name = 1 [deprecated = true];
      Returns:
      The balancerName.
    • getBalancerNameBytes

      @Deprecated com.google.protobuf.ByteString getBalancerNameBytes()
      Deprecated.
      grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432
       Name of balancer to connect to.
       
      string balancer_name = 1 [deprecated = true];
      Returns:
      The bytes for balancerName.
    • getChildPolicyList

      List<LoadBalancingConfig> 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;
    • getChildPolicy

      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;
    • getChildPolicyCount

      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;
    • getChildPolicyOrBuilderList

      List<? extends LoadBalancingConfigOrBuilder> 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;
    • getChildPolicyOrBuilder

      LoadBalancingConfigOrBuilder getChildPolicyOrBuilder(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;
    • getFallbackPolicyList

      List<LoadBalancingConfig> 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;
    • getFallbackPolicy

      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;
    • getFallbackPolicyCount

      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;
    • getFallbackPolicyOrBuilderList

      List<? extends LoadBalancingConfigOrBuilder> 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;
    • getFallbackPolicyOrBuilder

      LoadBalancingConfigOrBuilder getFallbackPolicyOrBuilder(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;
    • getEdsServiceName

      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;
      Returns:
      The edsServiceName.
    • getEdsServiceNameBytes

      com.google.protobuf.ByteString getEdsServiceNameBytes()
       Optional.  Name to use in EDS query.  If not present, defaults to
       the server name from the target URI.
       
      string eds_service_name = 4;
      Returns:
      The bytes for edsServiceName.
    • hasLrsLoadReportingServerName

      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;
      Returns:
      Whether the lrsLoadReportingServerName field is set.
    • getLrsLoadReportingServerName

      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;
      Returns:
      The lrsLoadReportingServerName.
    • getLrsLoadReportingServerNameOrBuilder

      com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
       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;