<?php
/*
 * Copyright 2014 Google Inc.
 *
 * 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.
 */

namespace Google\Service\Aiplatform;

class GoogleCloudAiplatformV1ImageResponseFormat extends \Google\Model
{
  /**
   * Default value. This value is unused.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_UNSPECIFIED = 'ASPECT_RATIO_UNSPECIFIED';
  /**
   * 1:1 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_ONE_BY_ONE = 'ASPECT_RATIO_ONE_BY_ONE';
  /**
   * 2:3 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_TWO_BY_THREE = 'ASPECT_RATIO_TWO_BY_THREE';
  /**
   * 3:2 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_THREE_BY_TWO = 'ASPECT_RATIO_THREE_BY_TWO';
  /**
   * 3:4 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_THREE_BY_FOUR = 'ASPECT_RATIO_THREE_BY_FOUR';
  /**
   * 4:3 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_FOUR_BY_THREE = 'ASPECT_RATIO_FOUR_BY_THREE';
  /**
   * 4:5 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_FOUR_BY_FIVE = 'ASPECT_RATIO_FOUR_BY_FIVE';
  /**
   * 5:4 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_FIVE_BY_FOUR = 'ASPECT_RATIO_FIVE_BY_FOUR';
  /**
   * 9:16 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_NINE_BY_SIXTEEN = 'ASPECT_RATIO_NINE_BY_SIXTEEN';
  /**
   * 16:9 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_SIXTEEN_BY_NINE = 'ASPECT_RATIO_SIXTEEN_BY_NINE';
  /**
   * 21:9 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_TWENTY_ONE_BY_NINE = 'ASPECT_RATIO_TWENTY_ONE_BY_NINE';
  /**
   * 1:8 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_ONE_BY_EIGHT = 'ASPECT_RATIO_ONE_BY_EIGHT';
  /**
   * 8:1 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_EIGHT_BY_ONE = 'ASPECT_RATIO_EIGHT_BY_ONE';
  /**
   * 1:4 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_ONE_BY_FOUR = 'ASPECT_RATIO_ONE_BY_FOUR';
  /**
   * 4:1 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_FOUR_BY_ONE = 'ASPECT_RATIO_FOUR_BY_ONE';
  /**
   * Default value. This value is unused.
   */
  public const DELIVERY_DELIVERY_UNSPECIFIED = 'DELIVERY_UNSPECIFIED';
  /**
   * Generated bytes are returned inline in the response.
   */
  public const DELIVERY_INLINE = 'INLINE';
  /**
   * Generated content is stored and a URI is returned.
   */
  public const DELIVERY_URI = 'URI';
  /**
   * Default value. This value is unused.
   */
  public const IMAGE_SIZE_IMAGE_SIZE_UNSPECIFIED = 'IMAGE_SIZE_UNSPECIFIED';
  /**
   * 512px image size.
   */
  public const IMAGE_SIZE_IMAGE_SIZE_FIVE_TWELVE = 'IMAGE_SIZE_FIVE_TWELVE';
  /**
   * 1K image size.
   */
  public const IMAGE_SIZE_IMAGE_SIZE_ONE_K = 'IMAGE_SIZE_ONE_K';
  /**
   * 2K image size.
   */
  public const IMAGE_SIZE_IMAGE_SIZE_TWO_K = 'IMAGE_SIZE_TWO_K';
  /**
   * 4K image size.
   */
  public const IMAGE_SIZE_IMAGE_SIZE_FOUR_K = 'IMAGE_SIZE_FOUR_K';
  /**
   * Default value. This value is unused.
   */
  public const MIME_TYPE_MIME_TYPE_UNSPECIFIED = 'MIME_TYPE_UNSPECIFIED';
  /**
   * JPEG image format.
   */
  public const MIME_TYPE_IMAGE_JPEG = 'IMAGE_JPEG';
  /**
   * Optional. The aspect ratio for the image output.
   *
   * @var string
   */
  public $aspectRatio;
  /**
   * Optional. Delivery mode for the generated content.
   *
   * @var string
   */
  public $delivery;
  /**
   * Optional. The size of the image output.
   *
   * @var string
   */
  public $imageSize;
  /**
   * Optional. The MIME type of the image output.
   *
   * @var string
   */
  public $mimeType;

  /**
   * Optional. The aspect ratio for the image output.
   *
   * Accepted values: ASPECT_RATIO_UNSPECIFIED, ASPECT_RATIO_ONE_BY_ONE,
   * ASPECT_RATIO_TWO_BY_THREE, ASPECT_RATIO_THREE_BY_TWO,
   * ASPECT_RATIO_THREE_BY_FOUR, ASPECT_RATIO_FOUR_BY_THREE,
   * ASPECT_RATIO_FOUR_BY_FIVE, ASPECT_RATIO_FIVE_BY_FOUR,
   * ASPECT_RATIO_NINE_BY_SIXTEEN, ASPECT_RATIO_SIXTEEN_BY_NINE,
   * ASPECT_RATIO_TWENTY_ONE_BY_NINE, ASPECT_RATIO_ONE_BY_EIGHT,
   * ASPECT_RATIO_EIGHT_BY_ONE, ASPECT_RATIO_ONE_BY_FOUR,
   * ASPECT_RATIO_FOUR_BY_ONE
   *
   * @param self::ASPECT_RATIO_* $aspectRatio
   */
  public function setAspectRatio($aspectRatio)
  {
    $this->aspectRatio = $aspectRatio;
  }
  /**
   * @return self::ASPECT_RATIO_*
   */
  public function getAspectRatio()
  {
    return $this->aspectRatio;
  }
  /**
   * Optional. Delivery mode for the generated content.
   *
   * Accepted values: DELIVERY_UNSPECIFIED, INLINE, URI
   *
   * @param self::DELIVERY_* $delivery
   */
  public function setDelivery($delivery)
  {
    $this->delivery = $delivery;
  }
  /**
   * @return self::DELIVERY_*
   */
  public function getDelivery()
  {
    return $this->delivery;
  }
  /**
   * Optional. The size of the image output.
   *
   * Accepted values: IMAGE_SIZE_UNSPECIFIED, IMAGE_SIZE_FIVE_TWELVE,
   * IMAGE_SIZE_ONE_K, IMAGE_SIZE_TWO_K, IMAGE_SIZE_FOUR_K
   *
   * @param self::IMAGE_SIZE_* $imageSize
   */
  public function setImageSize($imageSize)
  {
    $this->imageSize = $imageSize;
  }
  /**
   * @return self::IMAGE_SIZE_*
   */
  public function getImageSize()
  {
    return $this->imageSize;
  }
  /**
   * Optional. The MIME type of the image output.
   *
   * Accepted values: MIME_TYPE_UNSPECIFIED, IMAGE_JPEG
   *
   * @param self::MIME_TYPE_* $mimeType
   */
  public function setMimeType($mimeType)
  {
    $this->mimeType = $mimeType;
  }
  /**
   * @return self::MIME_TYPE_*
   */
  public function getMimeType()
  {
    return $this->mimeType;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1ImageResponseFormat::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1ImageResponseFormat');
