Interface Model.ModelSpecOrBuilder

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

public static interface Model.ModelSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required servable name.
    com.google.protobuf.ByteString
    Required servable name.
    A named signature to evaluate.
    com.google.protobuf.ByteString
    A named signature to evaluate.
    Use this specific version number.
     
    Use the version associated with the given label.
    com.google.protobuf.ByteString
    Use the version associated with the given label.
    Use this specific version number.
    boolean
    Use this specific version number.
    boolean
    Use the version associated with the given label.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Required servable name.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required servable name.
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasVersion

      boolean hasVersion()
       Use this specific version number.
       
      .google.protobuf.Int64Value version = 2;
      Returns:
      Whether the version field is set.
    • getVersion

      Int64Value getVersion()
       Use this specific version number.
       
      .google.protobuf.Int64Value version = 2;
      Returns:
      The version.
    • getVersionOrBuilder

      Int64ValueOrBuilder getVersionOrBuilder()
       Use this specific version number.
       
      .google.protobuf.Int64Value version = 2;
    • hasVersionLabel

      boolean hasVersionLabel()
       Use the version associated with the given label.
       
      string version_label = 4;
      Returns:
      Whether the versionLabel field is set.
    • getVersionLabel

      String getVersionLabel()
       Use the version associated with the given label.
       
      string version_label = 4;
      Returns:
      The versionLabel.
    • getVersionLabelBytes

      com.google.protobuf.ByteString getVersionLabelBytes()
       Use the version associated with the given label.
       
      string version_label = 4;
      Returns:
      The bytes for versionLabel.
    • getSignatureName

      String getSignatureName()
       A named signature to evaluate. If unspecified, the default signature will
       be used.
       
      string signature_name = 3;
      Returns:
      The signatureName.
    • getSignatureNameBytes

      com.google.protobuf.ByteString getSignatureNameBytes()
       A named signature to evaluate. If unspecified, the default signature will
       be used.
       
      string signature_name = 3;
      Returns:
      The bytes for signatureName.
    • getVersionChoiceCase

      Model.ModelSpec.VersionChoiceCase getVersionChoiceCase()