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

class StorageDescriptor extends \Google\Model
{
  /**
   * Optional. Specifies the fully qualified class name of the InputFormat (e.g.
   * "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is
   * 128 characters.
   *
   * @var string
   */
  public $inputFormat;
  /**
   * Optional. The physical location of the table (e.g. `gs://spark-dataproc-
   * data/pangea-data/case_sensitive/` or `gs://spark-dataproc-data/pangea-
   * data`). The maximum length is 2056 bytes.
   *
   * @var string
   */
  public $locationUri;
  /**
   * Optional. Specifies the fully qualified class name of the OutputFormat
   * (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum
   * length is 128 characters.
   *
   * @var string
   */
  public $outputFormat;
  protected $serdeInfoType = SerDeInfo::class;
  protected $serdeInfoDataType = '';

  /**
   * Optional. Specifies the fully qualified class name of the InputFormat (e.g.
   * "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is
   * 128 characters.
   *
   * @param string $inputFormat
   */
  public function setInputFormat($inputFormat)
  {
    $this->inputFormat = $inputFormat;
  }
  /**
   * @return string
   */
  public function getInputFormat()
  {
    return $this->inputFormat;
  }
  /**
   * Optional. The physical location of the table (e.g. `gs://spark-dataproc-
   * data/pangea-data/case_sensitive/` or `gs://spark-dataproc-data/pangea-
   * data`). The maximum length is 2056 bytes.
   *
   * @param string $locationUri
   */
  public function setLocationUri($locationUri)
  {
    $this->locationUri = $locationUri;
  }
  /**
   * @return string
   */
  public function getLocationUri()
  {
    return $this->locationUri;
  }
  /**
   * Optional. Specifies the fully qualified class name of the OutputFormat
   * (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum
   * length is 128 characters.
   *
   * @param string $outputFormat
   */
  public function setOutputFormat($outputFormat)
  {
    $this->outputFormat = $outputFormat;
  }
  /**
   * @return string
   */
  public function getOutputFormat()
  {
    return $this->outputFormat;
  }
  /**
   * Optional. Serializer and deserializer information.
   *
   * @param SerDeInfo $serdeInfo
   */
  public function setSerdeInfo(SerDeInfo $serdeInfo)
  {
    $this->serdeInfo = $serdeInfo;
  }
  /**
   * @return SerDeInfo
   */
  public function getSerdeInfo()
  {
    return $this->serdeInfo;
  }
}

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