Class RedisClusterConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.clusters.redis.v3.RedisClusterConfig
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RedisClusterConfigOrBuilder,Serializable
public final class RedisClusterConfig
extends com.google.protobuf.GeneratedMessageV3
implements RedisClusterConfigOrBuilder
[#next-free-field: 7]Protobuf type
envoy.extensions.clusters.redis.v3.RedisClusterConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 7]Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.DurationInterval between successive topology refresh requests.com.google.protobuf.DurationOrBuilderInterval between successive topology refresh requests.com.google.protobuf.DurationTimeout for topology refresh request.com.google.protobuf.DurationOrBuilderTimeout for topology refresh request.static RedisClusterConfigstatic final com.google.protobuf.Descriptors.DescriptorintThe number of failures that must be received before triggering a topology refresh request.intThe number of hosts became degraded or unhealthy before triggering a topology refresh request.com.google.protobuf.Parser<RedisClusterConfig>com.google.protobuf.DurationThe minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.com.google.protobuf.DurationOrBuilderThe minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.com.google.protobuf.UInt32ValueThe number of redirection errors that must be received before triggering a topology refresh request.com.google.protobuf.UInt32ValueOrBuilderThe number of redirection errors that must be received before triggering a topology refresh request.intbooleanInterval between successive topology refresh requests.booleanTimeout for topology refresh request.inthashCode()booleanThe minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.booleanThe number of redirection errors that must be received before triggering a topology refresh request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RedisClusterConfig.Builderstatic RedisClusterConfig.BuildernewBuilder(RedisClusterConfig prototype) protected RedisClusterConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RedisClusterConfigparseDelimitedFrom(InputStream input) static RedisClusterConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedisClusterConfigparseFrom(byte[] data) static RedisClusterConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedisClusterConfigparseFrom(com.google.protobuf.ByteString data) static RedisClusterConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedisClusterConfigparseFrom(com.google.protobuf.CodedInputStream input) static RedisClusterConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedisClusterConfigparseFrom(InputStream input) static RedisClusterConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedisClusterConfigparseFrom(ByteBuffer data) static RedisClusterConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RedisClusterConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CLUSTER_REFRESH_RATE_FIELD_NUMBER
public static final int CLUSTER_REFRESH_RATE_FIELD_NUMBER- See Also:
-
CLUSTER_REFRESH_TIMEOUT_FIELD_NUMBER
public static final int CLUSTER_REFRESH_TIMEOUT_FIELD_NUMBER- See Also:
-
REDIRECT_REFRESH_INTERVAL_FIELD_NUMBER
public static final int REDIRECT_REFRESH_INTERVAL_FIELD_NUMBER- See Also:
-
REDIRECT_REFRESH_THRESHOLD_FIELD_NUMBER
public static final int REDIRECT_REFRESH_THRESHOLD_FIELD_NUMBER- See Also:
-
FAILURE_REFRESH_THRESHOLD_FIELD_NUMBER
public static final int FAILURE_REFRESH_THRESHOLD_FIELD_NUMBER- See Also:
-
HOST_DEGRADED_REFRESH_THRESHOLD_FIELD_NUMBER
public static final int HOST_DEGRADED_REFRESH_THRESHOLD_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasClusterRefreshRate
public boolean hasClusterRefreshRate()Interval between successive topology refresh requests. If not set, this defaults to 5s.
.google.protobuf.Duration cluster_refresh_rate = 1 [(.validate.rules) = { ... }- Specified by:
hasClusterRefreshRatein interfaceRedisClusterConfigOrBuilder- Returns:
- Whether the clusterRefreshRate field is set.
-
getClusterRefreshRate
public com.google.protobuf.Duration getClusterRefreshRate()Interval between successive topology refresh requests. If not set, this defaults to 5s.
.google.protobuf.Duration cluster_refresh_rate = 1 [(.validate.rules) = { ... }- Specified by:
getClusterRefreshRatein interfaceRedisClusterConfigOrBuilder- Returns:
- The clusterRefreshRate.
-
getClusterRefreshRateOrBuilder
public com.google.protobuf.DurationOrBuilder getClusterRefreshRateOrBuilder()Interval between successive topology refresh requests. If not set, this defaults to 5s.
.google.protobuf.Duration cluster_refresh_rate = 1 [(.validate.rules) = { ... }- Specified by:
getClusterRefreshRateOrBuilderin interfaceRedisClusterConfigOrBuilder
-
hasClusterRefreshTimeout
public boolean hasClusterRefreshTimeout()Timeout for topology refresh request. If not set, this defaults to 3s.
.google.protobuf.Duration cluster_refresh_timeout = 2 [(.validate.rules) = { ... }- Specified by:
hasClusterRefreshTimeoutin interfaceRedisClusterConfigOrBuilder- Returns:
- Whether the clusterRefreshTimeout field is set.
-
getClusterRefreshTimeout
public com.google.protobuf.Duration getClusterRefreshTimeout()Timeout for topology refresh request. If not set, this defaults to 3s.
.google.protobuf.Duration cluster_refresh_timeout = 2 [(.validate.rules) = { ... }- Specified by:
getClusterRefreshTimeoutin interfaceRedisClusterConfigOrBuilder- Returns:
- The clusterRefreshTimeout.
-
getClusterRefreshTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getClusterRefreshTimeoutOrBuilder()Timeout for topology refresh request. If not set, this defaults to 3s.
.google.protobuf.Duration cluster_refresh_timeout = 2 [(.validate.rules) = { ... }- Specified by:
getClusterRefreshTimeoutOrBuilderin interfaceRedisClusterConfigOrBuilder
-
hasRedirectRefreshInterval
public boolean hasRedirectRefreshInterval()The minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again. Any errors received during one of these time intervals are ignored. If not set, this defaults to 5s.
.google.protobuf.Duration redirect_refresh_interval = 3;- Specified by:
hasRedirectRefreshIntervalin interfaceRedisClusterConfigOrBuilder- Returns:
- Whether the redirectRefreshInterval field is set.
-
getRedirectRefreshInterval
public com.google.protobuf.Duration getRedirectRefreshInterval()The minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again. Any errors received during one of these time intervals are ignored. If not set, this defaults to 5s.
.google.protobuf.Duration redirect_refresh_interval = 3;- Specified by:
getRedirectRefreshIntervalin interfaceRedisClusterConfigOrBuilder- Returns:
- The redirectRefreshInterval.
-
getRedirectRefreshIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getRedirectRefreshIntervalOrBuilder()The minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again. Any errors received during one of these time intervals are ignored. If not set, this defaults to 5s.
.google.protobuf.Duration redirect_refresh_interval = 3;- Specified by:
getRedirectRefreshIntervalOrBuilderin interfaceRedisClusterConfigOrBuilder
-
hasRedirectRefreshThreshold
public boolean hasRedirectRefreshThreshold()The number of redirection errors that must be received before triggering a topology refresh request. If not set, this defaults to 5. If this is set to 0, topology refresh after redirect is disabled.
.google.protobuf.UInt32Value redirect_refresh_threshold = 4;- Specified by:
hasRedirectRefreshThresholdin interfaceRedisClusterConfigOrBuilder- Returns:
- Whether the redirectRefreshThreshold field is set.
-
getRedirectRefreshThreshold
public com.google.protobuf.UInt32Value getRedirectRefreshThreshold()The number of redirection errors that must be received before triggering a topology refresh request. If not set, this defaults to 5. If this is set to 0, topology refresh after redirect is disabled.
.google.protobuf.UInt32Value redirect_refresh_threshold = 4;- Specified by:
getRedirectRefreshThresholdin interfaceRedisClusterConfigOrBuilder- Returns:
- The redirectRefreshThreshold.
-
getRedirectRefreshThresholdOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getRedirectRefreshThresholdOrBuilder()The number of redirection errors that must be received before triggering a topology refresh request. If not set, this defaults to 5. If this is set to 0, topology refresh after redirect is disabled.
.google.protobuf.UInt32Value redirect_refresh_threshold = 4;- Specified by:
getRedirectRefreshThresholdOrBuilderin interfaceRedisClusterConfigOrBuilder
-
getFailureRefreshThreshold
public int getFailureRefreshThreshold()The number of failures that must be received before triggering a topology refresh request. If not set, this defaults to 0, which disables the topology refresh due to failure.
uint32 failure_refresh_threshold = 5;- Specified by:
getFailureRefreshThresholdin interfaceRedisClusterConfigOrBuilder- Returns:
- The failureRefreshThreshold.
-
getHostDegradedRefreshThreshold
public int getHostDegradedRefreshThreshold()The number of hosts became degraded or unhealthy before triggering a topology refresh request. If not set, this defaults to 0, which disables the topology refresh due to degraded or unhealthy host.
uint32 host_degraded_refresh_threshold = 6;- Specified by:
getHostDegradedRefreshThresholdin interfaceRedisClusterConfigOrBuilder- Returns:
- The hostDegradedRefreshThreshold.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RedisClusterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedisClusterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedisClusterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedisClusterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedisClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedisClusterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RedisClusterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RedisClusterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RedisClusterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RedisClusterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RedisClusterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-