Interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig, FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder
Enclosing class:
FileSystemStoragePathSource

public static interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getServablesList

       The servables to monitor for new versions, and aspire.
       
      repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;
    • getServables

       The servables to monitor for new versions, and aspire.
       
      repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;
    • getServablesCount

      int getServablesCount()
       The servables to monitor for new versions, and aspire.
       
      repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;
    • getServablesOrBuilderList

       The servables to monitor for new versions, and aspire.
       
      repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;
    • getServablesOrBuilder

       The servables to monitor for new versions, and aspire.
       
      repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;
    • getFileSystemPollWaitSeconds

      long getFileSystemPollWaitSeconds()
       How long to wait between file-system polling to look for children of
       'base_path', in seconds.
      
       If set to zero, filesystem will be polled exactly once. If set to a
       negative value (for testing use only), polling will be entirely disabled.
       
      int64 file_system_poll_wait_seconds = 3;
      Returns:
      The fileSystemPollWaitSeconds.
    • getFailIfZeroVersionsAtStartup

      @Deprecated boolean getFailIfZeroVersionsAtStartup()
      Deprecated.
      tensorflow.serving.FileSystemStoragePathSourceConfig.fail_if_zero_versions_at_startup is deprecated. See tensorflow_serving/config/file_system_storage_path_source.proto;l=88
       If true, then FileSystemStoragePathSource::Create() and ::UpdateConfig()
       fail if, for any configured servables, the file system doesn't currently
       contain at least one version under the base path.
       (Otherwise, it will emit a warning and keep pinging the file system to
       check for a version to appear later.)
       DEPRECATED: Use 'servable_versions_always_present' instead, which includes
       this behavior.
       TODO(b/30898016): Remove 2019-10-31 or later.
       
      bool fail_if_zero_versions_at_startup = 4 [deprecated = true];
      Returns:
      The failIfZeroVersionsAtStartup.
    • getServableVersionsAlwaysPresent

      boolean getServableVersionsAlwaysPresent()
       If true, the servable is always expected to exist on the underlying
       filesystem. FileSystemStoragePathSource::Create() and ::UpdateConfig() will
       fail if, for any configured servables, the file system doesn't currently
       contain at least one version under the base path. In addition, if a polling
       loop find the base path empty, it will not unload existing servables.
       
      bool servable_versions_always_present = 6;
      Returns:
      The servableVersionsAlwaysPresent.