Interface RuntimeFractionOrBuilder

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

    public interface RuntimeFractionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      RuntimeFractionalPercent getRuntimeFraction()
      Match the input against the given runtime key.
      RuntimeFractionalPercentOrBuilder getRuntimeFractionOrBuilder()
      Match the input against the given runtime key.
      long getSeed()
      Optional seed passed through the hash function.
      boolean hasRuntimeFraction()
      Match the input against the given runtime key.
      • 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

      • hasRuntimeFraction

        boolean hasRuntimeFraction()
         Match the input against the given runtime key. The specified default value is used if key is not
         present in the runtime configuration.
         
        .envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 1 [(.validate.rules) = { ... }
        Returns:
        Whether the runtimeFraction field is set.
      • getRuntimeFraction

        RuntimeFractionalPercent getRuntimeFraction()
         Match the input against the given runtime key. The specified default value is used if key is not
         present in the runtime configuration.
         
        .envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 1 [(.validate.rules) = { ... }
        Returns:
        The runtimeFraction.
      • getRuntimeFractionOrBuilder

        RuntimeFractionalPercentOrBuilder getRuntimeFractionOrBuilder()
         Match the input against the given runtime key. The specified default value is used if key is not
         present in the runtime configuration.
         
        .envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 1 [(.validate.rules) = { ... }
      • getSeed

        long getSeed()
         Optional seed passed through the hash function. This allows using additional information when computing
         the hash value: by changing the seed value, a potentially different outcome can be achieved for the same input.
         
        uint64 seed = 2;
        Returns:
        The seed.