Package io.stigg.sidecar.proto.v1
Class RedisOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.stigg.sidecar.proto.v1.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 typestigg.sidecar.v1.RedisOptions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRedisOptions.BuilderProtobuf typestigg.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
-
-
Field Summary
Fields Modifier and Type Field Description static intDB_FIELD_NUMBERstatic intENVIRONMENT_PREFIX_FIELD_NUMBERstatic intHOST_FIELD_NUMBERstatic intPASSWORD_FIELD_NUMBERstatic intPORT_FIELD_NUMBERstatic intTTL_FIELD_NUMBERstatic intUSERNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetDb()optional int32 db = 4 [json_name = "db"];static RedisOptionsgetDefaultInstance()RedisOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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"];com.google.protobuf.Parser<RedisOptions>getParserForType()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"];intgetSerializedSize()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"];inthashCode()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"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RedisOptions.BuildernewBuilder()static RedisOptions.BuildernewBuilder(RedisOptions prototype)RedisOptions.BuildernewBuilderForType()protected RedisOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RedisOptionsparseDelimitedFrom(java.io.InputStream input)static RedisOptionsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RedisOptionsparseFrom(byte[] data)static RedisOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RedisOptionsparseFrom(com.google.protobuf.ByteString data)static RedisOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RedisOptionsparseFrom(com.google.protobuf.CodedInputStream input)static RedisOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RedisOptionsparseFrom(java.io.InputStream input)static RedisOptionsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RedisOptionsparseFrom(java.nio.ByteBuffer data)static RedisOptionsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RedisOptions>parser()RedisOptions.BuildertoBuilder()voidwriteTo(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
-
-
-
-
Field Detail
-
ENVIRONMENT_PREFIX_FIELD_NUMBER
public static final int ENVIRONMENT_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DB_FIELD_NUMBER
public static final int DB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getEnvironmentPrefix
public java.lang.String getEnvironmentPrefix()
string environment_prefix = 1 [json_name = "environmentPrefix"];- Specified by:
getEnvironmentPrefixin interfaceRedisOptionsOrBuilder- Returns:
- The environmentPrefix.
-
getEnvironmentPrefixBytes
public com.google.protobuf.ByteString getEnvironmentPrefixBytes()
string environment_prefix = 1 [json_name = "environmentPrefix"];- Specified by:
getEnvironmentPrefixBytesin interfaceRedisOptionsOrBuilder- Returns:
- The bytes for environmentPrefix.
-
hasHost
public boolean hasHost()
optional string host = 2 [json_name = "host"];- Specified by:
hasHostin interfaceRedisOptionsOrBuilder- Returns:
- Whether the host field is set.
-
getHost
public java.lang.String getHost()
optional string host = 2 [json_name = "host"];- Specified by:
getHostin interfaceRedisOptionsOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
optional string host = 2 [json_name = "host"];- Specified by:
getHostBytesin interfaceRedisOptionsOrBuilder- Returns:
- The bytes for host.
-
hasPort
public boolean hasPort()
optional int32 port = 3 [json_name = "port"];- Specified by:
hasPortin interfaceRedisOptionsOrBuilder- Returns:
- Whether the port field is set.
-
getPort
public int getPort()
optional int32 port = 3 [json_name = "port"];- Specified by:
getPortin interfaceRedisOptionsOrBuilder- Returns:
- The port.
-
hasDb
public boolean hasDb()
optional int32 db = 4 [json_name = "db"];- Specified by:
hasDbin interfaceRedisOptionsOrBuilder- Returns:
- Whether the db field is set.
-
getDb
public int getDb()
optional int32 db = 4 [json_name = "db"];- Specified by:
getDbin interfaceRedisOptionsOrBuilder- Returns:
- The db.
-
hasUsername
public boolean hasUsername()
optional string username = 5 [json_name = "username"];- Specified by:
hasUsernamein interfaceRedisOptionsOrBuilder- Returns:
- Whether the username field is set.
-
getUsername
public java.lang.String getUsername()
optional string username = 5 [json_name = "username"];- Specified by:
getUsernamein interfaceRedisOptionsOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
optional string username = 5 [json_name = "username"];- Specified by:
getUsernameBytesin interfaceRedisOptionsOrBuilder- Returns:
- The bytes for username.
-
hasPassword
public boolean hasPassword()
optional string password = 6 [json_name = "password"];- Specified by:
hasPasswordin interfaceRedisOptionsOrBuilder- Returns:
- Whether the password field is set.
-
getPassword
public java.lang.String getPassword()
optional string password = 6 [json_name = "password"];- Specified by:
getPasswordin interfaceRedisOptionsOrBuilder- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()
optional string password = 6 [json_name = "password"];- Specified by:
getPasswordBytesin interfaceRedisOptionsOrBuilder- Returns:
- The bytes for password.
-
hasTtl
public boolean hasTtl()
optional int32 ttl = 7 [json_name = "ttl"];- Specified by:
hasTtlin interfaceRedisOptionsOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public int getTtl()
optional int32 ttl = 7 [json_name = "ttl"];- Specified by:
getTtlin interfaceRedisOptionsOrBuilder- Returns:
- The ttl.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RedisOptions.Builder newBuilder()
-
newBuilder
public static RedisOptions.Builder newBuilder(RedisOptions prototype)
-
toBuilder
public RedisOptions.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RedisOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RedisOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-