Class ModelServerConfigOuterClass.ModelConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
tensorflow.serving.ModelServerConfigOuterClass.ModelConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ModelServerConfigOuterClass.ModelConfigOrBuilder
Enclosing class:
ModelServerConfigOuterClass.ModelConfig

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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • getDefaultInstanceForType

      public ModelServerConfigOuterClass.ModelConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • setField

      public ModelServerConfigOuterClass.ModelConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • clearField

      public ModelServerConfigOuterClass.ModelConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • clearOneof

      public ModelServerConfigOuterClass.ModelConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • setRepeatedField

      public ModelServerConfigOuterClass.ModelConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • addRepeatedField

      public ModelServerConfigOuterClass.ModelConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • mergeFrom

      public ModelServerConfigOuterClass.ModelConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • mergeFrom

      public ModelServerConfigOuterClass.ModelConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Name of the model.
       
      string name = 1;
      Specified by:
      getName in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the model.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

       Name of the model.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Name of the model.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ModelServerConfigOuterClass.ModelConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the model.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getBasePath

      public 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;
      Specified by:
      getBasePath in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The basePath.
    • getBasePathBytes

      public 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;
      Specified by:
      getBasePathBytes in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The bytes for basePath.
    • setBasePath

       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;
      Parameters:
      value - The basePath to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setBasePathBytes

      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;
      Parameters:
      value - The bytes for basePath to set.
      Returns:
      This builder for chaining.
    • getModelTypeValue

      @Deprecated public int getModelTypeValue()
      Deprecated.
      tensorflow.serving.ModelConfig.model_type is deprecated. See tensorflow_serving/config/model_server_config.proto;l=50
       Type of model.
       TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
       
      .tensorflow.serving.ModelType model_type = 3 [deprecated = true];
      Specified by:
      getModelTypeValue in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The enum numeric value on the wire for modelType.
    • setModelTypeValue

      @Deprecated public ModelServerConfigOuterClass.ModelConfig.Builder setModelTypeValue(int value)
      Deprecated.
      tensorflow.serving.ModelConfig.model_type is deprecated. See tensorflow_serving/config/model_server_config.proto;l=50
       Type of model.
       TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
       
      .tensorflow.serving.ModelType model_type = 3 [deprecated = true];
      Parameters:
      value - The enum numeric value on the wire for modelType to set.
      Returns:
      This builder for chaining.
    • getModelType

      Deprecated.
      tensorflow.serving.ModelConfig.model_type is deprecated. See tensorflow_serving/config/model_server_config.proto;l=50
       Type of model.
       TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
       
      .tensorflow.serving.ModelType model_type = 3 [deprecated = true];
      Specified by:
      getModelType in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The modelType.
    • setModelType

      Deprecated.
      tensorflow.serving.ModelConfig.model_type is deprecated. See tensorflow_serving/config/model_server_config.proto;l=50
       Type of model.
       TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
       
      .tensorflow.serving.ModelType model_type = 3 [deprecated = true];
      Parameters:
      value - The modelType to set.
      Returns:
      This builder for chaining.
    • clearModelType

      Deprecated.
      tensorflow.serving.ModelConfig.model_type is deprecated. See tensorflow_serving/config/model_server_config.proto;l=50
       Type of model.
       TODO(b/31336131): DEPRECATED. Please use 'model_platform' instead.
       
      .tensorflow.serving.ModelType model_type = 3 [deprecated = true];
      Returns:
      This builder for chaining.
    • getModelPlatform

      public String getModelPlatform()
       Type of model (e.g. "tensorflow").
      
       (This cannot be changed once a model is in serving.)
       
      string model_platform = 4;
      Specified by:
      getModelPlatform in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The modelPlatform.
    • getModelPlatformBytes

      public 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;
      Specified by:
      getModelPlatformBytes in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The bytes for modelPlatform.
    • setModelPlatform

       Type of model (e.g. "tensorflow").
      
       (This cannot be changed once a model is in serving.)
       
      string model_platform = 4;
      Parameters:
      value - The modelPlatform to set.
      Returns:
      This builder for chaining.
    • clearModelPlatform

       Type of model (e.g. "tensorflow").
      
       (This cannot be changed once a model is in serving.)
       
      string model_platform = 4;
      Returns:
      This builder for chaining.
    • setModelPlatformBytes

      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;
      Parameters:
      value - The bytes for modelPlatform to set.
      Returns:
      This builder for chaining.
    • hasModelVersionPolicy

      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;
      Specified by:
      hasModelVersionPolicy in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      Whether the modelVersionPolicy field is set.
    • 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;
      Specified by:
      getModelVersionPolicy in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The modelVersionPolicy.
    • setModelVersionPolicy

       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;
    • setModelVersionPolicy

       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;
    • mergeModelVersionPolicy

       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;
    • clearModelVersionPolicy

      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;
    • 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;
    • 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;
      Specified by:
      getModelVersionPolicyOrBuilder in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
    • getVersionLabelsCount

      public int getVersionLabelsCount()
      Description copied from interface: ModelServerConfigOuterClass.ModelConfigOrBuilder
       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;
      Specified by:
      getVersionLabelsCount in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
    • containsVersionLabels

      public boolean containsVersionLabels(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;
      Specified by:
      containsVersionLabels in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
    • getVersionLabels

      @Deprecated public Map<String,Long> getVersionLabels()
      Deprecated.
      Specified by:
      getVersionLabels in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
    • getVersionLabelsMap

      public Map<String,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;
      Specified by:
      getVersionLabelsMap in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
    • getVersionLabelsOrDefault

      public long getVersionLabelsOrDefault(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;
      Specified by:
      getVersionLabelsOrDefault in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
    • getVersionLabelsOrThrow

      public long getVersionLabelsOrThrow(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;
      Specified by:
      getVersionLabelsOrThrow in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
    • clearVersionLabels

    • removeVersionLabels

      public ModelServerConfigOuterClass.ModelConfig.Builder removeVersionLabels(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;
    • getMutableVersionLabels

      @Deprecated public Map<String,Long> getMutableVersionLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putVersionLabels

      public ModelServerConfigOuterClass.ModelConfig.Builder putVersionLabels(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;
    • putAllVersionLabels

      public ModelServerConfigOuterClass.ModelConfig.Builder putAllVersionLabels(Map<String,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;
    • hasLoggingConfig

      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;
      Specified by:
      hasLoggingConfig in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      Whether the loggingConfig field is set.
    • getLoggingConfig

      public 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;
      Specified by:
      getLoggingConfig in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
      Returns:
      The loggingConfig.
    • setLoggingConfig

       Configures logging requests and responses, to the model.
      
       (This can be changed once a model is in serving.)
       
      .tensorflow.serving.LoggingConfig logging_config = 6;
    • setLoggingConfig

       Configures logging requests and responses, to the model.
      
       (This can be changed once a model is in serving.)
       
      .tensorflow.serving.LoggingConfig logging_config = 6;
    • mergeLoggingConfig

       Configures logging requests and responses, to the model.
      
       (This can be changed once a model is in serving.)
       
      .tensorflow.serving.LoggingConfig logging_config = 6;
    • 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;
    • getLoggingConfigBuilder

      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;
    • getLoggingConfigOrBuilder

      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;
      Specified by:
      getLoggingConfigOrBuilder in interface ModelServerConfigOuterClass.ModelConfigOrBuilder
    • setUnknownFields

      public final ModelServerConfigOuterClass.ModelConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>
    • mergeUnknownFields

      public final ModelServerConfigOuterClass.ModelConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelServerConfigOuterClass.ModelConfig.Builder>