Package feast.proto.core
Class StoreProto.Store.RedisConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- feast.proto.core.StoreProto.Store.RedisConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StoreProto.Store.RedisConfigOrBuilder,Serializable
- Enclosing class:
- StoreProto.Store
public static final class StoreProto.Store.RedisConfig extends com.google.protobuf.GeneratedMessageV3 implements StoreProto.Store.RedisConfigOrBuilder
Protobuf typefeast.core.Store.RedisConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoreProto.Store.RedisConfig.BuilderProtobuf typefeast.core.Store.RedisConfig-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFLUSH_FREQUENCY_SECONDS_FIELD_NUMBERstatic intHOST_FIELD_NUMBERstatic intINITIAL_BACKOFF_MS_FIELD_NUMBERstatic intMAX_RETRIES_FIELD_NUMBERstatic intPORT_FIELD_NUMBERstatic intSSL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static StoreProto.Store.RedisConfiggetDefaultInstance()StoreProto.Store.RedisConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetFlushFrequencySeconds()Optional.StringgetHost()string host = 1;com.google.protobuf.ByteStringgetHostBytes()string host = 1;intgetInitialBackoffMs()Optional.intgetMaxRetries()Optional.com.google.protobuf.Parser<StoreProto.Store.RedisConfig>getParserForType()intgetPort()int32 port = 2;intgetSerializedSize()booleangetSsl()Optional.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StoreProto.Store.RedisConfig.BuildernewBuilder()static StoreProto.Store.RedisConfig.BuildernewBuilder(StoreProto.Store.RedisConfig prototype)StoreProto.Store.RedisConfig.BuildernewBuilderForType()protected StoreProto.Store.RedisConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StoreProto.Store.RedisConfigparseDelimitedFrom(InputStream input)static StoreProto.Store.RedisConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisConfigparseFrom(byte[] data)static StoreProto.Store.RedisConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisConfigparseFrom(com.google.protobuf.ByteString data)static StoreProto.Store.RedisConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisConfigparseFrom(com.google.protobuf.CodedInputStream input)static StoreProto.Store.RedisConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisConfigparseFrom(InputStream input)static StoreProto.Store.RedisConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisConfigparseFrom(ByteBuffer data)static StoreProto.Store.RedisConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StoreProto.Store.RedisConfig>parser()StoreProto.Store.RedisConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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
-
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
-
INITIAL_BACKOFF_MS_FIELD_NUMBER
public static final int INITIAL_BACKOFF_MS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_RETRIES_FIELD_NUMBER
public static final int MAX_RETRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER
public static final int FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SSL_FIELD_NUMBER
public static final int SSL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getHost
public String getHost()
string host = 1;- Specified by:
getHostin interfaceStoreProto.Store.RedisConfigOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
string host = 1;- Specified by:
getHostBytesin interfaceStoreProto.Store.RedisConfigOrBuilder- Returns:
- The bytes for host.
-
getPort
public int getPort()
int32 port = 2;- Specified by:
getPortin interfaceStoreProto.Store.RedisConfigOrBuilder- Returns:
- The port.
-
getInitialBackoffMs
public int getInitialBackoffMs()
Optional. The number of milliseconds to wait before retrying failed Redis connection. By default, Feast uses exponential backoff policy and "initial_backoff_ms" sets the initial wait duration.
int32 initial_backoff_ms = 3;- Specified by:
getInitialBackoffMsin interfaceStoreProto.Store.RedisConfigOrBuilder- Returns:
- The initialBackoffMs.
-
getMaxRetries
public int getMaxRetries()
Optional. Maximum total number of retries for connecting to Redis. Default to zero retries.
int32 max_retries = 4;- Specified by:
getMaxRetriesin interfaceStoreProto.Store.RedisConfigOrBuilder- Returns:
- The maxRetries.
-
getFlushFrequencySeconds
public int getFlushFrequencySeconds()
Optional. How often flush data to redis
int32 flush_frequency_seconds = 5;- Specified by:
getFlushFrequencySecondsin interfaceStoreProto.Store.RedisConfigOrBuilder- Returns:
- The flushFrequencySeconds.
-
getSsl
public boolean getSsl()
Optional. Connect over SSL.
bool ssl = 6;- Specified by:
getSslin interfaceStoreProto.Store.RedisConfigOrBuilder- Returns:
- The ssl.
-
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 IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(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 StoreProto.Store.RedisConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StoreProto.Store.RedisConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StoreProto.Store.RedisConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StoreProto.Store.RedisConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StoreProto.Store.RedisConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StoreProto.Store.RedisConfig.Builder newBuilder()
-
newBuilder
public static StoreProto.Store.RedisConfig.Builder newBuilder(StoreProto.Store.RedisConfig prototype)
-
toBuilder
public StoreProto.Store.RedisConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StoreProto.Store.RedisConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StoreProto.Store.RedisConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StoreProto.Store.RedisConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<StoreProto.Store.RedisConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StoreProto.Store.RedisConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-