Interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder

    • Method Detail

      • getServablesCount

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

        @Deprecated
        java.lang.String getServableName()
        Deprecated.
         A single servable name/base_path pair to monitor.
         DEPRECATED: Use 'servables' instead.
         TODO(b/30898016): Stop using these fields, and ultimately remove them here.
         
        string servable_name = 1 [deprecated = true];
        Returns:
        The servableName.
      • getServableNameBytes

        @Deprecated
        com.google.protobuf.ByteString getServableNameBytes()
        Deprecated.
         A single servable name/base_path pair to monitor.
         DEPRECATED: Use 'servables' instead.
         TODO(b/30898016): Stop using these fields, and ultimately remove them here.
         
        string servable_name = 1 [deprecated = true];
        Returns:
        The bytes for servableName.
      • getBasePath

        @Deprecated
        java.lang.String getBasePath()
        Deprecated.
        string base_path = 2 [deprecated = true];
        Returns:
        The basePath.
      • getBasePathBytes

        @Deprecated
        com.google.protobuf.ByteString getBasePathBytes()
        Deprecated.
        string base_path = 2 [deprecated = true];
        Returns:
        The bytes for basePath.
      • 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.
         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.