public static interface Fault.FaultDelayOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Fault.FaultDelay.FaultDelaySecifierCase |
getFaultDelaySecifierCase() |
com.google.protobuf.Duration |
getFixedDelay()
Add a fixed delay before forwarding the operation upstream.
|
com.google.protobuf.DurationOrBuilder |
getFixedDelayOrBuilder()
Add a fixed delay before forwarding the operation upstream.
|
int |
getPercent()
Deprecated.
|
PercentOuterClass.FractionalPercent |
getPercentage()
The percentage of operations/connection requests on which the delay will be injected.
|
PercentOuterClass.FractionalPercentOrBuilder |
getPercentageOrBuilder()
The percentage of operations/connection requests on which the delay will be injected.
|
Fault.FaultDelay.FaultDelayType |
getType()
Delay type to use (fixed|exponential|..).
|
int |
getTypeValue()
Delay type to use (fixed|exponential|..).
|
boolean |
hasFixedDelay()
Add a fixed delay before forwarding the operation upstream.
|
boolean |
hasPercentage()
The percentage of operations/connection requests on which the delay will be injected.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getTypeValue()
Delay type to use (fixed|exponential|..). Currently, only fixed delay (step function) is supported.
.envoy.config.filter.fault.v2.FaultDelay.FaultDelayType type = 1 [(.validate.rules) = { ... }Fault.FaultDelay.FaultDelayType getType()
Delay type to use (fixed|exponential|..). Currently, only fixed delay (step function) is supported.
.envoy.config.filter.fault.v2.FaultDelay.FaultDelayType type = 1 [(.validate.rules) = { ... }@Deprecated int getPercent()
An integer between 0-100 indicating the percentage of operations/connection requests on which the delay will be injected. .. attention:: Use of integer `percent` value is deprecated. Use fractional `percentage` field instead.
uint32 percent = 2 [deprecated = true, (.validate.rules) = { ... }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/Redis, the specified delay will be injected before a new request/operation. For TCP connections, the proxying of the connection upstream will be delayed for the specified period. This is required if type is FIXED.
.google.protobuf.Duration fixed_delay = 3 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }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/Redis, the specified delay will be injected before a new request/operation. For TCP connections, the proxying of the connection upstream will be delayed for the specified period. This is required if type is FIXED.
.google.protobuf.Duration fixed_delay = 3 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }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/Redis, the specified delay will be injected before a new request/operation. For TCP connections, the proxying of the connection upstream will be delayed for the specified period. This is required if type is FIXED.
.google.protobuf.Duration fixed_delay = 3 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }boolean hasPercentage()
The percentage of operations/connection requests on which the delay will be injected.
.envoy.type.FractionalPercent percentage = 4;PercentOuterClass.FractionalPercent getPercentage()
The percentage of operations/connection requests on which the delay will be injected.
.envoy.type.FractionalPercent percentage = 4;PercentOuterClass.FractionalPercentOrBuilder getPercentageOrBuilder()
The percentage of operations/connection requests on which the delay will be injected.
.envoy.type.FractionalPercent percentage = 4;Fault.FaultDelay.FaultDelaySecifierCase getFaultDelaySecifierCase()
Copyright © 2018 The Envoy Project. All rights reserved.