Package tensorflow.serving
Class FileSystemStoragePathSource.FileSystemStoragePathSourceConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tensorflow.serving.FileSystemStoragePathSource.FileSystemStoragePathSourceConfig
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
- Enclosing class:
FileSystemStoragePathSource
public static final class FileSystemStoragePathSource.FileSystemStoragePathSourceConfig
extends com.google.protobuf.GeneratedMessageV3
implements FileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
Config proto for FileSystemStoragePathSource.Protobuf type
tensorflow.serving.FileSystemStoragePathSourceConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfig proto for FileSystemStoragePathSource.static final classA servable name and base path to look for versions of the servable.static interfacestatic final classA policy that dictates which version(s) of a servable should be served.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorbooleanDeprecated.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.com.google.protobuf.Parser<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig> intgetServables(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.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SERVABLES_FIELD_NUMBER
public static final int SERVABLES_FIELD_NUMBER- See Also:
-
FILE_SYSTEM_POLL_WAIT_SECONDS_FIELD_NUMBER
public static final int FILE_SYSTEM_POLL_WAIT_SECONDS_FIELD_NUMBER- See Also:
-
FAIL_IF_ZERO_VERSIONS_AT_STARTUP_FIELD_NUMBER
public static final int FAIL_IF_ZERO_VERSIONS_AT_STARTUP_FIELD_NUMBER- See Also:
-
SERVABLE_VERSIONS_ALWAYS_PRESENT_FIELD_NUMBER
public static final int SERVABLE_VERSIONS_ALWAYS_PRESENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getServablesList
public List<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor> getServablesList()The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;- Specified by:
getServablesListin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
-
getServablesOrBuilderList
public List<? extends FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder> getServablesOrBuilderList()The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;- Specified by:
getServablesOrBuilderListin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
-
getServablesCount
public int getServablesCount()The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;- Specified by:
getServablesCountin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
-
getServables
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor getServables(int index) The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;- Specified by:
getServablesin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
-
getServablesOrBuilder
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder getServablesOrBuilder(int index) The servables to monitor for new versions, and aspire.
repeated .tensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor servables = 5;- Specified by:
getServablesOrBuilderin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder
-
getFileSystemPollWaitSeconds
public 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;- Specified by:
getFileSystemPollWaitSecondsin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder- 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];- Specified by:
getFailIfZeroVersionsAtStartupin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder- Returns:
- The failIfZeroVersionsAtStartup.
-
getServableVersionsAlwaysPresent
public 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;- Specified by:
getServableVersionsAlwaysPresentin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder- Returns:
- The servableVersionsAlwaysPresent.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilder(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig> parser() -
getParserForType
public com.google.protobuf.Parser<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-