Class FileBasedKeyValueStoreConfig.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<FileBasedKeyValueStoreConfig.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<FileBasedKeyValueStoreConfig.Builder>
      • getDefaultInstanceForType

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

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

        public FileBasedKeyValueStoreConfig 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<FileBasedKeyValueStoreConfig.Builder>
      • mergeFrom

        public FileBasedKeyValueStoreConfig.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<FileBasedKeyValueStoreConfig.Builder>
        Throws:
        IOException
      • getFilename

        public String getFilename()
         The filename to read the keys and values from, and write the keys and
         values to.
         
        string filename = 1 [(.validate.rules) = { ... }
        Specified by:
        getFilename in interface FileBasedKeyValueStoreConfigOrBuilder
        Returns:
        The filename.
      • getFilenameBytes

        public com.google.protobuf.ByteString getFilenameBytes()
         The filename to read the keys and values from, and write the keys and
         values to.
         
        string filename = 1 [(.validate.rules) = { ... }
        Specified by:
        getFilenameBytes in interface FileBasedKeyValueStoreConfigOrBuilder
        Returns:
        The bytes for filename.
      • setFilename

        public FileBasedKeyValueStoreConfig.Builder setFilename​(String value)
         The filename to read the keys and values from, and write the keys and
         values to.
         
        string filename = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The filename to set.
        Returns:
        This builder for chaining.
      • clearFilename

        public FileBasedKeyValueStoreConfig.Builder clearFilename()
         The filename to read the keys and values from, and write the keys and
         values to.
         
        string filename = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setFilenameBytes

        public FileBasedKeyValueStoreConfig.Builder setFilenameBytes​(com.google.protobuf.ByteString value)
         The filename to read the keys and values from, and write the keys and
         values to.
         
        string filename = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for filename to set.
        Returns:
        This builder for chaining.
      • hasFlushInterval

        public boolean hasFlushInterval()
         The interval at which the key value store should be flushed to the file.
         
        .google.protobuf.Duration flush_interval = 2;
        Specified by:
        hasFlushInterval in interface FileBasedKeyValueStoreConfigOrBuilder
        Returns:
        Whether the flushInterval field is set.
      • getFlushInterval

        public com.google.protobuf.Duration getFlushInterval()
         The interval at which the key value store should be flushed to the file.
         
        .google.protobuf.Duration flush_interval = 2;
        Specified by:
        getFlushInterval in interface FileBasedKeyValueStoreConfigOrBuilder
        Returns:
        The flushInterval.
      • setFlushInterval

        public FileBasedKeyValueStoreConfig.Builder setFlushInterval​(com.google.protobuf.Duration value)
         The interval at which the key value store should be flushed to the file.
         
        .google.protobuf.Duration flush_interval = 2;
      • setFlushInterval

        public FileBasedKeyValueStoreConfig.Builder setFlushInterval​(com.google.protobuf.Duration.Builder builderForValue)
         The interval at which the key value store should be flushed to the file.
         
        .google.protobuf.Duration flush_interval = 2;
      • mergeFlushInterval

        public FileBasedKeyValueStoreConfig.Builder mergeFlushInterval​(com.google.protobuf.Duration value)
         The interval at which the key value store should be flushed to the file.
         
        .google.protobuf.Duration flush_interval = 2;
      • clearFlushInterval

        public FileBasedKeyValueStoreConfig.Builder clearFlushInterval()
         The interval at which the key value store should be flushed to the file.
         
        .google.protobuf.Duration flush_interval = 2;
      • getFlushIntervalBuilder

        public com.google.protobuf.Duration.Builder getFlushIntervalBuilder()
         The interval at which the key value store should be flushed to the file.
         
        .google.protobuf.Duration flush_interval = 2;
      • getFlushIntervalOrBuilder

        public com.google.protobuf.DurationOrBuilder getFlushIntervalOrBuilder()
         The interval at which the key value store should be flushed to the file.
         
        .google.protobuf.Duration flush_interval = 2;
        Specified by:
        getFlushIntervalOrBuilder in interface FileBasedKeyValueStoreConfigOrBuilder
      • hasMaxEntries

        public boolean hasMaxEntries()
         The maximum number of entries to cache, or 0 to allow for unlimited entries.
         Defaults to 1000 if not present.
         
        .google.protobuf.UInt32Value max_entries = 3;
        Specified by:
        hasMaxEntries in interface FileBasedKeyValueStoreConfigOrBuilder
        Returns:
        Whether the maxEntries field is set.
      • getMaxEntries

        public com.google.protobuf.UInt32Value getMaxEntries()
         The maximum number of entries to cache, or 0 to allow for unlimited entries.
         Defaults to 1000 if not present.
         
        .google.protobuf.UInt32Value max_entries = 3;
        Specified by:
        getMaxEntries in interface FileBasedKeyValueStoreConfigOrBuilder
        Returns:
        The maxEntries.
      • setMaxEntries

        public FileBasedKeyValueStoreConfig.Builder setMaxEntries​(com.google.protobuf.UInt32Value value)
         The maximum number of entries to cache, or 0 to allow for unlimited entries.
         Defaults to 1000 if not present.
         
        .google.protobuf.UInt32Value max_entries = 3;
      • setMaxEntries

        public FileBasedKeyValueStoreConfig.Builder setMaxEntries​(com.google.protobuf.UInt32Value.Builder builderForValue)
         The maximum number of entries to cache, or 0 to allow for unlimited entries.
         Defaults to 1000 if not present.
         
        .google.protobuf.UInt32Value max_entries = 3;
      • mergeMaxEntries

        public FileBasedKeyValueStoreConfig.Builder mergeMaxEntries​(com.google.protobuf.UInt32Value value)
         The maximum number of entries to cache, or 0 to allow for unlimited entries.
         Defaults to 1000 if not present.
         
        .google.protobuf.UInt32Value max_entries = 3;
      • clearMaxEntries

        public FileBasedKeyValueStoreConfig.Builder clearMaxEntries()
         The maximum number of entries to cache, or 0 to allow for unlimited entries.
         Defaults to 1000 if not present.
         
        .google.protobuf.UInt32Value max_entries = 3;
      • getMaxEntriesBuilder

        public com.google.protobuf.UInt32Value.Builder getMaxEntriesBuilder()
         The maximum number of entries to cache, or 0 to allow for unlimited entries.
         Defaults to 1000 if not present.
         
        .google.protobuf.UInt32Value max_entries = 3;
      • getMaxEntriesOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getMaxEntriesOrBuilder()
         The maximum number of entries to cache, or 0 to allow for unlimited entries.
         Defaults to 1000 if not present.
         
        .google.protobuf.UInt32Value max_entries = 3;
        Specified by:
        getMaxEntriesOrBuilder in interface FileBasedKeyValueStoreConfigOrBuilder