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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * Response message for
 * [PredictionService.StreamingRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamingRawPredict].
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.StreamingRawPredictResponse</code>
 */
class StreamingRawPredictResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The prediction output.
     *
     * Generated from protobuf field <code>bytes output = 1;</code>
     */
    private $output = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $output
     *           The prediction output.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce();
        parent::__construct($data);
    }

    /**
     * The prediction output.
     *
     * Generated from protobuf field <code>bytes output = 1;</code>
     * @return string
     */
    public function getOutput()
    {
        return $this->output;
    }

    /**
     * The prediction output.
     *
     * Generated from protobuf field <code>bytes output = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setOutput($var)
    {
        GPBUtil::checkString($var, False);
        $this->output = $var;

        return $this;
    }

}

