whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
google
/
cloud-translate
/
src
/
V3
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/google/cloud-translate/src/V3/DatasetOutputConfig.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/translate/v3/automl_translation.proto namespace Google\Cloud\Translate\V3; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Output configuration for datasets. * * Generated from protobuf message <code>google.cloud.translation.v3.DatasetOutputConfig</code> */ class DatasetOutputConfig extends \Google\Protobuf\Internal\Message { protected $destination; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Google\Cloud\Translate\V3\GcsOutputDestination $gcs_destination * Google Cloud Storage destination to write the output. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Translate\V3\AutomlTranslation::initOnce(); parent::__construct($data); } /** * Google Cloud Storage destination to write the output. * * Generated from protobuf field <code>.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;</code> * @return \Google\Cloud\Translate\V3\GcsOutputDestination|null */ public function getGcsDestination() { return $this->readOneof(1); } public function hasGcsDestination() { return $this->hasOneof(1); } /** * Google Cloud Storage destination to write the output. * * Generated from protobuf field <code>.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;</code> * @param \Google\Cloud\Translate\V3\GcsOutputDestination $var * @return $this */ public function setGcsDestination($var) { GPBUtil::checkMessage($var, \Google\Cloud\Translate\V3\GcsOutputDestination::class); $this->writeOneof(1, $var); return $this; } /** * @return string */ public function getDestination() { return $this->whichOneof("destination"); } }
Copyright ©2021 || Defacer Indonesia