public final class FaultDelay extends com.google.protobuf.GeneratedMessageV3 implements FaultDelayOrBuilder
Delay specification is used to inject latency into the HTTP/gRPC/Mongo/Redis operation or delay proxying of TCP connections. [#next-free-field: 6]Protobuf type
envoy.config.filter.fault.v2.FaultDelay| Modifier and Type | Class and Description |
|---|---|
static class |
FaultDelay.Builder
Delay specification is used to inject latency into the
HTTP/gRPC/Mongo/Redis operation or delay proxying of TCP connections.
|
static class |
FaultDelay.FaultDelaySecifierCase |
static class |
FaultDelay.FaultDelayType
Protobuf enum
envoy.config.filter.fault.v2.FaultDelay.FaultDelayType |
static class |
FaultDelay.HeaderDelay
Fault delays are controlled via an HTTP header (if applicable).
|
static interface |
FaultDelay.HeaderDelayOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FIXED_DELAY_FIELD_NUMBER |
static int |
HEADER_DELAY_FIELD_NUMBER |
static int |
PERCENTAGE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static FaultDelay |
getDefaultInstance() |
FaultDelay |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
FaultDelay.HeaderDelay |
getHeaderDelay()
Fault delays are controlled via an HTTP header (if applicable).
|
FaultDelay.HeaderDelayOrBuilder |
getHeaderDelayOrBuilder()
Fault delays are controlled via an HTTP header (if applicable).
|
com.google.protobuf.Parser<FaultDelay> |
getParserForType() |
FractionalPercent |
getPercentage()
The percentage of operations/connections/requests on which the delay will be injected.
|
FractionalPercentOrBuilder |
getPercentageOrBuilder()
The percentage of operations/connections/requests on which the delay will be injected.
|
int |
getSerializedSize() |
FaultDelay.FaultDelayType |
getType()
Deprecated.
|
int |
getTypeValue()
Deprecated.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFixedDelay()
Add a fixed delay before forwarding the operation upstream.
|
int |
hashCode() |
boolean |
hasHeaderDelay()
Fault delays are controlled via an HTTP header (if applicable).
|
boolean |
hasPercentage()
The percentage of operations/connections/requests on which the delay will be injected.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FaultDelay.Builder |
newBuilder() |
static FaultDelay.Builder |
newBuilder(FaultDelay prototype) |
FaultDelay.Builder |
newBuilderForType() |
protected FaultDelay.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FaultDelay |
parseDelimitedFrom(InputStream input) |
static FaultDelay |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FaultDelay |
parseFrom(byte[] data) |
static FaultDelay |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FaultDelay |
parseFrom(ByteBuffer data) |
static FaultDelay |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FaultDelay |
parseFrom(com.google.protobuf.ByteString data) |
static FaultDelay |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FaultDelay |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FaultDelay |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FaultDelay |
parseFrom(InputStream input) |
static FaultDelay |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FaultDelay> |
parser() |
FaultDelay.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPE_FIELD_NUMBER
public static final int FIXED_DELAY_FIELD_NUMBER
public static final int HEADER_DELAY_FIELD_NUMBER
public static final int PERCENTAGE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public FaultDelay.FaultDelaySecifierCase getFaultDelaySecifierCase()
getFaultDelaySecifierCase in interface FaultDelayOrBuilder@Deprecated public int getTypeValue()
Unused 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];getTypeValue in interface FaultDelayOrBuilder@Deprecated public FaultDelay.FaultDelayType getType()
Unused 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];getType in interface FaultDelayOrBuilderpublic 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) = { ... }hasFixedDelay in interface FaultDelayOrBuilderpublic 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) = { ... }getFixedDelay in interface FaultDelayOrBuilderpublic 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) = { ... }getFixedDelayOrBuilder in interface FaultDelayOrBuilderpublic boolean hasHeaderDelay()
Fault delays are controlled via an HTTP header (if applicable).
.envoy.config.filter.fault.v2.FaultDelay.HeaderDelay header_delay = 5;hasHeaderDelay in interface FaultDelayOrBuilderpublic FaultDelay.HeaderDelay getHeaderDelay()
Fault delays are controlled via an HTTP header (if applicable).
.envoy.config.filter.fault.v2.FaultDelay.HeaderDelay header_delay = 5;getHeaderDelay in interface FaultDelayOrBuilderpublic FaultDelay.HeaderDelayOrBuilder getHeaderDelayOrBuilder()
Fault delays are controlled via an HTTP header (if applicable).
.envoy.config.filter.fault.v2.FaultDelay.HeaderDelay header_delay = 5;getHeaderDelayOrBuilder in interface FaultDelayOrBuilderpublic boolean hasPercentage()
The percentage of operations/connections/requests on which the delay will be injected.
.envoy.type.FractionalPercent percentage = 4;hasPercentage in interface FaultDelayOrBuilderpublic FractionalPercent getPercentage()
The percentage of operations/connections/requests on which the delay will be injected.
.envoy.type.FractionalPercent percentage = 4;getPercentage in interface FaultDelayOrBuilderpublic FractionalPercentOrBuilder getPercentageOrBuilder()
The percentage of operations/connections/requests on which the delay will be injected.
.envoy.type.FractionalPercent percentage = 4;getPercentageOrBuilder in interface FaultDelayOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FaultDelay parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FaultDelay parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FaultDelay parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FaultDelay parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FaultDelay parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FaultDelay parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FaultDelay parseFrom(InputStream input) throws IOException
IOExceptionpublic static FaultDelay parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FaultDelay parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FaultDelay parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FaultDelay parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FaultDelay parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FaultDelay.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FaultDelay.Builder newBuilder()
public static FaultDelay.Builder newBuilder(FaultDelay prototype)
public FaultDelay.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FaultDelay.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FaultDelay getDefaultInstance()
public static com.google.protobuf.Parser<FaultDelay> parser()
public com.google.protobuf.Parser<FaultDelay> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FaultDelay getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.