/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.aiplatform.v1.model;

/**
 * Contains model information necessary to perform batch prediction without requiring a full model
 * import.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class GoogleCloudAiplatformV1UnmanagedContainerModel extends com.google.api.client.json.GenericJson {

  /**
   * The path to the directory containing the Model artifact and any of its supporting files.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String artifactUri;

  /**
   * Input only. The specification of the container that is to be used when deploying this Model.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudAiplatformV1ModelContainerSpec containerSpec;

  /**
   * Contains the schemata used in Model's predictions and explanations
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudAiplatformV1PredictSchemata predictSchemata;

  /**
   * The path to the directory containing the Model artifact and any of its supporting files.
   * @return value or {@code null} for none
   */
  public java.lang.String getArtifactUri() {
    return artifactUri;
  }

  /**
   * The path to the directory containing the Model artifact and any of its supporting files.
   * @param artifactUri artifactUri or {@code null} for none
   */
  public GoogleCloudAiplatformV1UnmanagedContainerModel setArtifactUri(java.lang.String artifactUri) {
    this.artifactUri = artifactUri;
    return this;
  }

  /**
   * Input only. The specification of the container that is to be used when deploying this Model.
   * @return value or {@code null} for none
   */
  public GoogleCloudAiplatformV1ModelContainerSpec getContainerSpec() {
    return containerSpec;
  }

  /**
   * Input only. The specification of the container that is to be used when deploying this Model.
   * @param containerSpec containerSpec or {@code null} for none
   */
  public GoogleCloudAiplatformV1UnmanagedContainerModel setContainerSpec(GoogleCloudAiplatformV1ModelContainerSpec containerSpec) {
    this.containerSpec = containerSpec;
    return this;
  }

  /**
   * Contains the schemata used in Model's predictions and explanations
   * @return value or {@code null} for none
   */
  public GoogleCloudAiplatformV1PredictSchemata getPredictSchemata() {
    return predictSchemata;
  }

  /**
   * Contains the schemata used in Model's predictions and explanations
   * @param predictSchemata predictSchemata or {@code null} for none
   */
  public GoogleCloudAiplatformV1UnmanagedContainerModel setPredictSchemata(GoogleCloudAiplatformV1PredictSchemata predictSchemata) {
    this.predictSchemata = predictSchemata;
    return this;
  }

  @Override
  public GoogleCloudAiplatformV1UnmanagedContainerModel set(String fieldName, Object value) {
    return (GoogleCloudAiplatformV1UnmanagedContainerModel) super.set(fieldName, value);
  }

  @Override
  public GoogleCloudAiplatformV1UnmanagedContainerModel clone() {
    return (GoogleCloudAiplatformV1UnmanagedContainerModel) super.clone();
  }

}
