Class RedisOptions

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RedisOptionsOrBuilder, java.io.Serializable

    public final class RedisOptions
    extends com.google.protobuf.GeneratedMessageV3
    implements RedisOptionsOrBuilder
    Protobuf type stigg.sidecar.v1.RedisOptions
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RedisOptions.Builder
      Protobuf type stigg.sidecar.v1.RedisOptions
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getDb()
      optional int32 db = 4 [json_name = "db"];
      static RedisOptions getDefaultInstance()  
      RedisOptions getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      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"];
      com.google.protobuf.Parser<RedisOptions> getParserForType()  
      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 getSerializedSize()  
      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"];
      int hashCode()  
      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"];
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static RedisOptions.Builder newBuilder()  
      static RedisOptions.Builder newBuilder​(RedisOptions prototype)  
      RedisOptions.Builder newBuilderForType()  
      protected RedisOptions.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static RedisOptions parseDelimitedFrom​(java.io.InputStream input)  
      static RedisOptions parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static RedisOptions parseFrom​(byte[] data)  
      static RedisOptions parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static RedisOptions parseFrom​(com.google.protobuf.ByteString data)  
      static RedisOptions parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static RedisOptions parseFrom​(com.google.protobuf.CodedInputStream input)  
      static RedisOptions parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static RedisOptions parseFrom​(java.io.InputStream input)  
      static RedisOptions parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static RedisOptions parseFrom​(java.nio.ByteBuffer data)  
      static RedisOptions parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<RedisOptions> parser()  
      RedisOptions.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getEnvironmentPrefix

        public java.lang.String getEnvironmentPrefix()
        string environment_prefix = 1 [json_name = "environmentPrefix"];
        Specified by:
        getEnvironmentPrefix in interface RedisOptionsOrBuilder
        Returns:
        The environmentPrefix.
      • getEnvironmentPrefixBytes

        public com.google.protobuf.ByteString getEnvironmentPrefixBytes()
        string environment_prefix = 1 [json_name = "environmentPrefix"];
        Specified by:
        getEnvironmentPrefixBytes in interface RedisOptionsOrBuilder
        Returns:
        The bytes for environmentPrefix.
      • hasHost

        public boolean hasHost()
        optional string host = 2 [json_name = "host"];
        Specified by:
        hasHost in interface RedisOptionsOrBuilder
        Returns:
        Whether the host field is set.
      • getHost

        public java.lang.String getHost()
        optional string host = 2 [json_name = "host"];
        Specified by:
        getHost in interface RedisOptionsOrBuilder
        Returns:
        The host.
      • getHostBytes

        public com.google.protobuf.ByteString getHostBytes()
        optional string host = 2 [json_name = "host"];
        Specified by:
        getHostBytes in interface RedisOptionsOrBuilder
        Returns:
        The bytes for host.
      • hasPort

        public boolean hasPort()
        optional int32 port = 3 [json_name = "port"];
        Specified by:
        hasPort in interface RedisOptionsOrBuilder
        Returns:
        Whether the port field is set.
      • getPort

        public int getPort()
        optional int32 port = 3 [json_name = "port"];
        Specified by:
        getPort in interface RedisOptionsOrBuilder
        Returns:
        The port.
      • hasDb

        public boolean hasDb()
        optional int32 db = 4 [json_name = "db"];
        Specified by:
        hasDb in interface RedisOptionsOrBuilder
        Returns:
        Whether the db field is set.
      • getDb

        public int getDb()
        optional int32 db = 4 [json_name = "db"];
        Specified by:
        getDb in interface RedisOptionsOrBuilder
        Returns:
        The db.
      • hasUsername

        public boolean hasUsername()
        optional string username = 5 [json_name = "username"];
        Specified by:
        hasUsername in interface RedisOptionsOrBuilder
        Returns:
        Whether the username field is set.
      • getUsername

        public java.lang.String getUsername()
        optional string username = 5 [json_name = "username"];
        Specified by:
        getUsername in interface RedisOptionsOrBuilder
        Returns:
        The username.
      • getUsernameBytes

        public com.google.protobuf.ByteString getUsernameBytes()
        optional string username = 5 [json_name = "username"];
        Specified by:
        getUsernameBytes in interface RedisOptionsOrBuilder
        Returns:
        The bytes for username.
      • hasPassword

        public boolean hasPassword()
        optional string password = 6 [json_name = "password"];
        Specified by:
        hasPassword in interface RedisOptionsOrBuilder
        Returns:
        Whether the password field is set.
      • getPassword

        public java.lang.String getPassword()
        optional string password = 6 [json_name = "password"];
        Specified by:
        getPassword in interface RedisOptionsOrBuilder
        Returns:
        The password.
      • getPasswordBytes

        public com.google.protobuf.ByteString getPasswordBytes()
        optional string password = 6 [json_name = "password"];
        Specified by:
        getPasswordBytes in interface RedisOptionsOrBuilder
        Returns:
        The bytes for password.
      • hasTtl

        public boolean hasTtl()
        optional int32 ttl = 7 [json_name = "ttl"];
        Specified by:
        hasTtl in interface RedisOptionsOrBuilder
        Returns:
        Whether the ttl field is set.
      • getTtl

        public int getTtl()
        optional int32 ttl = 7 [json_name = "ttl"];
        Specified by:
        getTtl in interface RedisOptionsOrBuilder
        Returns:
        The ttl.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static RedisOptions parseFrom​(java.nio.ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RedisOptions parseFrom​(java.nio.ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RedisOptions parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RedisOptions parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RedisOptions parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RedisOptions parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RedisOptions parseFrom​(java.io.InputStream input)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static RedisOptions parseFrom​(java.io.InputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static RedisOptions parseDelimitedFrom​(java.io.InputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static RedisOptions parseDelimitedFrom​(java.io.InputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static RedisOptions parseFrom​(com.google.protobuf.CodedInputStream input)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static RedisOptions parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public RedisOptions.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public RedisOptions.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected RedisOptions.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static RedisOptions getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<RedisOptions> parser()
      • getParserForType

        public com.google.protobuf.Parser<RedisOptions> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public RedisOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder