Class StoreProto.Store.RedisConfig.Builder

    • Method Detail

      • 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.Builder<StoreProto.Store.RedisConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StoreProto.Store.RedisConfig.Builder>
      • getDefaultInstanceForType

        public StoreProto.Store.RedisConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public StoreProto.Store.RedisConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public StoreProto.Store.RedisConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StoreProto.Store.RedisConfig.Builder>
      • mergeFrom

        public StoreProto.Store.RedisConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoreProto.Store.RedisConfig.Builder>
        Throws:
        IOException
      • setHostBytes

        public StoreProto.Store.RedisConfig.Builder setHostBytes​(com.google.protobuf.ByteString value)
        string host = 1;
        Parameters:
        value - The bytes for host to set.
        Returns:
        This builder for chaining.
      • 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:
        getInitialBackoffMs in interface StoreProto.Store.RedisConfigOrBuilder
        Returns:
        The initialBackoffMs.
      • setInitialBackoffMs

        public StoreProto.Store.RedisConfig.Builder setInitialBackoffMs​(int value)
         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;
        Parameters:
        value - The initialBackoffMs to set.
        Returns:
        This builder for chaining.
      • clearInitialBackoffMs

        public StoreProto.Store.RedisConfig.Builder clearInitialBackoffMs()
         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;
        Returns:
        This builder for chaining.
      • getMaxRetries

        public int getMaxRetries()
         Optional. Maximum total number of retries for connecting to Redis. Default to zero retries.
         
        int32 max_retries = 4;
        Specified by:
        getMaxRetries in interface StoreProto.Store.RedisConfigOrBuilder
        Returns:
        The maxRetries.
      • setMaxRetries

        public StoreProto.Store.RedisConfig.Builder setMaxRetries​(int value)
         Optional. Maximum total number of retries for connecting to Redis. Default to zero retries.
         
        int32 max_retries = 4;
        Parameters:
        value - The maxRetries to set.
        Returns:
        This builder for chaining.
      • clearMaxRetries

        public StoreProto.Store.RedisConfig.Builder clearMaxRetries()
         Optional. Maximum total number of retries for connecting to Redis. Default to zero retries.
         
        int32 max_retries = 4;
        Returns:
        This builder for chaining.
      • setFlushFrequencySeconds

        public StoreProto.Store.RedisConfig.Builder setFlushFrequencySeconds​(int value)
         Optional. how often flush data to redis
         
        int32 flush_frequency_seconds = 5;
        Parameters:
        value - The flushFrequencySeconds to set.
        Returns:
        This builder for chaining.
      • clearFlushFrequencySeconds

        public StoreProto.Store.RedisConfig.Builder clearFlushFrequencySeconds()
         Optional. how often flush data to redis
         
        int32 flush_frequency_seconds = 5;
        Returns:
        This builder for chaining.