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/AdaptiveMtFile.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/translate/v3/adaptive_mt.proto namespace Google\Cloud\Translate\V3; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * An AdaptiveMtFile. * * Generated from protobuf message <code>google.cloud.translation.v3.AdaptiveMtFile</code> */ class AdaptiveMtFile extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the file, in form of * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` * * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> */ private $name = ''; /** * The file's display name. * * Generated from protobuf field <code>string display_name = 2;</code> */ private $display_name = ''; /** * The number of entries that the file contains. * * Generated from protobuf field <code>int32 entry_count = 3;</code> */ private $entry_count = 0; /** * Output only. Timestamp when this file was created. * * Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> */ private $create_time = null; /** * Output only. Timestamp when this file was last updated. * * Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> */ private $update_time = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * Required. The resource name of the file, in form of * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` * @type string $display_name * The file's display name. * @type int $entry_count * The number of entries that the file contains. * @type \Google\Protobuf\Timestamp $create_time * Output only. Timestamp when this file was created. * @type \Google\Protobuf\Timestamp $update_time * Output only. Timestamp when this file was last updated. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Translate\V3\AdaptiveMt::initOnce(); parent::__construct($data); } /** * Required. The resource name of the file, in form of * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` * * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> * @return string */ public function getName() { return $this->name; } /** * Required. The resource name of the file, in form of * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` * * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * The file's display name. * * Generated from protobuf field <code>string display_name = 2;</code> * @return string */ public function getDisplayName() { return $this->display_name; } /** * The file's display name. * * Generated from protobuf field <code>string display_name = 2;</code> * @param string $var * @return $this */ public function setDisplayName($var) { GPBUtil::checkString($var, True); $this->display_name = $var; return $this; } /** * The number of entries that the file contains. * * Generated from protobuf field <code>int32 entry_count = 3;</code> * @return int */ public function getEntryCount() { return $this->entry_count; } /** * The number of entries that the file contains. * * Generated from protobuf field <code>int32 entry_count = 3;</code> * @param int $var * @return $this */ public function setEntryCount($var) { GPBUtil::checkInt32($var); $this->entry_count = $var; return $this; } /** * Output only. Timestamp when this file was created. * * Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> * @return \Google\Protobuf\Timestamp|null */ public function getCreateTime() { return $this->create_time; } public function hasCreateTime() { return isset($this->create_time); } public function clearCreateTime() { unset($this->create_time); } /** * Output only. Timestamp when this file was created. * * Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; } /** * Output only. Timestamp when this file was last updated. * * Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> * @return \Google\Protobuf\Timestamp|null */ public function getUpdateTime() { return $this->update_time; } public function hasUpdateTime() { return isset($this->update_time); } public function clearUpdateTime() { unset($this->update_time); } /** * Output only. Timestamp when this file was last updated. * * Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setUpdateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->update_time = $var; return $this; } }
Copyright ©2021 || Defacer Indonesia