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

io.grpc.serviceconfig.EdsLoadBalancingPolicyConfigOrBuilder 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 EdsLoadBalancingPolicyConfigOrBuilder extends
    // @@protoc_insertion_point(interface_extends:grpc.service_config.EdsLoadBalancingPolicyConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Cluster name.  Required.
   * 
* * string cluster = 1; * @return The cluster. */ java.lang.String getCluster(); /** *
   * Cluster name.  Required.
   * 
* * string cluster = 1; * @return The bytes for cluster. */ com.google.protobuf.ByteString getClusterBytes(); /** *
   * EDS service name, as returned in CDS.
   * May be unset if not specified in CDS.
   * 
* * string eds_service_name = 2; * @return The edsServiceName. */ java.lang.String getEdsServiceName(); /** *
   * EDS service name, as returned in CDS.
   * May be unset if not specified in CDS.
   * 
* * string eds_service_name = 2; * @return The bytes for edsServiceName. */ com.google.protobuf.ByteString getEdsServiceNameBytes(); /** *
   * 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; * @return Whether the lrsLoadReportingServerName field is set. */ 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; * @return The lrsLoadReportingServerName. */ 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; */ com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder(); /** *
   * 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; */ java.util.List 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; */ io.grpc.serviceconfig.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; */ 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; */ java.util.List 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; */ io.grpc.serviceconfig.LoadBalancingConfigOrBuilder getLocalityPickingPolicyOrBuilder( 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; */ java.util.List 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; */ io.grpc.serviceconfig.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; */ 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; */ java.util.List 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; */ io.grpc.serviceconfig.LoadBalancingConfigOrBuilder getEndpointPickingPolicyOrBuilder( int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy