Package tensorflow.serving
Interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.SpecificOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.Specific,FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.Specific.Builder
- Enclosing class:
- FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy
public static interface FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.SpecificOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description longgetVersions(int index)The version numbers to serve.intgetVersionsCount()The version numbers to serve.java.util.List<java.lang.Long>getVersionsList()The version numbers to serve.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getVersionsList
java.util.List<java.lang.Long> getVersionsList()The version numbers to serve.
repeated int64 versions = 1;- Returns:
- A list containing the versions.
-
getVersionsCount
int getVersionsCount()The version numbers to serve.
repeated int64 versions = 1;- Returns:
- The count of versions.
-
getVersions
long getVersions(int index)The version numbers to serve.
repeated int64 versions = 1;- Parameters:
index- The index of the element to return.- Returns:
- The versions at the given index.
-