public static final class ModelServerConfigOuterClass.ModelConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder> implements ModelServerConfigOuterClass.ModelConfigOrBuilder
Common configuration for loading a model being served.Protobuf type
tensorflow.serving.ModelConfig| Modifier and Type | Method and Description |
|---|---|
ModelServerConfigOuterClass.ModelConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ModelServerConfigOuterClass.ModelConfig |
build() |
ModelServerConfigOuterClass.ModelConfig |
buildPartial() |
ModelServerConfigOuterClass.ModelConfig.Builder |
clear() |
ModelServerConfigOuterClass.ModelConfig.Builder |
clearBasePath()
Base path to the model, excluding the version directory.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ModelServerConfigOuterClass.ModelConfig.Builder |
clearLoggingConfig()
Configures logging requests and responses, to the model.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
clearModelPlatform()
Type of model (e.g.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
clearModelType()
Deprecated.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
clearModelVersionPolicy()
Version policy for the model indicating which version(s) of the model to
load and make available for serving simultaneously.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
clearName()
Name of the model.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ModelServerConfigOuterClass.ModelConfig.Builder |
clearVersionLabels() |
ModelServerConfigOuterClass.ModelConfig.Builder |
clone() |
boolean |
containsVersionLabels(java.lang.String key)
String labels to associate with versions of the model, allowing inference
queries to refer to versions by label instead of number.
|
java.lang.String |
getBasePath()
Base path to the model, excluding the version directory.
|
com.google.protobuf.ByteString |
getBasePathBytes()
Base path to the model, excluding the version directory.
|
ModelServerConfigOuterClass.ModelConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LoggingConfigOuterClass.LoggingConfig |
getLoggingConfig()
Configures logging requests and responses, to the model.
|
LoggingConfigOuterClass.LoggingConfig.Builder |
getLoggingConfigBuilder()
Configures logging requests and responses, to the model.
|
LoggingConfigOuterClass.LoggingConfigOrBuilder |
getLoggingConfigOrBuilder()
Configures logging requests and responses, to the model.
|
java.lang.String |
getModelPlatform()
Type of model (e.g.
|
com.google.protobuf.ByteString |
getModelPlatformBytes()
Type of model (e.g.
|
ModelServerConfigOuterClass.ModelType |
getModelType()
Deprecated.
|
int |
getModelTypeValue()
Deprecated.
|
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy |
getModelVersionPolicy()
Version policy for the model indicating which version(s) of the model to
load and make available for serving simultaneously.
|
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.Builder |
getModelVersionPolicyBuilder()
Version policy for the model indicating which version(s) of the model to
load and make available for serving simultaneously.
|
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicyOrBuilder |
getModelVersionPolicyOrBuilder()
Version policy for the model indicating which version(s) of the model to
load and make available for serving simultaneously.
|
java.util.Map<java.lang.String,java.lang.Long> |
getMutableVersionLabels()
Deprecated.
|
java.lang.String |
getName()
Name of the model.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the model.
|
java.util.Map<java.lang.String,java.lang.Long> |
getVersionLabels()
Deprecated.
|
int |
getVersionLabelsCount()
String labels to associate with versions of the model, allowing inference
queries to refer to versions by label instead of number.
|
java.util.Map<java.lang.String,java.lang.Long> |
getVersionLabelsMap()
String labels to associate with versions of the model, allowing inference
queries to refer to versions by label instead of number.
|
long |
getVersionLabelsOrDefault(java.lang.String key,
long defaultValue)
String labels to associate with versions of the model, allowing inference
queries to refer to versions by label instead of number.
|
long |
getVersionLabelsOrThrow(java.lang.String key)
String labels to associate with versions of the model, allowing inference
queries to refer to versions by label instead of number.
|
boolean |
hasLoggingConfig()
Configures logging requests and responses, to the model.
|
boolean |
hasModelVersionPolicy()
Version policy for the model indicating which version(s) of the model to
load and make available for serving simultaneously.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ModelServerConfigOuterClass.ModelConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ModelServerConfigOuterClass.ModelConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
ModelServerConfigOuterClass.ModelConfig.Builder |
mergeFrom(ModelServerConfigOuterClass.ModelConfig other) |
ModelServerConfigOuterClass.ModelConfig.Builder |
mergeLoggingConfig(LoggingConfigOuterClass.LoggingConfig value)
Configures logging requests and responses, to the model.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
mergeModelVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy value)
Version policy for the model indicating which version(s) of the model to
load and make available for serving simultaneously.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ModelServerConfigOuterClass.ModelConfig.Builder |
putAllVersionLabels(java.util.Map<java.lang.String,java.lang.Long> values)
String labels to associate with versions of the model, allowing inference
queries to refer to versions by label instead of number.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
putVersionLabels(java.lang.String key,
long value)
String labels to associate with versions of the model, allowing inference
queries to refer to versions by label instead of number.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
removeVersionLabels(java.lang.String key)
String labels to associate with versions of the model, allowing inference
queries to refer to versions by label instead of number.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setBasePath(java.lang.String value)
Base path to the model, excluding the version directory.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setBasePathBytes(com.google.protobuf.ByteString value)
Base path to the model, excluding the version directory.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ModelServerConfigOuterClass.ModelConfig.Builder |
setLoggingConfig(LoggingConfigOuterClass.LoggingConfig.Builder builderForValue)
Configures logging requests and responses, to the model.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setLoggingConfig(LoggingConfigOuterClass.LoggingConfig value)
Configures logging requests and responses, to the model.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setModelPlatform(java.lang.String value)
Type of model (e.g.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setModelPlatformBytes(com.google.protobuf.ByteString value)
Type of model (e.g.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setModelType(ModelServerConfigOuterClass.ModelType value)
Deprecated.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setModelTypeValue(int value)
Deprecated.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setModelVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.Builder builderForValue)
Version policy for the model indicating which version(s) of the model to
load and make available for serving simultaneously.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setModelVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy value)
Version policy for the model indicating which version(s) of the model to
load and make available for serving simultaneously.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setName(java.lang.String value)
Name of the model.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the model.
|
ModelServerConfigOuterClass.ModelConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ModelServerConfigOuterClass.ModelConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ModelServerConfigOuterClass.ModelConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ModelServerConfigOuterClass.ModelConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ModelServerConfigOuterClass.ModelConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder mergeFrom(ModelServerConfigOuterClass.ModelConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public ModelServerConfigOuterClass.ModelConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>java.io.IOExceptionpublic java.lang.String getName()
Name of the model.
string name = 1;getName in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the model.
string name = 1;getNameBytes in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic ModelServerConfigOuterClass.ModelConfig.Builder setName(java.lang.String value)
Name of the model.
string name = 1;value - The name to set.public ModelServerConfigOuterClass.ModelConfig.Builder clearName()
Name of the model.
string name = 1;public ModelServerConfigOuterClass.ModelConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the model.
string name = 1;value - The bytes for name to set.public java.lang.String getBasePath()
Base path to the model, excluding the version directory. E.g> for a model at /foo/bar/my_model/123, where 123 is the version, the base path is /foo/bar/my_model. (This can be changed once a model is in serving, *if* the underlying data remains the same. Otherwise there are no guarantees about whether the old or new data will be used for model versions currently loaded.)
string base_path = 2;getBasePath in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic com.google.protobuf.ByteString getBasePathBytes()
Base path to the model, excluding the version directory. E.g> for a model at /foo/bar/my_model/123, where 123 is the version, the base path is /foo/bar/my_model. (This can be changed once a model is in serving, *if* the underlying data remains the same. Otherwise there are no guarantees about whether the old or new data will be used for model versions currently loaded.)
string base_path = 2;getBasePathBytes in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic ModelServerConfigOuterClass.ModelConfig.Builder setBasePath(java.lang.String value)
Base path to the model, excluding the version directory. E.g> for a model at /foo/bar/my_model/123, where 123 is the version, the base path is /foo/bar/my_model. (This can be changed once a model is in serving, *if* the underlying data remains the same. Otherwise there are no guarantees about whether the old or new data will be used for model versions currently loaded.)
string base_path = 2;value - The basePath to set.public ModelServerConfigOuterClass.ModelConfig.Builder clearBasePath()
Base path to the model, excluding the version directory. E.g> for a model at /foo/bar/my_model/123, where 123 is the version, the base path is /foo/bar/my_model. (This can be changed once a model is in serving, *if* the underlying data remains the same. Otherwise there are no guarantees about whether the old or new data will be used for model versions currently loaded.)
string base_path = 2;public ModelServerConfigOuterClass.ModelConfig.Builder setBasePathBytes(com.google.protobuf.ByteString value)
Base path to the model, excluding the version directory. E.g> for a model at /foo/bar/my_model/123, where 123 is the version, the base path is /foo/bar/my_model. (This can be changed once a model is in serving, *if* the underlying data remains the same. Otherwise there are no guarantees about whether the old or new data will be used for model versions currently loaded.)
string base_path = 2;value - The bytes for basePath to set.@Deprecated public int getModelTypeValue()
Type of model. TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
.tensorflow.serving.ModelType model_type = 3 [deprecated = true];getModelTypeValue in interface ModelServerConfigOuterClass.ModelConfigOrBuilder@Deprecated public ModelServerConfigOuterClass.ModelConfig.Builder setModelTypeValue(int value)
Type of model. TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
.tensorflow.serving.ModelType model_type = 3 [deprecated = true];value - The enum numeric value on the wire for modelType to set.@Deprecated public ModelServerConfigOuterClass.ModelType getModelType()
Type of model. TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
.tensorflow.serving.ModelType model_type = 3 [deprecated = true];getModelType in interface ModelServerConfigOuterClass.ModelConfigOrBuilder@Deprecated public ModelServerConfigOuterClass.ModelConfig.Builder setModelType(ModelServerConfigOuterClass.ModelType value)
Type of model. TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
.tensorflow.serving.ModelType model_type = 3 [deprecated = true];value - The modelType to set.@Deprecated public ModelServerConfigOuterClass.ModelConfig.Builder clearModelType()
Type of model. TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
.tensorflow.serving.ModelType model_type = 3 [deprecated = true];public java.lang.String getModelPlatform()
Type of model (e.g. "tensorflow"). (This cannot be changed once a model is in serving.)
string model_platform = 4;getModelPlatform in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic com.google.protobuf.ByteString getModelPlatformBytes()
Type of model (e.g. "tensorflow"). (This cannot be changed once a model is in serving.)
string model_platform = 4;getModelPlatformBytes in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic ModelServerConfigOuterClass.ModelConfig.Builder setModelPlatform(java.lang.String value)
Type of model (e.g. "tensorflow"). (This cannot be changed once a model is in serving.)
string model_platform = 4;value - The modelPlatform to set.public ModelServerConfigOuterClass.ModelConfig.Builder clearModelPlatform()
Type of model (e.g. "tensorflow"). (This cannot be changed once a model is in serving.)
string model_platform = 4;public ModelServerConfigOuterClass.ModelConfig.Builder setModelPlatformBytes(com.google.protobuf.ByteString value)
Type of model (e.g. "tensorflow"). (This cannot be changed once a model is in serving.)
string model_platform = 4;value - The bytes for modelPlatform to set.public boolean hasModelVersionPolicy()
Version policy for the model indicating which version(s) of the model to load and make available for serving simultaneously. The default option is to serve only the latest version of the model. (This can be changed once a model is in serving.)
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy model_version_policy = 7;hasModelVersionPolicy in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy getModelVersionPolicy()
Version policy for the model indicating which version(s) of the model to load and make available for serving simultaneously. The default option is to serve only the latest version of the model. (This can be changed once a model is in serving.)
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy model_version_policy = 7;getModelVersionPolicy in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic ModelServerConfigOuterClass.ModelConfig.Builder setModelVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy value)
Version policy for the model indicating which version(s) of the model to load and make available for serving simultaneously. The default option is to serve only the latest version of the model. (This can be changed once a model is in serving.)
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy model_version_policy = 7;public ModelServerConfigOuterClass.ModelConfig.Builder setModelVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.Builder builderForValue)
Version policy for the model indicating which version(s) of the model to load and make available for serving simultaneously. The default option is to serve only the latest version of the model. (This can be changed once a model is in serving.)
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy model_version_policy = 7;public ModelServerConfigOuterClass.ModelConfig.Builder mergeModelVersionPolicy(FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy value)
Version policy for the model indicating which version(s) of the model to load and make available for serving simultaneously. The default option is to serve only the latest version of the model. (This can be changed once a model is in serving.)
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy model_version_policy = 7;public ModelServerConfigOuterClass.ModelConfig.Builder clearModelVersionPolicy()
Version policy for the model indicating which version(s) of the model to load and make available for serving simultaneously. The default option is to serve only the latest version of the model. (This can be changed once a model is in serving.)
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy model_version_policy = 7;public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.Builder getModelVersionPolicyBuilder()
Version policy for the model indicating which version(s) of the model to load and make available for serving simultaneously. The default option is to serve only the latest version of the model. (This can be changed once a model is in serving.)
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy model_version_policy = 7;public FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicyOrBuilder getModelVersionPolicyOrBuilder()
Version policy for the model indicating which version(s) of the model to load and make available for serving simultaneously. The default option is to serve only the latest version of the model. (This can be changed once a model is in serving.)
.tensorflow.serving.FileSystemStoragePathSourceConfig.ServableVersionPolicy model_version_policy = 7;getModelVersionPolicyOrBuilder in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic int getVersionLabelsCount()
ModelServerConfigOuterClass.ModelConfigOrBuilderString labels to associate with versions of the model, allowing inference queries to refer to versions by label instead of number. Multiple labels can map to the same version, but not vice-versa. An envisioned use-case for these labels is canarying tentative versions. For example, one can assign labels "stable" and "canary" to two specific versions. Perhaps initially "stable" is assigned to version 0 and "canary" to version 1. Once version 1 passes canary, one can shift the "stable" label to refer to version 1 (at that point both labels map to the same version -- version 1 -- which is fine). Later once version 2 is ready to canary one can move the "canary" label to version 2. And so on.
map<string, int64> version_labels = 8;getVersionLabelsCount in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic boolean containsVersionLabels(java.lang.String key)
String labels to associate with versions of the model, allowing inference queries to refer to versions by label instead of number. Multiple labels can map to the same version, but not vice-versa. An envisioned use-case for these labels is canarying tentative versions. For example, one can assign labels "stable" and "canary" to two specific versions. Perhaps initially "stable" is assigned to version 0 and "canary" to version 1. Once version 1 passes canary, one can shift the "stable" label to refer to version 1 (at that point both labels map to the same version -- version 1 -- which is fine). Later once version 2 is ready to canary one can move the "canary" label to version 2. And so on.
map<string, int64> version_labels = 8;containsVersionLabels in interface ModelServerConfigOuterClass.ModelConfigOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getVersionLabels()
getVersionLabelsMap() instead.getVersionLabels in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic java.util.Map<java.lang.String,java.lang.Long> getVersionLabelsMap()
String labels to associate with versions of the model, allowing inference queries to refer to versions by label instead of number. Multiple labels can map to the same version, but not vice-versa. An envisioned use-case for these labels is canarying tentative versions. For example, one can assign labels "stable" and "canary" to two specific versions. Perhaps initially "stable" is assigned to version 0 and "canary" to version 1. Once version 1 passes canary, one can shift the "stable" label to refer to version 1 (at that point both labels map to the same version -- version 1 -- which is fine). Later once version 2 is ready to canary one can move the "canary" label to version 2. And so on.
map<string, int64> version_labels = 8;getVersionLabelsMap in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic long getVersionLabelsOrDefault(java.lang.String key,
long defaultValue)
String labels to associate with versions of the model, allowing inference queries to refer to versions by label instead of number. Multiple labels can map to the same version, but not vice-versa. An envisioned use-case for these labels is canarying tentative versions. For example, one can assign labels "stable" and "canary" to two specific versions. Perhaps initially "stable" is assigned to version 0 and "canary" to version 1. Once version 1 passes canary, one can shift the "stable" label to refer to version 1 (at that point both labels map to the same version -- version 1 -- which is fine). Later once version 2 is ready to canary one can move the "canary" label to version 2. And so on.
map<string, int64> version_labels = 8;getVersionLabelsOrDefault in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic long getVersionLabelsOrThrow(java.lang.String key)
String labels to associate with versions of the model, allowing inference queries to refer to versions by label instead of number. Multiple labels can map to the same version, but not vice-versa. An envisioned use-case for these labels is canarying tentative versions. For example, one can assign labels "stable" and "canary" to two specific versions. Perhaps initially "stable" is assigned to version 0 and "canary" to version 1. Once version 1 passes canary, one can shift the "stable" label to refer to version 1 (at that point both labels map to the same version -- version 1 -- which is fine). Later once version 2 is ready to canary one can move the "canary" label to version 2. And so on.
map<string, int64> version_labels = 8;getVersionLabelsOrThrow in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic ModelServerConfigOuterClass.ModelConfig.Builder clearVersionLabels()
public ModelServerConfigOuterClass.ModelConfig.Builder removeVersionLabels(java.lang.String key)
String labels to associate with versions of the model, allowing inference queries to refer to versions by label instead of number. Multiple labels can map to the same version, but not vice-versa. An envisioned use-case for these labels is canarying tentative versions. For example, one can assign labels "stable" and "canary" to two specific versions. Perhaps initially "stable" is assigned to version 0 and "canary" to version 1. Once version 1 passes canary, one can shift the "stable" label to refer to version 1 (at that point both labels map to the same version -- version 1 -- which is fine). Later once version 2 is ready to canary one can move the "canary" label to version 2. And so on.
map<string, int64> version_labels = 8;@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getMutableVersionLabels()
public ModelServerConfigOuterClass.ModelConfig.Builder putVersionLabels(java.lang.String key, long value)
String labels to associate with versions of the model, allowing inference queries to refer to versions by label instead of number. Multiple labels can map to the same version, but not vice-versa. An envisioned use-case for these labels is canarying tentative versions. For example, one can assign labels "stable" and "canary" to two specific versions. Perhaps initially "stable" is assigned to version 0 and "canary" to version 1. Once version 1 passes canary, one can shift the "stable" label to refer to version 1 (at that point both labels map to the same version -- version 1 -- which is fine). Later once version 2 is ready to canary one can move the "canary" label to version 2. And so on.
map<string, int64> version_labels = 8;public ModelServerConfigOuterClass.ModelConfig.Builder putAllVersionLabels(java.util.Map<java.lang.String,java.lang.Long> values)
String labels to associate with versions of the model, allowing inference queries to refer to versions by label instead of number. Multiple labels can map to the same version, but not vice-versa. An envisioned use-case for these labels is canarying tentative versions. For example, one can assign labels "stable" and "canary" to two specific versions. Perhaps initially "stable" is assigned to version 0 and "canary" to version 1. Once version 1 passes canary, one can shift the "stable" label to refer to version 1 (at that point both labels map to the same version -- version 1 -- which is fine). Later once version 2 is ready to canary one can move the "canary" label to version 2. And so on.
map<string, int64> version_labels = 8;public boolean hasLoggingConfig()
Configures logging requests and responses, to the model. (This can be changed once a model is in serving.)
.tensorflow.serving.LoggingConfig logging_config = 6;hasLoggingConfig in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic LoggingConfigOuterClass.LoggingConfig getLoggingConfig()
Configures logging requests and responses, to the model. (This can be changed once a model is in serving.)
.tensorflow.serving.LoggingConfig logging_config = 6;getLoggingConfig in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic ModelServerConfigOuterClass.ModelConfig.Builder setLoggingConfig(LoggingConfigOuterClass.LoggingConfig value)
Configures logging requests and responses, to the model. (This can be changed once a model is in serving.)
.tensorflow.serving.LoggingConfig logging_config = 6;public ModelServerConfigOuterClass.ModelConfig.Builder setLoggingConfig(LoggingConfigOuterClass.LoggingConfig.Builder builderForValue)
Configures logging requests and responses, to the model. (This can be changed once a model is in serving.)
.tensorflow.serving.LoggingConfig logging_config = 6;public ModelServerConfigOuterClass.ModelConfig.Builder mergeLoggingConfig(LoggingConfigOuterClass.LoggingConfig value)
Configures logging requests and responses, to the model. (This can be changed once a model is in serving.)
.tensorflow.serving.LoggingConfig logging_config = 6;public ModelServerConfigOuterClass.ModelConfig.Builder clearLoggingConfig()
Configures logging requests and responses, to the model. (This can be changed once a model is in serving.)
.tensorflow.serving.LoggingConfig logging_config = 6;public LoggingConfigOuterClass.LoggingConfig.Builder getLoggingConfigBuilder()
Configures logging requests and responses, to the model. (This can be changed once a model is in serving.)
.tensorflow.serving.LoggingConfig logging_config = 6;public LoggingConfigOuterClass.LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Configures logging requests and responses, to the model. (This can be changed once a model is in serving.)
.tensorflow.serving.LoggingConfig logging_config = 6;getLoggingConfigOrBuilder in interface ModelServerConfigOuterClass.ModelConfigOrBuilderpublic final ModelServerConfigOuterClass.ModelConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>public final ModelServerConfigOuterClass.ModelConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>