Package feast.proto.core
Class StoreProto.Store.RedisClusterConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- feast.proto.core.StoreProto.Store.RedisClusterConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StoreProto.Store.RedisClusterConfigOrBuilder,Serializable
- Enclosing class:
- StoreProto.Store
public static final class StoreProto.Store.RedisClusterConfig extends com.google.protobuf.GeneratedMessageV3 implements StoreProto.Store.RedisClusterConfigOrBuilder
Protobuf typefeast.core.Store.RedisClusterConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoreProto.Store.RedisClusterConfig.BuilderProtobuf typefeast.core.Store.RedisClusterConfigstatic classStoreProto.Store.RedisClusterConfig.ReadFromOptional.-
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 intCONNECTION_STRING_FIELD_NUMBERstatic intENABLE_FALLBACK_FIELD_NUMBERstatic intFALLBACK_PREFIX_FIELD_NUMBERstatic intFLUSH_FREQUENCY_SECONDS_FIELD_NUMBERstatic intINITIAL_BACKOFF_MS_FIELD_NUMBERstatic intKEY_PREFIX_FIELD_NUMBERstatic intMAX_RETRIES_FIELD_NUMBERstatic intREAD_FROM_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetConnectionString()List of Redis Uri for all the nodes in Redis Cluster, comma separated.com.google.protobuf.ByteStringgetConnectionStringBytes()List of Redis Uri for all the nodes in Redis Cluster, comma separated.static StoreProto.Store.RedisClusterConfiggetDefaultInstance()StoreProto.Store.RedisClusterConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEnableFallback()Optional.StringgetFallbackPrefix()Optional.com.google.protobuf.ByteStringgetFallbackPrefixBytes()Optional.intgetFlushFrequencySeconds()Optional.intgetInitialBackoffMs()int32 initial_backoff_ms = 2;StringgetKeyPrefix()Optional.com.google.protobuf.ByteStringgetKeyPrefixBytes()Optional.intgetMaxRetries()int32 max_retries = 3;com.google.protobuf.Parser<StoreProto.Store.RedisClusterConfig>getParserForType()StoreProto.Store.RedisClusterConfig.ReadFromgetReadFrom().feast.core.Store.RedisClusterConfig.ReadFrom read_from = 8;intgetReadFromValue().feast.core.Store.RedisClusterConfig.ReadFrom read_from = 8;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StoreProto.Store.RedisClusterConfig.BuildernewBuilder()static StoreProto.Store.RedisClusterConfig.BuildernewBuilder(StoreProto.Store.RedisClusterConfig prototype)StoreProto.Store.RedisClusterConfig.BuildernewBuilderForType()protected StoreProto.Store.RedisClusterConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StoreProto.Store.RedisClusterConfigparseDelimitedFrom(InputStream input)static StoreProto.Store.RedisClusterConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisClusterConfigparseFrom(byte[] data)static StoreProto.Store.RedisClusterConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisClusterConfigparseFrom(com.google.protobuf.ByteString data)static StoreProto.Store.RedisClusterConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisClusterConfigparseFrom(com.google.protobuf.CodedInputStream input)static StoreProto.Store.RedisClusterConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisClusterConfigparseFrom(InputStream input)static StoreProto.Store.RedisClusterConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreProto.Store.RedisClusterConfigparseFrom(ByteBuffer data)static StoreProto.Store.RedisClusterConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StoreProto.Store.RedisClusterConfig>parser()StoreProto.Store.RedisClusterConfig.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
-
CONNECTION_STRING_FIELD_NUMBER
public static final int CONNECTION_STRING_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
-
KEY_PREFIX_FIELD_NUMBER
public static final int KEY_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_FALLBACK_FIELD_NUMBER
public static final int ENABLE_FALLBACK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FALLBACK_PREFIX_FIELD_NUMBER
public static final int FALLBACK_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READ_FROM_FIELD_NUMBER
public static final int READ_FROM_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
-
getConnectionString
public String getConnectionString()
List of Redis Uri for all the nodes in Redis Cluster, comma separated. Eg. host1:6379, host2:6379
string connection_string = 1;- Specified by:
getConnectionStringin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The connectionString.
-
getConnectionStringBytes
public com.google.protobuf.ByteString getConnectionStringBytes()
List of Redis Uri for all the nodes in Redis Cluster, comma separated. Eg. host1:6379, host2:6379
string connection_string = 1;- Specified by:
getConnectionStringBytesin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The bytes for connectionString.
-
getInitialBackoffMs
public int getInitialBackoffMs()
int32 initial_backoff_ms = 2;- Specified by:
getInitialBackoffMsin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The initialBackoffMs.
-
getMaxRetries
public int getMaxRetries()
int32 max_retries = 3;- Specified by:
getMaxRetriesin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The maxRetries.
-
getFlushFrequencySeconds
public int getFlushFrequencySeconds()
Optional. How often flush data to redis
int32 flush_frequency_seconds = 4;- Specified by:
getFlushFrequencySecondsin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The flushFrequencySeconds.
-
getKeyPrefix
public String getKeyPrefix()
Optional. Append a prefix to the Redis Key
string key_prefix = 5;- Specified by:
getKeyPrefixin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The keyPrefix.
-
getKeyPrefixBytes
public com.google.protobuf.ByteString getKeyPrefixBytes()
Optional. Append a prefix to the Redis Key
string key_prefix = 5;- Specified by:
getKeyPrefixBytesin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The bytes for keyPrefix.
-
getEnableFallback
public boolean getEnableFallback()
Optional. Enable fallback to another key prefix if the original key is not present. Useful for migrating key prefix without re-ingestion. Disabled by default.
bool enable_fallback = 6;- Specified by:
getEnableFallbackin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The enableFallback.
-
getFallbackPrefix
public String getFallbackPrefix()
Optional. This would be the fallback prefix to use if enable_fallback is true.
string fallback_prefix = 7;- Specified by:
getFallbackPrefixin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The fallbackPrefix.
-
getFallbackPrefixBytes
public com.google.protobuf.ByteString getFallbackPrefixBytes()
Optional. This would be the fallback prefix to use if enable_fallback is true.
string fallback_prefix = 7;- Specified by:
getFallbackPrefixBytesin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The bytes for fallbackPrefix.
-
getReadFromValue
public int getReadFromValue()
.feast.core.Store.RedisClusterConfig.ReadFrom read_from = 8;- Specified by:
getReadFromValuein interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The enum numeric value on the wire for readFrom.
-
getReadFrom
public StoreProto.Store.RedisClusterConfig.ReadFrom getReadFrom()
.feast.core.Store.RedisClusterConfig.ReadFrom read_from = 8;- Specified by:
getReadFromin interfaceStoreProto.Store.RedisClusterConfigOrBuilder- Returns:
- The readFrom.
-
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.RedisClusterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisClusterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisClusterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisClusterConfig 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.RedisClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisClusterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreProto.Store.RedisClusterConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StoreProto.Store.RedisClusterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StoreProto.Store.RedisClusterConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StoreProto.Store.RedisClusterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StoreProto.Store.RedisClusterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StoreProto.Store.RedisClusterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StoreProto.Store.RedisClusterConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StoreProto.Store.RedisClusterConfig.Builder newBuilder()
-
newBuilder
public static StoreProto.Store.RedisClusterConfig.Builder newBuilder(StoreProto.Store.RedisClusterConfig prototype)
-
toBuilder
public StoreProto.Store.RedisClusterConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StoreProto.Store.RedisClusterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StoreProto.Store.RedisClusterConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StoreProto.Store.RedisClusterConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<StoreProto.Store.RedisClusterConfig> 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.RedisClusterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-