Package tensorflow.serving
Class FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
- tensorflow.serving.FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder
public static final class FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder> implements FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder
A servable name and base path to look for versions of the servable.
Protobuf typetensorflow.serving.FileSystemStoragePathSourceConfig.ServableToMonitor
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
clear
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
getDefaultInstanceForType
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
setField
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
clearField
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
clearOneof
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
setRepeatedField
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
addRepeatedField
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
mergeFrom
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
mergeFrom
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder mergeFrom(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
mergeFrom
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>- Throws:
java.io.IOException
-
getServableName
public java.lang.String getServableName()
The servable name to supply in aspired-versions callback calls. Child paths of 'base_path' are considered to be versions of this servable.
string servable_name = 1;- Specified by:
getServableNamein interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder- Returns:
- The servableName.
-
getServableNameBytes
public com.google.protobuf.ByteString getServableNameBytes()
The servable name to supply in aspired-versions callback calls. Child paths of 'base_path' are considered to be versions of this servable.
string servable_name = 1;- Specified by:
getServableNameBytesin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder- Returns:
- The bytes for servableName.
-
setServableName
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setServableName(java.lang.String value)
The servable name to supply in aspired-versions callback calls. Child paths of 'base_path' are considered to be versions of this servable.
string servable_name = 1;- Parameters:
value- The servableName to set.- Returns:
- This builder for chaining.
-
clearServableName
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder clearServableName()
The servable name to supply in aspired-versions callback calls. Child paths of 'base_path' are considered to be versions of this servable.
string servable_name = 1;- Returns:
- This builder for chaining.
-
setServableNameBytes
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setServableNameBytes(com.google.protobuf.ByteString value)
The servable name to supply in aspired-versions callback calls. Child paths of 'base_path' are considered to be versions of this servable.
string servable_name = 1;- Parameters:
value- The bytes for servableName to set.- Returns:
- This builder for chaining.
-
getBasePath
public java.lang.String getBasePath()
The path to monitor, i.e. look for child paths of the form base_path/123.
string base_path = 2;- Specified by:
getBasePathin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder- Returns:
- The basePath.
-
getBasePathBytes
public com.google.protobuf.ByteString getBasePathBytes()
The path to monitor, i.e. look for child paths of the form base_path/123.
string base_path = 2;- Specified by:
getBasePathBytesin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder- Returns:
- The bytes for basePath.
-
setBasePath
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setBasePath(java.lang.String value)
The path to monitor, i.e. look for child paths of the form base_path/123.
string base_path = 2;- Parameters:
value- The basePath to set.- Returns:
- This builder for chaining.
-
clearBasePath
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder clearBasePath()
The path to monitor, i.e. look for child paths of the form base_path/123.
string base_path = 2;- Returns:
- This builder for chaining.
-
setBasePathBytes
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setBasePathBytes(com.google.protobuf.ByteString value)
The path to monitor, i.e. look for child paths of the form base_path/123.
string base_path = 2;- Parameters:
value- The bytes for basePath to set.- Returns:
- This builder for chaining.
-
hasServableVersionPolicy
public boolean hasServableVersionPolicy()
The policy to determines the number of versions of the servable to be served at the same time.
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy servable_version_policy = 4;- Specified by:
hasServableVersionPolicyin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder- Returns:
- Whether the servableVersionPolicy field is set.
-
getServableVersionPolicy
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy getServableVersionPolicy()
The policy to determines the number of versions of the servable to be served at the same time.
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy servable_version_policy = 4;- Specified by:
getServableVersionPolicyin interfaceFileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitorOrBuilder- Returns:
- The servableVersionPolicy.
-
setServableVersionPolicy
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setServableVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy value)
The policy to determines the number of versions of the servable to be served at the same time.
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy servable_version_policy = 4;
-
setServableVersionPolicy
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setServableVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.Builder builderForValue)
The policy to determines the number of versions of the servable to be served at the same time.
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy servable_version_policy = 4;
-
mergeServableVersionPolicy
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder mergeServableVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy value)
The policy to determines the number of versions of the servable to be served at the same time.
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy servable_version_policy = 4;
-
clearServableVersionPolicy
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder clearServableVersionPolicy()
The policy to determines the number of versions of the servable to be served at the same time.
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy servable_version_policy = 4;
-
getServableVersionPolicyBuilder
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.Builder getServableVersionPolicyBuilder()
The policy to determines the number of versions of the servable to be served at the same time.
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy servable_version_policy = 4;
-
getServableVersionPolicyOrBuilder
public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicyOrBuilder getServableVersionPolicyOrBuilder()
The policy to determines the number of versions of the servable to be served at the same time.
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy servable_version_policy = 4;
-
setUnknownFields
public final FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
mergeUnknownFields
public final FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableToMonitor.Builder>
-
-