// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/cluster/redis/redis_cluster.proto
package io.envoyproxy.envoy.config.cluster.redis;
public interface RedisClusterConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.cluster.redis.RedisClusterConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
* Interval between successive topology refresh requests. If not set, this defaults to 5s.
*
*
* .google.protobuf.Duration cluster_refresh_rate = 1 [(.validate.rules) = { ... }
* @return Whether the clusterRefreshRate field is set.
*/
boolean hasClusterRefreshRate();
/**
*
* Interval between successive topology refresh requests. If not set, this defaults to 5s.
*
*
* .google.protobuf.Duration cluster_refresh_rate = 1 [(.validate.rules) = { ... }
* @return The clusterRefreshRate.
*/
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) = { ... }
*/
com.google.protobuf.DurationOrBuilder getClusterRefreshRateOrBuilder();
/**
*
* Timeout for topology refresh request. If not set, this defaults to 3s.
*
*
* .google.protobuf.Duration cluster_refresh_timeout = 2 [(.validate.rules) = { ... }
* @return Whether the clusterRefreshTimeout field is set.
*/
boolean hasClusterRefreshTimeout();
/**
*
* Timeout for topology refresh request. If not set, this defaults to 3s.
*
*
* .google.protobuf.Duration cluster_refresh_timeout = 2 [(.validate.rules) = { ... }
* @return The clusterRefreshTimeout.
*/
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) = { ... }
*/
com.google.protobuf.DurationOrBuilder getClusterRefreshTimeoutOrBuilder();
/**
*
* 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;
* @return Whether the redirectRefreshInterval field is set.
*/
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;
* @return The redirectRefreshInterval.
*/
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;
*/
com.google.protobuf.DurationOrBuilder getRedirectRefreshIntervalOrBuilder();
/**
*
* 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;
* @return Whether the redirectRefreshThreshold field is set.
*/
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;
* @return The redirectRefreshThreshold.
*/
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;
*/
com.google.protobuf.UInt32ValueOrBuilder getRedirectRefreshThresholdOrBuilder();
/**
*
* 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;
* @return The failureRefreshThreshold.
*/
int getFailureRefreshThreshold();
/**
*
* 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;
* @return The hostDegradedRefreshThreshold.
*/
int getHostDegradedRefreshThreshold();
}