public static final class RedisProxy.RedisFault extends com.google.protobuf.GeneratedMessageV3 implements RedisProxy.RedisFaultOrBuilder
RedisFault defines faults used for fault injection.Protobuf type
envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault| Modifier and Type | Class and Description |
|---|---|
static class |
RedisProxy.RedisFault.Builder
RedisFault defines faults used for fault injection.
|
static class |
RedisProxy.RedisFault.RedisFaultType
Protobuf enum
envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault.RedisFaultType |
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 |
COMMANDS_FIELD_NUMBER |
static int |
DELAY_FIELD_NUMBER |
static int |
FAULT_ENABLED_FIELD_NUMBER |
static int |
FAULT_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCommands(int index)
Commands fault is restricted to, if any.
|
com.google.protobuf.ByteString |
getCommandsBytes(int index)
Commands fault is restricted to, if any.
|
int |
getCommandsCount()
Commands fault is restricted to, if any.
|
com.google.protobuf.ProtocolStringList |
getCommandsList()
Commands fault is restricted to, if any.
|
static RedisProxy.RedisFault |
getDefaultInstance() |
RedisProxy.RedisFault |
getDefaultInstanceForType() |
com.google.protobuf.Duration |
getDelay()
Delay for all faults.
|
com.google.protobuf.DurationOrBuilder |
getDelayOrBuilder()
Delay for all faults.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RuntimeFractionalPercent |
getFaultEnabled()
Percentage of requests fault applies to.
|
RuntimeFractionalPercentOrBuilder |
getFaultEnabledOrBuilder()
Percentage of requests fault applies to.
|
RedisProxy.RedisFault.RedisFaultType |
getFaultType()
Fault type.
|
int |
getFaultTypeValue()
Fault type.
|
com.google.protobuf.Parser<RedisProxy.RedisFault> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDelay()
Delay for all faults.
|
boolean |
hasFaultEnabled()
Percentage of requests fault applies to.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RedisProxy.RedisFault.Builder |
newBuilder() |
static RedisProxy.RedisFault.Builder |
newBuilder(RedisProxy.RedisFault prototype) |
RedisProxy.RedisFault.Builder |
newBuilderForType() |
protected RedisProxy.RedisFault.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RedisProxy.RedisFault |
parseDelimitedFrom(InputStream input) |
static RedisProxy.RedisFault |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RedisProxy.RedisFault |
parseFrom(byte[] data) |
static RedisProxy.RedisFault |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RedisProxy.RedisFault |
parseFrom(ByteBuffer data) |
static RedisProxy.RedisFault |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RedisProxy.RedisFault |
parseFrom(com.google.protobuf.ByteString data) |
static RedisProxy.RedisFault |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RedisProxy.RedisFault |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RedisProxy.RedisFault |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RedisProxy.RedisFault |
parseFrom(InputStream input) |
static RedisProxy.RedisFault |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RedisProxy.RedisFault> |
parser() |
RedisProxy.RedisFault.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 FAULT_TYPE_FIELD_NUMBER
public static final int FAULT_ENABLED_FIELD_NUMBER
public static final int DELAY_FIELD_NUMBER
public static final int COMMANDS_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 int getFaultTypeValue()
Fault type.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault.RedisFaultType fault_type = 1 [(.validate.rules) = { ... }getFaultTypeValue in interface RedisProxy.RedisFaultOrBuilderpublic RedisProxy.RedisFault.RedisFaultType getFaultType()
Fault type.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault.RedisFaultType fault_type = 1 [(.validate.rules) = { ... }getFaultType in interface RedisProxy.RedisFaultOrBuilderpublic boolean hasFaultEnabled()
Percentage of requests fault applies to.
.envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }hasFaultEnabled in interface RedisProxy.RedisFaultOrBuilderpublic RuntimeFractionalPercent getFaultEnabled()
Percentage of requests fault applies to.
.envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }getFaultEnabled in interface RedisProxy.RedisFaultOrBuilderpublic RuntimeFractionalPercentOrBuilder getFaultEnabledOrBuilder()
Percentage of requests fault applies to.
.envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }getFaultEnabledOrBuilder in interface RedisProxy.RedisFaultOrBuilderpublic boolean hasDelay()
Delay for all faults. If not set, defaults to zero
.google.protobuf.Duration delay = 3;hasDelay in interface RedisProxy.RedisFaultOrBuilderpublic com.google.protobuf.Duration getDelay()
Delay for all faults. If not set, defaults to zero
.google.protobuf.Duration delay = 3;getDelay in interface RedisProxy.RedisFaultOrBuilderpublic com.google.protobuf.DurationOrBuilder getDelayOrBuilder()
Delay for all faults. If not set, defaults to zero
.google.protobuf.Duration delay = 3;getDelayOrBuilder in interface RedisProxy.RedisFaultOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getCommandsList in interface RedisProxy.RedisFaultOrBuilderpublic 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;getCommandsCount in interface RedisProxy.RedisFaultOrBuilderpublic 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;getCommands in interface RedisProxy.RedisFaultOrBuilderpublic 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;getCommandsBytes in interface RedisProxy.RedisFaultOrBuilderpublic 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 RedisProxy.RedisFault parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RedisProxy.RedisFault parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RedisProxy.RedisFault parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RedisProxy.RedisFault parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RedisProxy.RedisFault parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RedisProxy.RedisFault parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RedisProxy.RedisFault parseFrom(InputStream input) throws IOException
IOExceptionpublic static RedisProxy.RedisFault parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RedisProxy.RedisFault parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RedisProxy.RedisFault parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RedisProxy.RedisFault parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RedisProxy.RedisFault parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RedisProxy.RedisFault.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RedisProxy.RedisFault.Builder newBuilder()
public static RedisProxy.RedisFault.Builder newBuilder(RedisProxy.RedisFault prototype)
public RedisProxy.RedisFault.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RedisProxy.RedisFault.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RedisProxy.RedisFault getDefaultInstance()
public static com.google.protobuf.Parser<RedisProxy.RedisFault> parser()
public com.google.protobuf.Parser<RedisProxy.RedisFault> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RedisProxy.RedisFault getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.