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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description FaultDelay.FaultDelaySecifierCasegetFaultDelaySecifierCase()com.google.protobuf.DurationgetFixedDelay()Add a fixed delay before forwarding the operation upstream.com.google.protobuf.DurationOrBuildergetFixedDelayOrBuilder()Add a fixed delay before forwarding the operation upstream.FaultDelay.HeaderDelaygetHeaderDelay()Fault delays are controlled via an HTTP header (if applicable).FaultDelay.HeaderDelayOrBuildergetHeaderDelayOrBuilder()Fault delays are controlled via an HTTP header (if applicable).FractionalPercentgetPercentage()The percentage of operations/connections/requests on which the delay will be injected.FractionalPercentOrBuildergetPercentageOrBuilder()The percentage of operations/connections/requests on which the delay will be injected.FaultDelay.FaultDelayTypegetType()Deprecated.envoy.config.filter.fault.v2.FaultDelay.type is deprecated.intgetTypeValue()Deprecated.envoy.config.filter.fault.v2.FaultDelay.type is deprecated.booleanhasFixedDelay()Add a fixed delay before forwarding the operation upstream.booleanhasHeaderDelay()Fault delays are controlled via an HTTP header (if applicable).booleanhasPercentage()The percentage of operations/connections/requests on which the delay will be injected.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
@Deprecated int getTypeValue()
Deprecated.envoy.config.filter.fault.v2.FaultDelay.type is deprecated. See envoy/config/filter/fault/v2/fault.proto;l=40Unused and deprecated. Will be removed in the next release.
.envoy.config.filter.fault.v2.FaultDelay.FaultDelayType type = 1 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Returns:
- The enum numeric value on the wire for type.
-
getType
@Deprecated FaultDelay.FaultDelayType getType()
Deprecated.envoy.config.filter.fault.v2.FaultDelay.type is deprecated. See envoy/config/filter/fault/v2/fault.proto;l=40Unused and deprecated. Will be removed in the next release.
.envoy.config.filter.fault.v2.FaultDelay.FaultDelayType type = 1 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Returns:
- The type.
-
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/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 [(.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/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 [(.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/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 [(.validate.rules) = { ... }
-
hasHeaderDelay
boolean hasHeaderDelay()
Fault delays are controlled via an HTTP header (if applicable).
.envoy.config.filter.fault.v2.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.config.filter.fault.v2.FaultDelay.HeaderDelay header_delay = 5;- Returns:
- The headerDelay.
-
getHeaderDelayOrBuilder
FaultDelay.HeaderDelayOrBuilder getHeaderDelayOrBuilder()
Fault delays are controlled via an HTTP header (if applicable).
.envoy.config.filter.fault.v2.FaultDelay.HeaderDelay header_delay = 5;
-
hasPercentage
boolean hasPercentage()
The percentage of operations/connections/requests on which the delay will be injected.
.envoy.type.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.FractionalPercent percentage = 4;- Returns:
- The percentage.
-
getPercentageOrBuilder
FractionalPercentOrBuilder getPercentageOrBuilder()
The percentage of operations/connections/requests on which the delay will be injected.
.envoy.type.FractionalPercent percentage = 4;
-
getFaultDelaySecifierCase
FaultDelay.FaultDelaySecifierCase getFaultDelaySecifierCase()
-
-