Interface RedisProxy.RedisFaultOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RedisProxy.RedisFault, RedisProxy.RedisFault.Builder
    Enclosing class:
    RedisProxy

    public static interface RedisProxy.RedisFaultOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getFaultTypeValue

        int getFaultTypeValue()
         Fault type.
         
        .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault.RedisFaultType fault_type = 1 [(.validate.rules) = { ... }
      • getFaultType

        RedisProxy.RedisFault.RedisFaultType getFaultType()
         Fault type.
         
        .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault.RedisFaultType fault_type = 1 [(.validate.rules) = { ... }
      • hasFaultEnabled

        boolean hasFaultEnabled()
         Percentage of requests fault applies to.
         
        .envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }
      • getFaultEnabled

        RuntimeFractionalPercent getFaultEnabled()
         Percentage of requests fault applies to.
         
        .envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }
      • getFaultEnabledOrBuilder

        RuntimeFractionalPercentOrBuilder getFaultEnabledOrBuilder()
         Percentage of requests fault applies to.
         
        .envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }
      • hasDelay

        boolean hasDelay()
         Delay for all faults. If not set, defaults to zero
         
        .google.protobuf.Duration delay = 3;
      • getDelay

        com.google.protobuf.Duration getDelay()
         Delay for all faults. If not set, defaults to zero
         
        .google.protobuf.Duration delay = 3;
      • getDelayOrBuilder

        com.google.protobuf.DurationOrBuilder getDelayOrBuilder()
         Delay for all faults. If not set, defaults to zero
         
        .google.protobuf.Duration delay = 3;
      • getCommandsList

        List<String> getCommandsList()
         Commands fault is restricted to, if any. If not set, fault applies to all commands
         other than auth and ping (due to special handling of those commands in Envoy).
         
        repeated string commands = 4;
      • getCommandsCount

        int getCommandsCount()
         Commands fault is restricted to, if any. If not set, fault applies to all commands
         other than auth and ping (due to special handling of those commands in Envoy).
         
        repeated string commands = 4;
      • getCommands

        String getCommands​(int index)
         Commands fault is restricted to, if any. If not set, fault applies to all commands
         other than auth and ping (due to special handling of those commands in Envoy).
         
        repeated string commands = 4;
      • getCommandsBytes

        com.google.protobuf.ByteString getCommandsBytes​(int index)
         Commands fault is restricted to, if any. If not set, fault applies to all commands
         other than auth and ping (due to special handling of those commands in Envoy).
         
        repeated string commands = 4;