public static interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBasePath()
Deprecated.
|
com.google.protobuf.ByteString |
getBasePathBytes()
Deprecated.
|
boolean |
getFailIfZeroVersionsAtStartup()
Deprecated.
|
long |
getFileSystemPollWaitSeconds()
How long to wait between file-system polling to look for children of
'base_path', in seconds.
|
java.lang.String |
getServableName()
Deprecated.
|
com.google.protobuf.ByteString |
getServableNameBytes()
Deprecated.
|
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor |
getServables(int index)
The servables to monitor for new versions, and aspire.
|
int |
getServablesCount()
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.ServableToMonitorOrBuilder |
getServablesOrBuilder(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.
|
boolean |
getServableVersionsAlwaysPresent()
If true, the servable is always expected to exist on the underlying
filesystem.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.util.List<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor> getServablesList()
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor getServables(int index)
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;int getServablesCount()
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;java.util.List<? extends FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder> getServablesOrBuilderList()
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder getServablesOrBuilder(int index)
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;@Deprecated java.lang.String getServableName()
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];@Deprecated com.google.protobuf.ByteString getServableNameBytes()
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];@Deprecated java.lang.String getBasePath()
string base_path = 2 [deprecated = true];@Deprecated com.google.protobuf.ByteString getBasePathBytes()
string base_path = 2 [deprecated = true];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;@Deprecated boolean getFailIfZeroVersionsAtStartup()
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];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;