io.stigg.sidecar.proto.v1.RedisOptionsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stigg/sidecar/v1/sidecar.proto
package io.stigg.sidecar.proto.v1;
public interface RedisOptionsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:stigg.sidecar.v1.RedisOptions)
com.google.protobuf.MessageOrBuilder {
/**
* string environment_prefix = 1 [json_name = "environmentPrefix"];
*
* @return The environmentPrefix.
*/
java.lang.String getEnvironmentPrefix();
/**
* string environment_prefix = 1 [json_name = "environmentPrefix"];
*
* @return The bytes for environmentPrefix.
*/
com.google.protobuf.ByteString getEnvironmentPrefixBytes();
/**
* optional string host = 2 [json_name = "host"];
*
* @return Whether the host field is set.
*/
boolean hasHost();
/**
* optional string host = 2 [json_name = "host"];
*
* @return The host.
*/
java.lang.String getHost();
/**
* optional string host = 2 [json_name = "host"];
*
* @return The bytes for host.
*/
com.google.protobuf.ByteString getHostBytes();
/**
* optional int32 port = 3 [json_name = "port"];
*
* @return Whether the port field is set.
*/
boolean hasPort();
/**
* optional int32 port = 3 [json_name = "port"];
*
* @return The port.
*/
int getPort();
/**
* optional int32 db = 4 [json_name = "db"];
*
* @return Whether the db field is set.
*/
boolean hasDb();
/**
* optional int32 db = 4 [json_name = "db"];
*
* @return The db.
*/
int getDb();
/**
* optional string username = 5 [json_name = "username"];
*
* @return Whether the username field is set.
*/
boolean hasUsername();
/**
* optional string username = 5 [json_name = "username"];
*
* @return The username.
*/
java.lang.String getUsername();
/**
* optional string username = 5 [json_name = "username"];
*
* @return The bytes for username.
*/
com.google.protobuf.ByteString getUsernameBytes();
/**
* optional string password = 6 [json_name = "password"];
*
* @return Whether the password field is set.
*/
boolean hasPassword();
/**
* optional string password = 6 [json_name = "password"];
*
* @return The password.
*/
java.lang.String getPassword();
/**
* optional string password = 6 [json_name = "password"];
*
* @return The bytes for password.
*/
com.google.protobuf.ByteString getPasswordBytes();
/**
* optional int32 ttl = 7 [json_name = "ttl"];
*
* @return Whether the ttl field is set.
*/
boolean hasTtl();
/**
* optional int32 ttl = 7 [json_name = "ttl"];
*
* @return The ttl.
*/
int getTtl();
}