public static final class RedisProxy.RedisFault.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder> implements RedisProxy.RedisFaultOrBuilder
RedisFault defines faults used for fault injection.Protobuf type
envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault| Modifier and Type | Method and Description |
|---|---|
RedisProxy.RedisFault.Builder |
addAllCommands(Iterable<String> values)
Commands fault is restricted to, if any.
|
RedisProxy.RedisFault.Builder |
addCommands(String value)
Commands fault is restricted to, if any.
|
RedisProxy.RedisFault.Builder |
addCommandsBytes(com.google.protobuf.ByteString value)
Commands fault is restricted to, if any.
|
RedisProxy.RedisFault.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RedisProxy.RedisFault |
build() |
RedisProxy.RedisFault |
buildPartial() |
RedisProxy.RedisFault.Builder |
clear() |
RedisProxy.RedisFault.Builder |
clearCommands()
Commands fault is restricted to, if any.
|
RedisProxy.RedisFault.Builder |
clearDelay()
Delay for all faults.
|
RedisProxy.RedisFault.Builder |
clearFaultEnabled()
Percentage of requests fault applies to.
|
RedisProxy.RedisFault.Builder |
clearFaultType()
Fault type.
|
RedisProxy.RedisFault.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RedisProxy.RedisFault.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RedisProxy.RedisFault.Builder |
clone() |
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.
|
RedisProxy.RedisFault |
getDefaultInstanceForType() |
com.google.protobuf.Duration |
getDelay()
Delay for all faults.
|
com.google.protobuf.Duration.Builder |
getDelayBuilder()
Delay for all faults.
|
com.google.protobuf.DurationOrBuilder |
getDelayOrBuilder()
Delay for all faults.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RuntimeFractionalPercent |
getFaultEnabled()
Percentage of requests fault applies to.
|
RuntimeFractionalPercent.Builder |
getFaultEnabledBuilder()
Percentage of requests fault applies to.
|
RuntimeFractionalPercentOrBuilder |
getFaultEnabledOrBuilder()
Percentage of requests fault applies to.
|
RedisProxy.RedisFault.RedisFaultType |
getFaultType()
Fault type.
|
int |
getFaultTypeValue()
Fault type.
|
boolean |
hasDelay()
Delay for all faults.
|
boolean |
hasFaultEnabled()
Percentage of requests fault applies to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RedisProxy.RedisFault.Builder |
mergeDelay(com.google.protobuf.Duration value)
Delay for all faults.
|
RedisProxy.RedisFault.Builder |
mergeFaultEnabled(RuntimeFractionalPercent value)
Percentage of requests fault applies to.
|
RedisProxy.RedisFault.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RedisProxy.RedisFault.Builder |
mergeFrom(com.google.protobuf.Message other) |
RedisProxy.RedisFault.Builder |
mergeFrom(RedisProxy.RedisFault other) |
RedisProxy.RedisFault.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RedisProxy.RedisFault.Builder |
setCommands(int index,
String value)
Commands fault is restricted to, if any.
|
RedisProxy.RedisFault.Builder |
setDelay(com.google.protobuf.Duration.Builder builderForValue)
Delay for all faults.
|
RedisProxy.RedisFault.Builder |
setDelay(com.google.protobuf.Duration value)
Delay for all faults.
|
RedisProxy.RedisFault.Builder |
setFaultEnabled(RuntimeFractionalPercent.Builder builderForValue)
Percentage of requests fault applies to.
|
RedisProxy.RedisFault.Builder |
setFaultEnabled(RuntimeFractionalPercent value)
Percentage of requests fault applies to.
|
RedisProxy.RedisFault.Builder |
setFaultType(RedisProxy.RedisFault.RedisFaultType value)
Fault type.
|
RedisProxy.RedisFault.Builder |
setFaultTypeValue(int value)
Fault type.
|
RedisProxy.RedisFault.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RedisProxy.RedisFault.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RedisProxy.RedisFault.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RedisProxy.RedisFault build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RedisProxy.RedisFault buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RedisProxy.RedisFault.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder mergeFrom(RedisProxy.RedisFault other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public RedisProxy.RedisFault.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedisProxy.RedisFault.Builder>IOExceptionpublic 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.Builder setFaultTypeValue(int value)
Fault type.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault.RedisFaultType fault_type = 1 [(.validate.rules) = { ... }public 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 RedisProxy.RedisFault.Builder setFaultType(RedisProxy.RedisFault.RedisFaultType value)
Fault type.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault.RedisFaultType fault_type = 1 [(.validate.rules) = { ... }public RedisProxy.RedisFault.Builder clearFaultType()
Fault type.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault.RedisFaultType fault_type = 1 [(.validate.rules) = { ... }public 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 RedisProxy.RedisFault.Builder setFaultEnabled(RuntimeFractionalPercent value)
Percentage of requests fault applies to.
.envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }public RedisProxy.RedisFault.Builder setFaultEnabled(RuntimeFractionalPercent.Builder builderForValue)
Percentage of requests fault applies to.
.envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }public RedisProxy.RedisFault.Builder mergeFaultEnabled(RuntimeFractionalPercent value)
Percentage of requests fault applies to.
.envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }public RedisProxy.RedisFault.Builder clearFaultEnabled()
Percentage of requests fault applies to.
.envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }public RuntimeFractionalPercent.Builder getFaultEnabledBuilder()
Percentage of requests fault applies to.
.envoy.config.core.v3.RuntimeFractionalPercent fault_enabled = 2 [(.validate.rules) = { ... }public 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 RedisProxy.RedisFault.Builder setDelay(com.google.protobuf.Duration value)
Delay for all faults. If not set, defaults to zero
.google.protobuf.Duration delay = 3;public RedisProxy.RedisFault.Builder setDelay(com.google.protobuf.Duration.Builder builderForValue)
Delay for all faults. If not set, defaults to zero
.google.protobuf.Duration delay = 3;public RedisProxy.RedisFault.Builder mergeDelay(com.google.protobuf.Duration value)
Delay for all faults. If not set, defaults to zero
.google.protobuf.Duration delay = 3;public RedisProxy.RedisFault.Builder clearDelay()
Delay for all faults. If not set, defaults to zero
.google.protobuf.Duration delay = 3;public com.google.protobuf.Duration.Builder getDelayBuilder()
Delay for all faults. If not set, defaults to zero
.google.protobuf.Duration delay = 3;public 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 RedisProxy.RedisFault.Builder setCommands(int index, String value)
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;public RedisProxy.RedisFault.Builder addCommands(String value)
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;public RedisProxy.RedisFault.Builder addAllCommands(Iterable<String> values)
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;public RedisProxy.RedisFault.Builder clearCommands()
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;public RedisProxy.RedisFault.Builder addCommandsBytes(com.google.protobuf.ByteString value)
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;public final RedisProxy.RedisFault.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>public final RedisProxy.RedisFault.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.RedisFault.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.