Package tensorflow.serving
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 Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.tensorflow.serving.FileSystemStoragePathSourceConfig.fail_if_zero_versions_at_startup is deprecated.longHow long to wait between file-system polling to look for children of 'base_path', in seconds.getServables(int index) The servables to monitor for new versions, and aspire.intThe servables to monitor for new versions, and aspire.The servables to monitor for new versions, and aspire.getServablesOrBuilder(int index) The servables to monitor for new versions, and aspire.List<? extends FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder> The servables to monitor for new versions, and aspire.booleanIf true, the servable is always expected to exist on the underlying filesystem.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getServablesList
List<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor> getServablesList()The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5; -
getServables
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor getServables(int index) 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
List<? extends FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder> getServablesOrBuilderList()The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5; -
getServablesOrBuilder
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder getServablesOrBuilder(int index) 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.tensorflow.serving.FileSystemStoragePathSourceConfig.fail_if_zero_versions_at_startup is deprecated. See tensorflow_serving/config/file_system_storage_path_source.proto;l=88If 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.
-