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
      int getDb()
      optional int32 db = 4 [json_name = "db"];
      java.lang.String getEnvironmentPrefix()
      string environment_prefix = 1 [json_name = "environmentPrefix"];
      com.google.protobuf.ByteString getEnvironmentPrefixBytes()
      string environment_prefix = 1 [json_name = "environmentPrefix"];
      java.lang.String getHost()
      optional string host = 2 [json_name = "host"];
      com.google.protobuf.ByteString getHostBytes()
      optional string host = 2 [json_name = "host"];
      java.lang.String getPassword()
      optional string password = 6 [json_name = "password"];
      com.google.protobuf.ByteString getPasswordBytes()
      optional string password = 6 [json_name = "password"];
      int getPort()
      optional int32 port = 3 [json_name = "port"];
      int getTtl()
      optional int32 ttl = 7 [json_name = "ttl"];
      java.lang.String getUsername()
      optional string username = 5 [json_name = "username"];
      com.google.protobuf.ByteString getUsernameBytes()
      optional string username = 5 [json_name = "username"];
      boolean hasDb()
      optional int32 db = 4 [json_name = "db"];
      boolean hasHost()
      optional string host = 2 [json_name = "host"];
      boolean hasPassword()
      optional string password = 6 [json_name = "password"];
      boolean hasPort()
      optional int32 port = 3 [json_name = "port"];
      boolean hasTtl()
      optional int32 ttl = 7 [json_name = "ttl"];
      boolean hasUsername()
      optional string username = 5 [json_name = "username"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.