Interface Cluster.LeastRequestLbConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Cluster.LeastRequestLbConfig, Cluster.LeastRequestLbConfig.Builder
Enclosing class:
Cluster

public static interface Cluster.LeastRequestLbConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.UInt32Value
    The number of random healthy hosts from which the host with the fewest active requests will be chosen.
    com.google.protobuf.UInt32ValueOrBuilder
    The number of random healthy hosts from which the host with the fewest active requests will be chosen.
    boolean
    The number of random healthy hosts from which the host with the fewest active requests will be chosen.

    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 Details

    • hasChoiceCount

      boolean hasChoiceCount()
       The number of random healthy hosts from which the host with the fewest active requests will
       be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
       
      .google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the choiceCount field is set.
    • getChoiceCount

      com.google.protobuf.UInt32Value getChoiceCount()
       The number of random healthy hosts from which the host with the fewest active requests will
       be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
       
      .google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }
      Returns:
      The choiceCount.
    • getChoiceCountOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getChoiceCountOrBuilder()
       The number of random healthy hosts from which the host with the fewest active requests will
       be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
       
      .google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }