Interface FaultDelayOrBuilder

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

    public interface FaultDelayOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasFixedDelay

        boolean hasFixedDelay()
         Add a fixed delay before forwarding the operation upstream. See
         https://developers.google.com/protocol-buffers/docs/proto3#json for
         the JSON/YAML Duration mapping. For HTTP/Mongo, the specified
         delay will be injected before a new request/operation.
         This is required if type is FIXED.
         
        .google.protobuf.Duration fixed_delay = 3 [(.validate.rules) = { ... }
        Returns:
        Whether the fixedDelay field is set.
      • getFixedDelay

        com.google.protobuf.Duration getFixedDelay()
         Add a fixed delay before forwarding the operation upstream. See
         https://developers.google.com/protocol-buffers/docs/proto3#json for
         the JSON/YAML Duration mapping. For HTTP/Mongo, the specified
         delay will be injected before a new request/operation.
         This is required if type is FIXED.
         
        .google.protobuf.Duration fixed_delay = 3 [(.validate.rules) = { ... }
        Returns:
        The fixedDelay.
      • getFixedDelayOrBuilder

        com.google.protobuf.DurationOrBuilder getFixedDelayOrBuilder()
         Add a fixed delay before forwarding the operation upstream. See
         https://developers.google.com/protocol-buffers/docs/proto3#json for
         the JSON/YAML Duration mapping. For HTTP/Mongo, the specified
         delay will be injected before a new request/operation.
         This is required if type is FIXED.
         
        .google.protobuf.Duration fixed_delay = 3 [(.validate.rules) = { ... }
      • hasHeaderDelay

        boolean hasHeaderDelay()
         Fault delays are controlled via an HTTP header (if applicable).
         
        .envoy.extensions.filters.common.fault.v3.FaultDelay.HeaderDelay header_delay = 5;
        Returns:
        Whether the headerDelay field is set.
      • getHeaderDelay

        FaultDelay.HeaderDelay getHeaderDelay()
         Fault delays are controlled via an HTTP header (if applicable).
         
        .envoy.extensions.filters.common.fault.v3.FaultDelay.HeaderDelay header_delay = 5;
        Returns:
        The headerDelay.
      • getHeaderDelayOrBuilder

        FaultDelay.HeaderDelayOrBuilder getHeaderDelayOrBuilder()
         Fault delays are controlled via an HTTP header (if applicable).
         
        .envoy.extensions.filters.common.fault.v3.FaultDelay.HeaderDelay header_delay = 5;
      • hasPercentage

        boolean hasPercentage()
         The percentage of operations/connections/requests on which the delay will be injected.
         
        .envoy.type.v3.FractionalPercent percentage = 4;
        Returns:
        Whether the percentage field is set.
      • getPercentage

        FractionalPercent getPercentage()
         The percentage of operations/connections/requests on which the delay will be injected.
         
        .envoy.type.v3.FractionalPercent percentage = 4;
        Returns:
        The percentage.
      • getPercentageOrBuilder

        FractionalPercentOrBuilder getPercentageOrBuilder()
         The percentage of operations/connections/requests on which the delay will be injected.
         
        .envoy.type.v3.FractionalPercent percentage = 4;