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

namespace Google\Cloud\Dataform\V1beta1;

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

/**
 * `ReadFile` response message.
 *
 * Generated from protobuf message <code>google.cloud.dataform.v1beta1.ReadFileResponse</code>
 */
class ReadFileResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The file's contents.
     *
     * Generated from protobuf field <code>bytes file_contents = 1;</code>
     */
    private $file_contents = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $file_contents
     *           The file's contents.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataform\V1Beta1\Dataform::initOnce();
        parent::__construct($data);
    }

    /**
     * The file's contents.
     *
     * Generated from protobuf field <code>bytes file_contents = 1;</code>
     * @return string
     */
    public function getFileContents()
    {
        return $this->file_contents;
    }

    /**
     * The file's contents.
     *
     * Generated from protobuf field <code>bytes file_contents = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setFileContents($var)
    {
        GPBUtil::checkString($var, False);
        $this->file_contents = $var;

        return $this;
    }

}

