<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/parallelstore/v1beta/parallelstore.proto

namespace Google\Cloud\Parallelstore\V1beta;

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

/**
 * ExportDataMetadata contains export data operation metadata
 *
 * Generated from protobuf message <code>google.cloud.parallelstore.v1beta.ExportDataMetadata</code>
 */
class ExportDataMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * Contains the data transfer operation metadata.
     *
     * Generated from protobuf field <code>.google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1;</code>
     */
    protected $operation_metadata = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Parallelstore\V1beta\TransferOperationMetadata $operation_metadata
     *           Contains the data transfer operation metadata.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Parallelstore\V1Beta\Parallelstore::initOnce();
        parent::__construct($data);
    }

    /**
     * Contains the data transfer operation metadata.
     *
     * Generated from protobuf field <code>.google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1;</code>
     * @return \Google\Cloud\Parallelstore\V1beta\TransferOperationMetadata|null
     */
    public function getOperationMetadata()
    {
        return $this->operation_metadata;
    }

    public function hasOperationMetadata()
    {
        return isset($this->operation_metadata);
    }

    public function clearOperationMetadata()
    {
        unset($this->operation_metadata);
    }

    /**
     * Contains the data transfer operation metadata.
     *
     * Generated from protobuf field <code>.google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1;</code>
     * @param \Google\Cloud\Parallelstore\V1beta\TransferOperationMetadata $var
     * @return $this
     */
    public function setOperationMetadata($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Parallelstore\V1beta\TransferOperationMetadata::class);
        $this->operation_metadata = $var;

        return $this;
    }

}

