Package inference

Interface ModelConfigOuterClass.ModelVersionPolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ModelConfigOuterClass.ModelVersionPolicy, ModelConfigOuterClass.ModelVersionPolicy.Builder
Enclosing class:
ModelConfigOuterClass

public static interface ModelConfigOuterClass.ModelVersionPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasLatest

      boolean hasLatest()
      @@    .. cpp:var:: Latest latest
      @@
      @@       Serve only latest version(s) of the model.
      @@
       
      .inference.ModelVersionPolicy.Latest latest = 1;
      Returns:
      Whether the latest field is set.
    • getLatest

      @@    .. cpp:var:: Latest latest
      @@
      @@       Serve only latest version(s) of the model.
      @@
       
      .inference.ModelVersionPolicy.Latest latest = 1;
      Returns:
      The latest.
    • getLatestOrBuilder

      @@    .. cpp:var:: Latest latest
      @@
      @@       Serve only latest version(s) of the model.
      @@
       
      .inference.ModelVersionPolicy.Latest latest = 1;
    • hasAll

      boolean hasAll()
      @@    .. cpp:var:: All all
      @@
      @@       Serve all versions of the model.
      @@
       
      .inference.ModelVersionPolicy.All all = 2;
      Returns:
      Whether the all field is set.
    • getAll

      @@    .. cpp:var:: All all
      @@
      @@       Serve all versions of the model.
      @@
       
      .inference.ModelVersionPolicy.All all = 2;
      Returns:
      The all.
    • getAllOrBuilder

      @@    .. cpp:var:: All all
      @@
      @@       Serve all versions of the model.
      @@
       
      .inference.ModelVersionPolicy.All all = 2;
    • hasSpecific

      boolean hasSpecific()
      @@    .. cpp:var:: Specific specific
      @@
      @@       Serve only specific version(s) of the model.
      @@
       
      .inference.ModelVersionPolicy.Specific specific = 3;
      Returns:
      Whether the specific field is set.
    • getSpecific

      @@    .. cpp:var:: Specific specific
      @@
      @@       Serve only specific version(s) of the model.
      @@
       
      .inference.ModelVersionPolicy.Specific specific = 3;
      Returns:
      The specific.
    • getSpecificOrBuilder

      @@    .. cpp:var:: Specific specific
      @@
      @@       Serve only specific version(s) of the model.
      @@
       
      .inference.ModelVersionPolicy.Specific specific = 3;
    • getPolicyChoiceCase