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 TypeMethodDescriptioncom.google.protobuf.DurationAdd a fixed delay before forwarding the operation upstream.com.google.protobuf.DurationOrBuilderAdd 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.getType()Deprecated.envoy.config.filter.fault.v2.FaultDelay.type is deprecated.intDeprecated.envoy.config.filter.fault.v2.FaultDelay.type is deprecated.booleanAdd a fixed delay before forwarding the operation upstream.booleanFault delays are controlled via an HTTP header (if applicable).booleanThe percentage of operations/connections/requests on which the delay will be injected.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.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()
-