io.envoyproxy.envoy.config.health_checker.redis.v2.RedisOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/health_checker/redis/v2/redis.proto
package io.envoyproxy.envoy.config.health_checker.redis.v2;
public interface RedisOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.health_checker.redis.v2.Redis)
com.google.protobuf.MessageOrBuilder {
/**
*
* If set, optionally perform ``EXISTS <key>`` instead of ``PING``. A return value
* from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other
* than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance
* by setting the specified key to any value and waiting for traffic to drain.
*
*
* string key = 1;
* @return The key.
*/
java.lang.String getKey();
/**
*
* If set, optionally perform ``EXISTS <key>`` instead of ``PING``. A return value
* from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other
* than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance
* by setting the specified key to any value and waiting for traffic to drain.
*
*
* string key = 1;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
}