JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "GoogleCloudDatalabelingV1beta1Instruction.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/DataLabeling/GoogleCloudDatalabelingV1beta1Instruction.php
File size: 6.17 KB
MIME-type: text/x-php
Charset: utf-8

<?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\DataLabeling;

class GoogleCloudDatalabelingV1beta1Instruction extends \Google\Collection
{
  /**
   * Data type is unspecified.
   */
  public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
  /**
   * Allowed for continuous evaluation.
   */
  public const DATA_TYPE_IMAGE = 'IMAGE';
  /**
   * Video data type.
   */
  public const DATA_TYPE_VIDEO = 'VIDEO';
  /**
   * Allowed for continuous evaluation.
   */
  public const DATA_TYPE_TEXT = 'TEXT';
  /**
   * Allowed for continuous evaluation.
   */
  public const DATA_TYPE_GENERAL_DATA = 'GENERAL_DATA';
  protected $collection_key = 'blockingResources';
  /**
   * Output only. The names of any related resources that are blocking changes
   * to the instruction.
   *
   * @var string[]
   */
  public $blockingResources;
  /**
   * Output only. Creation time of instruction.
   *
   * @var string
   */
  public $createTime;
  protected $csvInstructionType = GoogleCloudDatalabelingV1beta1CsvInstruction::class;
  protected $csvInstructionDataType = '';
  /**
   * Required. The data type of this instruction.
   *
   * @var string
   */
  public $dataType;
  /**
   * Optional. User-provided description of the instruction. The description can
   * be up to 10000 characters long.
   *
   * @var string
   */
  public $description;
  /**
   * Required. The display name of the instruction. Maximum of 64 characters.
   *
   * @var string
   */
  public $displayName;
  /**
   * Output only. Instruction resource name, format:
   * projects/{project_id}/instructions/{instruction_id}
   *
   * @var string
   */
  public $name;
  protected $pdfInstructionType = GoogleCloudDatalabelingV1beta1PdfInstruction::class;
  protected $pdfInstructionDataType = '';
  /**
   * Output only. Last update time of instruction.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Output only. The names of any related resources that are blocking changes
   * to the instruction.
   *
   * @param string[] $blockingResources
   */
  public function setBlockingResources($blockingResources)
  {
    $this->blockingResources = $blockingResources;
  }
  /**
   * @return string[]
   */
  public function getBlockingResources()
  {
    return $this->blockingResources;
  }
  /**
   * Output only. Creation time of instruction.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Deprecated: this instruction format is not supported any more. Instruction
   * from a CSV file, such as for classification task. The CSV file should have
   * exact two columns, in the following format: * The first column is labeled
   * data, such as an image reference, text. * The second column is comma
   * separated labels associated with data.
   *
   * @deprecated
   * @param GoogleCloudDatalabelingV1beta1CsvInstruction $csvInstruction
   */
  public function setCsvInstruction(GoogleCloudDatalabelingV1beta1CsvInstruction $csvInstruction)
  {
    $this->csvInstruction = $csvInstruction;
  }
  /**
   * @deprecated
   * @return GoogleCloudDatalabelingV1beta1CsvInstruction
   */
  public function getCsvInstruction()
  {
    return $this->csvInstruction;
  }
  /**
   * Required. The data type of this instruction.
   *
   * Accepted values: DATA_TYPE_UNSPECIFIED, IMAGE, VIDEO, TEXT, GENERAL_DATA
   *
   * @param self::DATA_TYPE_* $dataType
   */
  public function setDataType($dataType)
  {
    $this->dataType = $dataType;
  }
  /**
   * @return self::DATA_TYPE_*
   */
  public function getDataType()
  {
    return $this->dataType;
  }
  /**
   * Optional. User-provided description of the instruction. The description can
   * be up to 10000 characters long.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Required. The display name of the instruction. Maximum of 64 characters.
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Output only. Instruction resource name, format:
   * projects/{project_id}/instructions/{instruction_id}
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Instruction from a PDF document. The PDF should be in a Cloud Storage
   * bucket.
   *
   * @param GoogleCloudDatalabelingV1beta1PdfInstruction $pdfInstruction
   */
  public function setPdfInstruction(GoogleCloudDatalabelingV1beta1PdfInstruction $pdfInstruction)
  {
    $this->pdfInstruction = $pdfInstruction;
  }
  /**
   * @return GoogleCloudDatalabelingV1beta1PdfInstruction
   */
  public function getPdfInstruction()
  {
    return $this->pdfInstruction;
  }
  /**
   * Output only. Last update time of instruction.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

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