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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetBasePath()Deprecated.com.google.protobuf.ByteStringgetBasePathBytes()Deprecated.booleangetFailIfZeroVersionsAtStartup()Deprecated.longgetFileSystemPollWaitSeconds()How long to wait between file-system polling to look for children of 'base_path', in seconds.java.lang.StringgetServableName()Deprecated.com.google.protobuf.ByteStringgetServableNameBytes()Deprecated.FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorgetServables(int index)The servables to monitor for new versions, and aspire.intgetServablesCount()The servables to monitor for new versions, and aspire.java.util.List<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor>getServablesList()The servables to monitor for new versions, and aspire.FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuildergetServablesOrBuilder(int index)The servables to monitor for new versions, and aspire.java.util.List<? extends FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder>getServablesOrBuilderList()The servables to monitor for new versions, and aspire.booleangetServableVersionsAlwaysPresent()If true, the servable is always expected to exist on the underlying filesystem.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getServablesList
java.util.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
java.util.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;
-
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.
-
-