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 Summary

    Modifier and Type
    Method
    Description
     
    com.google.protobuf.Duration
    Add a fixed delay before forwarding the operation upstream.
    com.google.protobuf.DurationOrBuilder
    Add a fixed delay before forwarding the operation upstream.
    Fault delays are controlled via an HTTP header (if applicable).
    Fault delays are controlled via an HTTP header (if applicable).
    The percentage of operations/connections/requests on which the delay will be injected.
    The percentage of operations/connections/requests on which the delay will be injected.
    boolean
    Add a fixed delay before forwarding the operation upstream.
    boolean
    Fault delays are controlled via an HTTP header (if applicable).
    boolean
    The percentage of operations/connections/requests on which the delay will be injected.

    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

    • 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;
    • getFaultDelaySecifierCase

      FaultDelay.FaultDelaySecifierCase getFaultDelaySecifierCase()