Interface ClientSideWeightedRoundRobinOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Duration getBlackoutPeriod()
      A given endpoint must report load metrics continuously for at least this long before the endpoint weight will be used.
      com.google.protobuf.DurationOrBuilder getBlackoutPeriodOrBuilder()
      A given endpoint must report load metrics continuously for at least this long before the endpoint weight will be used.
      com.google.protobuf.BoolValue getEnableOobLoadReport()
      Whether to enable out-of-band utilization reporting collection from the endpoints.
      com.google.protobuf.BoolValueOrBuilder getEnableOobLoadReportOrBuilder()
      Whether to enable out-of-band utilization reporting collection from the endpoints.
      com.google.protobuf.FloatValue getErrorUtilizationPenalty()
      The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
      com.google.protobuf.FloatValueOrBuilder getErrorUtilizationPenaltyOrBuilder()
      The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
      com.google.protobuf.Duration getOobReportingPeriod()
      Load reporting interval to request from the server.
      com.google.protobuf.DurationOrBuilder getOobReportingPeriodOrBuilder()
      Load reporting interval to request from the server.
      com.google.protobuf.Duration getWeightExpirationPeriod()
      If a given endpoint has not reported load metrics in this long, then we stop using the reported weight.
      com.google.protobuf.DurationOrBuilder getWeightExpirationPeriodOrBuilder()
      If a given endpoint has not reported load metrics in this long, then we stop using the reported weight.
      com.google.protobuf.Duration getWeightUpdatePeriod()
      How often endpoint weights are recalculated.
      com.google.protobuf.DurationOrBuilder getWeightUpdatePeriodOrBuilder()
      How often endpoint weights are recalculated.
      boolean hasBlackoutPeriod()
      A given endpoint must report load metrics continuously for at least this long before the endpoint weight will be used.
      boolean hasEnableOobLoadReport()
      Whether to enable out-of-band utilization reporting collection from the endpoints.
      boolean hasErrorUtilizationPenalty()
      The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
      boolean hasOobReportingPeriod()
      Load reporting interval to request from the server.
      boolean hasWeightExpirationPeriod()
      If a given endpoint has not reported load metrics in this long, then we stop using the reported weight.
      boolean hasWeightUpdatePeriod()
      How often endpoint weights are recalculated.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasEnableOobLoadReport

        boolean hasEnableOobLoadReport()
         Whether to enable out-of-band utilization reporting collection from
         the endpoints. By default, per-request utilization reporting is used.
         
        .google.protobuf.BoolValue enable_oob_load_report = 1;
        Returns:
        Whether the enableOobLoadReport field is set.
      • getEnableOobLoadReport

        com.google.protobuf.BoolValue getEnableOobLoadReport()
         Whether to enable out-of-band utilization reporting collection from
         the endpoints. By default, per-request utilization reporting is used.
         
        .google.protobuf.BoolValue enable_oob_load_report = 1;
        Returns:
        The enableOobLoadReport.
      • getEnableOobLoadReportOrBuilder

        com.google.protobuf.BoolValueOrBuilder getEnableOobLoadReportOrBuilder()
         Whether to enable out-of-band utilization reporting collection from
         the endpoints. By default, per-request utilization reporting is used.
         
        .google.protobuf.BoolValue enable_oob_load_report = 1;
      • hasOobReportingPeriod

        boolean hasOobReportingPeriod()
         Load reporting interval to request from the server. Note that the
         server may not provide reports as frequently as the client requests.
         Used only when enable_oob_load_report is true. Default is 10 seconds.
         
        .google.protobuf.Duration oob_reporting_period = 2;
        Returns:
        Whether the oobReportingPeriod field is set.
      • getOobReportingPeriod

        com.google.protobuf.Duration getOobReportingPeriod()
         Load reporting interval to request from the server. Note that the
         server may not provide reports as frequently as the client requests.
         Used only when enable_oob_load_report is true. Default is 10 seconds.
         
        .google.protobuf.Duration oob_reporting_period = 2;
        Returns:
        The oobReportingPeriod.
      • getOobReportingPeriodOrBuilder

        com.google.protobuf.DurationOrBuilder getOobReportingPeriodOrBuilder()
         Load reporting interval to request from the server. Note that the
         server may not provide reports as frequently as the client requests.
         Used only when enable_oob_load_report is true. Default is 10 seconds.
         
        .google.protobuf.Duration oob_reporting_period = 2;
      • hasBlackoutPeriod

        boolean hasBlackoutPeriod()
         A given endpoint must report load metrics continuously for at least
         this long before the endpoint weight will be used. This avoids
         churn when the set of endpoint addresses changes. Takes effect
         both immediately after we establish a connection to an endpoint and
         after weight_expiration_period has caused us to stop using the most
         recent load metrics. Default is 10 seconds.
         
        .google.protobuf.Duration blackout_period = 3;
        Returns:
        Whether the blackoutPeriod field is set.
      • getBlackoutPeriod

        com.google.protobuf.Duration getBlackoutPeriod()
         A given endpoint must report load metrics continuously for at least
         this long before the endpoint weight will be used. This avoids
         churn when the set of endpoint addresses changes. Takes effect
         both immediately after we establish a connection to an endpoint and
         after weight_expiration_period has caused us to stop using the most
         recent load metrics. Default is 10 seconds.
         
        .google.protobuf.Duration blackout_period = 3;
        Returns:
        The blackoutPeriod.
      • getBlackoutPeriodOrBuilder

        com.google.protobuf.DurationOrBuilder getBlackoutPeriodOrBuilder()
         A given endpoint must report load metrics continuously for at least
         this long before the endpoint weight will be used. This avoids
         churn when the set of endpoint addresses changes. Takes effect
         both immediately after we establish a connection to an endpoint and
         after weight_expiration_period has caused us to stop using the most
         recent load metrics. Default is 10 seconds.
         
        .google.protobuf.Duration blackout_period = 3;
      • hasWeightExpirationPeriod

        boolean hasWeightExpirationPeriod()
         If a given endpoint has not reported load metrics in this long,
         then we stop using the reported weight. This ensures that we do
         not continue to use very stale weights. Once we stop using a stale
         value, if we later start seeing fresh reports again, the
         blackout_period applies. Defaults to 3 minutes.
         
        .google.protobuf.Duration weight_expiration_period = 4;
        Returns:
        Whether the weightExpirationPeriod field is set.
      • getWeightExpirationPeriod

        com.google.protobuf.Duration getWeightExpirationPeriod()
         If a given endpoint has not reported load metrics in this long,
         then we stop using the reported weight. This ensures that we do
         not continue to use very stale weights. Once we stop using a stale
         value, if we later start seeing fresh reports again, the
         blackout_period applies. Defaults to 3 minutes.
         
        .google.protobuf.Duration weight_expiration_period = 4;
        Returns:
        The weightExpirationPeriod.
      • getWeightExpirationPeriodOrBuilder

        com.google.protobuf.DurationOrBuilder getWeightExpirationPeriodOrBuilder()
         If a given endpoint has not reported load metrics in this long,
         then we stop using the reported weight. This ensures that we do
         not continue to use very stale weights. Once we stop using a stale
         value, if we later start seeing fresh reports again, the
         blackout_period applies. Defaults to 3 minutes.
         
        .google.protobuf.Duration weight_expiration_period = 4;
      • hasWeightUpdatePeriod

        boolean hasWeightUpdatePeriod()
         How often endpoint weights are recalculated. Values less than 100ms are
         capped at 100ms. Default is 1 second.
         
        .google.protobuf.Duration weight_update_period = 5;
        Returns:
        Whether the weightUpdatePeriod field is set.
      • getWeightUpdatePeriod

        com.google.protobuf.Duration getWeightUpdatePeriod()
         How often endpoint weights are recalculated. Values less than 100ms are
         capped at 100ms. Default is 1 second.
         
        .google.protobuf.Duration weight_update_period = 5;
        Returns:
        The weightUpdatePeriod.
      • getWeightUpdatePeriodOrBuilder

        com.google.protobuf.DurationOrBuilder getWeightUpdatePeriodOrBuilder()
         How often endpoint weights are recalculated. Values less than 100ms are
         capped at 100ms. Default is 1 second.
         
        .google.protobuf.Duration weight_update_period = 5;
      • hasErrorUtilizationPenalty

        boolean hasErrorUtilizationPenalty()
         The multiplier used to adjust endpoint weights with the error rate
         calculated as eps/qps. Configuration is rejected if this value is negative.
         Default is 1.0.
         
        .google.protobuf.FloatValue error_utilization_penalty = 6 [(.validate.rules) = { ... }
        Returns:
        Whether the errorUtilizationPenalty field is set.
      • getErrorUtilizationPenalty

        com.google.protobuf.FloatValue getErrorUtilizationPenalty()
         The multiplier used to adjust endpoint weights with the error rate
         calculated as eps/qps. Configuration is rejected if this value is negative.
         Default is 1.0.
         
        .google.protobuf.FloatValue error_utilization_penalty = 6 [(.validate.rules) = { ... }
        Returns:
        The errorUtilizationPenalty.
      • getErrorUtilizationPenaltyOrBuilder

        com.google.protobuf.FloatValueOrBuilder getErrorUtilizationPenaltyOrBuilder()
         The multiplier used to adjust endpoint weights with the error rate
         calculated as eps/qps. Configuration is rejected if this value is negative.
         Default is 1.0.
         
        .google.protobuf.FloatValue error_utilization_penalty = 6 [(.validate.rules) = { ... }