<?php

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/longrunning/operations.proto
namespace SEOPressPro\Vendor\Google\LongRunning;

use SEOPressPro\Vendor\Google\Protobuf\Internal\GPBType;
use SEOPressPro\Vendor\Google\Protobuf\Internal\GPBUtil;
use SEOPressPro\Vendor\Google\Protobuf\RepeatedField;
/**
 * A message representing the message types used by a long-running operation.
 * Example:
 *     rpc Export(ExportRequest) returns (google.longrunning.Operation) {
 *       option (google.longrunning.operation_info) = {
 *         response_type: "ExportResponse"
 *         metadata_type: "ExportMetadata"
 *       };
 *     }
 *
 * Generated from protobuf message <code>google.longrunning.OperationInfo</code>
 */
class OperationInfo extends \SEOPressPro\Vendor\Google\Protobuf\Internal\Message
{
    /**
     * Required. The message name of the primary return type for this
     * long-running operation.
     * This type will be used to deserialize the LRO's response.
     * If the response is in a different package from the rpc, a fully-qualified
     * message name must be used (e.g. `google.protobuf.Struct`).
     * Note: Altering this value constitutes a breaking change.
     *
     * Generated from protobuf field <code>string response_type = 1;</code>
     */
    private $response_type = '';
    /**
     * Required. The message name of the metadata type for this long-running
     * operation.
     * If the response is in a different package from the rpc, a fully-qualified
     * message name must be used (e.g. `google.protobuf.Struct`).
     * Note: Altering this value constitutes a breaking change.
     *
     * Generated from protobuf field <code>string metadata_type = 2;</code>
     */
    private $metadata_type = '';
    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $response_type
     *           Required. The message name of the primary return type for this
     *           long-running operation.
     *           This type will be used to deserialize the LRO's response.
     *           If the response is in a different package from the rpc, a fully-qualified
     *           message name must be used (e.g. `google.protobuf.Struct`).
     *           Note: Altering this value constitutes a breaking change.
     *     @type string $metadata_type
     *           Required. The message name of the metadata type for this long-running
     *           operation.
     *           If the response is in a different package from the rpc, a fully-qualified
     *           message name must be used (e.g. `google.protobuf.Struct`).
     *           Note: Altering this value constitutes a breaking change.
     * }
     */
    public function __construct($data = NULL)
    {
        \SEOPressPro\Vendor\GPBMetadata\Google\Longrunning\Operations::initOnce();
        parent::__construct($data);
    }
    /**
     * Required. The message name of the primary return type for this
     * long-running operation.
     * This type will be used to deserialize the LRO's response.
     * If the response is in a different package from the rpc, a fully-qualified
     * message name must be used (e.g. `google.protobuf.Struct`).
     * Note: Altering this value constitutes a breaking change.
     *
     * Generated from protobuf field <code>string response_type = 1;</code>
     * @return string
     */
    public function getResponseType()
    {
        return $this->response_type;
    }
    /**
     * Required. The message name of the primary return type for this
     * long-running operation.
     * This type will be used to deserialize the LRO's response.
     * If the response is in a different package from the rpc, a fully-qualified
     * message name must be used (e.g. `google.protobuf.Struct`).
     * Note: Altering this value constitutes a breaking change.
     *
     * Generated from protobuf field <code>string response_type = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setResponseType($var)
    {
        GPBUtil::checkString($var, True);
        $this->response_type = $var;
        return $this;
    }
    /**
     * Required. The message name of the metadata type for this long-running
     * operation.
     * If the response is in a different package from the rpc, a fully-qualified
     * message name must be used (e.g. `google.protobuf.Struct`).
     * Note: Altering this value constitutes a breaking change.
     *
     * Generated from protobuf field <code>string metadata_type = 2;</code>
     * @return string
     */
    public function getMetadataType()
    {
        return $this->metadata_type;
    }
    /**
     * Required. The message name of the metadata type for this long-running
     * operation.
     * If the response is in a different package from the rpc, a fully-qualified
     * message name must be used (e.g. `google.protobuf.Struct`).
     * Note: Altering this value constitutes a breaking change.
     *
     * Generated from protobuf field <code>string metadata_type = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setMetadataType($var)
    {
        GPBUtil::checkString($var, True);
        $this->metadata_type = $var;
        return $this;
    }
}
