Interface RouteAction.RequestMirrorPolicyOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCluster()
      Specifies the cluster that requests will be mirrored to.
      com.google.protobuf.ByteString getClusterBytes()
      Specifies the cluster that requests will be mirrored to.
      RuntimeFractionalPercent getRuntimeFraction()
      If not specified, all requests to the target cluster will be mirrored.
      RuntimeFractionalPercentOrBuilder getRuntimeFractionOrBuilder()
      If not specified, all requests to the target cluster will be mirrored.
      com.google.protobuf.BoolValue getTraceSampled()
      Determines if the trace span should be sampled.
      com.google.protobuf.BoolValueOrBuilder getTraceSampledOrBuilder()
      Determines if the trace span should be sampled.
      boolean hasRuntimeFraction()
      If not specified, all requests to the target cluster will be mirrored.
      boolean hasTraceSampled()
      Determines if the trace span should be sampled.
      • 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

      • getCluster

        String getCluster()
         Specifies the cluster that requests will be mirrored to. The cluster must
         exist in the cluster manager configuration.
         
        string cluster = 1 [(.validate.rules) = { ... }
      • getClusterBytes

        com.google.protobuf.ByteString getClusterBytes()
         Specifies the cluster that requests will be mirrored to. The cluster must
         exist in the cluster manager configuration.
         
        string cluster = 1 [(.validate.rules) = { ... }
      • hasRuntimeFraction

        boolean hasRuntimeFraction()
         If not specified, all requests to the target cluster will be mirrored.
         If specified, this field takes precedence over the `runtime_key` field and requests must also
         fall under the percentage of matches indicated by this field.
         For some fraction N/D, a random number in the range [0,D) is selected. If the
         number is <= the value of the numerator N, or if the key is not present, the default
         value, the request will be mirrored.
         
        .envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 3;
      • getRuntimeFraction

        RuntimeFractionalPercent getRuntimeFraction()
         If not specified, all requests to the target cluster will be mirrored.
         If specified, this field takes precedence over the `runtime_key` field and requests must also
         fall under the percentage of matches indicated by this field.
         For some fraction N/D, a random number in the range [0,D) is selected. If the
         number is <= the value of the numerator N, or if the key is not present, the default
         value, the request will be mirrored.
         
        .envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 3;
      • getRuntimeFractionOrBuilder

        RuntimeFractionalPercentOrBuilder getRuntimeFractionOrBuilder()
         If not specified, all requests to the target cluster will be mirrored.
         If specified, this field takes precedence over the `runtime_key` field and requests must also
         fall under the percentage of matches indicated by this field.
         For some fraction N/D, a random number in the range [0,D) is selected. If the
         number is <= the value of the numerator N, or if the key is not present, the default
         value, the request will be mirrored.
         
        .envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 3;
      • hasTraceSampled

        boolean hasTraceSampled()
         Determines if the trace span should be sampled. Defaults to true.
         
        .google.protobuf.BoolValue trace_sampled = 4;
      • getTraceSampled

        com.google.protobuf.BoolValue getTraceSampled()
         Determines if the trace span should be sampled. Defaults to true.
         
        .google.protobuf.BoolValue trace_sampled = 4;
      • getTraceSampledOrBuilder

        com.google.protobuf.BoolValueOrBuilder getTraceSampledOrBuilder()
         Determines if the trace span should be sampled. Defaults to true.
         
        .google.protobuf.BoolValue trace_sampled = 4;