// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/ml/v1beta1/model_service.proto

package com.google.cloud.ml.api.v1beta1;

public interface ModelOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.ml.v1beta1.Model)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Required. The name specified for the model when it was created.
   * The model name must be unique within the project it is created in.
   * </pre>
   *
   * <code>optional string name = 1;</code>
   */
  java.lang.String getName();
  /**
   * <pre>
   * Required. The name specified for the model when it was created.
   * The model name must be unique within the project it is created in.
   * </pre>
   *
   * <code>optional string name = 1;</code>
   */
  com.google.protobuf.ByteString
      getNameBytes();

  /**
   * <pre>
   * Optional. The description specified for the model when it was created.
   * </pre>
   *
   * <code>optional string description = 2;</code>
   */
  java.lang.String getDescription();
  /**
   * <pre>
   * Optional. The description specified for the model when it was created.
   * </pre>
   *
   * <code>optional string description = 2;</code>
   */
  com.google.protobuf.ByteString
      getDescriptionBytes();

  /**
   * <pre>
   * Output only. The default version of the model. This version will be used to
   * handle prediction requests that do not specify a version.
   * You can change the default version by calling
   * [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
   * </pre>
   *
   * <code>optional .google.cloud.ml.v1beta1.Version default_version = 3;</code>
   */
  boolean hasDefaultVersion();
  /**
   * <pre>
   * Output only. The default version of the model. This version will be used to
   * handle prediction requests that do not specify a version.
   * You can change the default version by calling
   * [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
   * </pre>
   *
   * <code>optional .google.cloud.ml.v1beta1.Version default_version = 3;</code>
   */
  com.google.cloud.ml.api.v1beta1.Version getDefaultVersion();
  /**
   * <pre>
   * Output only. The default version of the model. This version will be used to
   * handle prediction requests that do not specify a version.
   * You can change the default version by calling
   * [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
   * </pre>
   *
   * <code>optional .google.cloud.ml.v1beta1.Version default_version = 3;</code>
   */
  com.google.cloud.ml.api.v1beta1.VersionOrBuilder getDefaultVersionOrBuilder();
}
