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,java.io.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 typetensorflow.serving.FileSystemStoragePathSourceConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.BuilderConfig proto for FileSystemStoragePathSource.static classFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorA servable name and base path to look for versions of the servable.static interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilderstatic classFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicyA policy that dictates which version(s) of a servable should be served.static interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicyOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intBASE_PATH_FIELD_NUMBERstatic intFAIL_IF_ZERO_VERSIONS_AT_STARTUP_FIELD_NUMBERstatic intFILE_SYSTEM_POLL_WAIT_SECONDS_FIELD_NUMBERstatic intSERVABLE_NAME_FIELD_NUMBERstatic intSERVABLE_VERSIONS_ALWAYS_PRESENT_FIELD_NUMBERstatic intSERVABLES_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SERVABLES_FIELD_NUMBER
public static final int SERVABLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVABLE_NAME_FIELD_NUMBER
public static final int SERVABLE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BASE_PATH_FIELD_NUMBER
public static final int BASE_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_SYSTEM_POLL_WAIT_SECONDS_FIELD_NUMBER
public static final int FILE_SYSTEM_POLL_WAIT_SECONDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAIL_IF_ZERO_VERSIONS_AT_STARTUP_FIELD_NUMBER
public static final int FAIL_IF_ZERO_VERSIONS_AT_STARTUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVABLE_VERSIONS_ALWAYS_PRESENT_FIELD_NUMBER
public static final int SERVABLE_VERSIONS_ALWAYS_PRESENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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 java.util.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 java.util.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
-
getServableName
@Deprecated public 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];- Specified by:
getServableNamein interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder- Returns:
- The servableName.
-
getServableNameBytes
@Deprecated public 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];- Specified by:
getServableNameBytesin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder- Returns:
- The bytes for servableName.
-
getBasePath
@Deprecated public java.lang.String getBasePath()
Deprecated.string base_path = 2 [deprecated = true];- Specified by:
getBasePathin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder- Returns:
- The basePath.
-
getBasePathBytes
@Deprecated public com.google.protobuf.ByteString getBasePathBytes()
Deprecated.string base_path = 2 [deprecated = true];- Specified by:
getBasePathBytesin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfigOrBuilder- Returns:
- The bytes for basePath.
-
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 public 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];- 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilder()
-
newBuilder
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder newBuilder(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig prototype)
-
toBuilder
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.Builder 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
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig 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
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-