public static final class FileSystemStoragePathSource.FileSystemStoragePathSourceConfig extends com.google.protobuf.GeneratedMessageV3 implements FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
Config proto for FileSystemStoragePathSource.Protobuf type
tensorflow.serving.FileSystemStoragePathSourceConfig| Modifier and Type | Class and Description |
|---|---|
static class |
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder
Config proto for FileSystemStoragePathSource.
|
static class |
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor
A servable name and base path to look for versions of the servable.
|
static interface |
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder |
static class |
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy
A policy that dictates which version(s) of a servable should be served.
|
static interface |
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicyOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_PATH_FIELD_NUMBER |
static int |
FAIL_IF_ZERO_VERSIONS_AT_STARTUP_FIELD_NUMBER |
static int |
FILE_SYSTEM_POLL_WAIT_SECONDS_FIELD_NUMBER |
static int |
SERVABLE_NAME_FIELD_NUMBER |
static int |
SERVABLES_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVABLES_FIELD_NUMBER
public static final int SERVABLE_NAME_FIELD_NUMBER
public static final int BASE_PATH_FIELD_NUMBER
public static final int FILE_SYSTEM_POLL_WAIT_SECONDS_FIELD_NUMBER
public static final int FAIL_IF_ZERO_VERSIONS_AT_STARTUP_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.util.List<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor> getServablesList()
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;getServablesList in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilderpublic java.util.List<? extends FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder> getServablesOrBuilderList()
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;getServablesOrBuilderList in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilderpublic int getServablesCount()
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;getServablesCount in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilderpublic FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor getServables(int index)
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;getServables in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilderpublic FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder getServablesOrBuilder(int index)
The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;getServablesOrBuilder in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder@Deprecated public 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];getServableName in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder@Deprecated public 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];getServableNameBytes in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder@Deprecated public java.lang.String getBasePath()
string base_path = 2 [deprecated = true];getBasePath in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder@Deprecated public com.google.protobuf.ByteString getBasePathBytes()
string base_path = 2 [deprecated = true];getBasePathBytes in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilderpublic long getFileSystemPollWaitSeconds()
How long to wait between file-system polling to look for children of 'base_path', in seconds. For testing use only: a negative value disables the polling thread.
int64 file_system_poll_wait_seconds = 3;getFileSystemPollWaitSeconds in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilderpublic 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.)
bool fail_if_zero_versions_at_startup = 4;getFailIfZeroVersionsAtStartup in interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilder()
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilder(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig prototype)
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig getDefaultInstance()
public static com.google.protobuf.Parser<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig> parser()
public com.google.protobuf.Parser<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder