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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Required servable name.
      com.google.protobuf.ByteString getNameBytes()
      Required servable name.
      java.lang.String getSignatureName()
      A named signature to evaluate.
      com.google.protobuf.ByteString getSignatureNameBytes()
      A named signature to evaluate.
      com.google.protobuf.Int64Value getVersion()
      Use this specific version number.
      Model.ModelSpec.VersionChoiceCase getVersionChoiceCase()  
      java.lang.String getVersionLabel()
      Use the version associated with the given label.
      com.google.protobuf.ByteString getVersionLabelBytes()
      Use the version associated with the given label.
      com.google.protobuf.Int64ValueOrBuilder getVersionOrBuilder()
      Use this specific version number.
      boolean hasVersion()
      Use this specific version number.
      • 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 Detail

      • getName

        java.lang.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

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

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

        java.lang.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

        java.lang.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.