Package io.stigg.sidecar.proto.v1
Interface RedisOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedisOptions,RedisOptions.Builder
public interface RedisOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDb()optional int32 db = 4 [json_name = "db"];java.lang.StringgetEnvironmentPrefix()string environment_prefix = 1 [json_name = "environmentPrefix"];com.google.protobuf.ByteStringgetEnvironmentPrefixBytes()string environment_prefix = 1 [json_name = "environmentPrefix"];java.lang.StringgetHost()optional string host = 2 [json_name = "host"];com.google.protobuf.ByteStringgetHostBytes()optional string host = 2 [json_name = "host"];java.lang.StringgetPassword()optional string password = 6 [json_name = "password"];com.google.protobuf.ByteStringgetPasswordBytes()optional string password = 6 [json_name = "password"];intgetPort()optional int32 port = 3 [json_name = "port"];intgetTtl()optional int32 ttl = 7 [json_name = "ttl"];java.lang.StringgetUsername()optional string username = 5 [json_name = "username"];com.google.protobuf.ByteStringgetUsernameBytes()optional string username = 5 [json_name = "username"];booleanhasDb()optional int32 db = 4 [json_name = "db"];booleanhasHost()optional string host = 2 [json_name = "host"];booleanhasPassword()optional string password = 6 [json_name = "password"];booleanhasPort()optional int32 port = 3 [json_name = "port"];booleanhasTtl()optional int32 ttl = 7 [json_name = "ttl"];booleanhasUsername()optional string username = 5 [json_name = "username"];-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnvironmentPrefix
java.lang.String getEnvironmentPrefix()
string environment_prefix = 1 [json_name = "environmentPrefix"];- Returns:
- The environmentPrefix.
-
getEnvironmentPrefixBytes
com.google.protobuf.ByteString getEnvironmentPrefixBytes()
string environment_prefix = 1 [json_name = "environmentPrefix"];- Returns:
- The bytes for environmentPrefix.
-
hasHost
boolean hasHost()
optional string host = 2 [json_name = "host"];- Returns:
- Whether the host field is set.
-
getHost
java.lang.String getHost()
optional string host = 2 [json_name = "host"];- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()
optional string host = 2 [json_name = "host"];- Returns:
- The bytes for host.
-
hasPort
boolean hasPort()
optional int32 port = 3 [json_name = "port"];- Returns:
- Whether the port field is set.
-
getPort
int getPort()
optional int32 port = 3 [json_name = "port"];- Returns:
- The port.
-
hasDb
boolean hasDb()
optional int32 db = 4 [json_name = "db"];- Returns:
- Whether the db field is set.
-
getDb
int getDb()
optional int32 db = 4 [json_name = "db"];- Returns:
- The db.
-
hasUsername
boolean hasUsername()
optional string username = 5 [json_name = "username"];- Returns:
- Whether the username field is set.
-
getUsername
java.lang.String getUsername()
optional string username = 5 [json_name = "username"];- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()
optional string username = 5 [json_name = "username"];- Returns:
- The bytes for username.
-
hasPassword
boolean hasPassword()
optional string password = 6 [json_name = "password"];- Returns:
- Whether the password field is set.
-
getPassword
java.lang.String getPassword()
optional string password = 6 [json_name = "password"];- Returns:
- The password.
-
getPasswordBytes
com.google.protobuf.ByteString getPasswordBytes()
optional string password = 6 [json_name = "password"];- Returns:
- The bytes for password.
-
hasTtl
boolean hasTtl()
optional int32 ttl = 7 [json_name = "ttl"];- Returns:
- Whether the ttl field is set.
-
getTtl
int getTtl()
optional int32 ttl = 7 [json_name = "ttl"];- Returns:
- The ttl.
-
-