Interface Cluster.LeastRequestLbConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.UInt32Value getChoiceCount()
      The number of random healthy hosts from which the host with the fewest active requests will be chosen.
      com.google.protobuf.UInt32ValueOrBuilder getChoiceCountOrBuilder()
      The number of random healthy hosts from which the host with the fewest active requests will be chosen.
      boolean hasChoiceCount()
      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 Detail

      • 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) = { ... }