ok

Mini Shell

Direktori : /home2/selectio/www/fms-worksuite/vendor/google/cloud-translate/src/V3/
Upload File :
Current File : /home2/selectio/www/fms-worksuite/vendor/google/cloud-translate/src/V3/GcsSource.php

<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/translate/v3/translation_service.proto

namespace Google\Cloud\Translate\V3;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * The Google Cloud Storage location for the input content.
 *
 * Generated from protobuf message <code>google.cloud.translation.v3.GcsSource</code>
 */
class GcsSource extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. Source data URI. For example, `gs://my_bucket/my_object`.
     *
     * Generated from protobuf field <code>string input_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $input_uri = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $input_uri
     *           Required. Source data URI. For example, `gs://my_bucket/my_object`.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Translate\V3\TranslationService::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. Source data URI. For example, `gs://my_bucket/my_object`.
     *
     * Generated from protobuf field <code>string input_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getInputUri()
    {
        return $this->input_uri;
    }

    /**
     * Required. Source data URI. For example, `gs://my_bucket/my_object`.
     *
     * Generated from protobuf field <code>string input_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setInputUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->input_uri = $var;

        return $this;
    }

}


Zerion Mini Shell 1.0