Interface EdsLoadBalancingPolicyConfigOrBuilder

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

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

    • getCluster

      String getCluster()
       Cluster name.  Required.
       
      string cluster = 1;
      Returns:
      The cluster.
    • getClusterBytes

      com.google.protobuf.ByteString getClusterBytes()
       Cluster name.  Required.
       
      string cluster = 1;
      Returns:
      The bytes for cluster.
    • getEdsServiceName

      String getEdsServiceName()
       EDS service name, as returned in CDS.
       May be unset if not specified in CDS.
       
      string eds_service_name = 2;
      Returns:
      The edsServiceName.
    • getEdsServiceNameBytes

      com.google.protobuf.ByteString getEdsServiceNameBytes()
       EDS service name, as returned in CDS.
       May be unset if not specified in CDS.
       
      string eds_service_name = 2;
      Returns:
      The bytes for edsServiceName.
    • hasLrsLoadReportingServerName

      boolean hasLrsLoadReportingServerName()
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
      Returns:
      Whether the lrsLoadReportingServerName field is set.
    • getLrsLoadReportingServerName

      com.google.protobuf.StringValue getLrsLoadReportingServerName()
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
      Returns:
      The lrsLoadReportingServerName.
    • getLrsLoadReportingServerNameOrBuilder

      com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
    • getLocalityPickingPolicyList

      List<LoadBalancingConfig> getLocalityPickingPolicyList()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getLocalityPickingPolicy

      LoadBalancingConfig getLocalityPickingPolicy(int index)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getLocalityPickingPolicyCount

      int getLocalityPickingPolicyCount()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getLocalityPickingPolicyOrBuilderList

      List<? extends LoadBalancingConfigOrBuilder> getLocalityPickingPolicyOrBuilderList()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getLocalityPickingPolicyOrBuilder

      LoadBalancingConfigOrBuilder getLocalityPickingPolicyOrBuilder(int index)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getEndpointPickingPolicyList

      List<LoadBalancingConfig> getEndpointPickingPolicyList()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • getEndpointPickingPolicy

      LoadBalancingConfig getEndpointPickingPolicy(int index)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • getEndpointPickingPolicyCount

      int getEndpointPickingPolicyCount()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • getEndpointPickingPolicyOrBuilderList

      List<? extends LoadBalancingConfigOrBuilder> getEndpointPickingPolicyOrBuilderList()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • getEndpointPickingPolicyOrBuilder

      LoadBalancingConfigOrBuilder getEndpointPickingPolicyOrBuilder(int index)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;