<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/aiplatform/v1/featurestore_online_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
 * [FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues].
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.ReadFeatureValuesResponse</code>
 */
class ReadFeatureValuesResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Response header.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header header = 1;</code>
     */
    protected $header = null;
    /**
     * Entity view with Feature values. This may be the entity in the
     * Featurestore if values for all Features were requested, or a projection
     * of the entity in the Featurestore if values for only some Features were
     * requested.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView entity_view = 2;</code>
     */
    protected $entity_view = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\Header $header
     *           Response header.
     *     @type \Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\EntityView $entity_view
     *           Entity view with Feature values. This may be the entity in the
     *           Featurestore if values for all Features were requested, or a projection
     *           of the entity in the Featurestore if values for only some Features were
     *           requested.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreOnlineService::initOnce();
        parent::__construct($data);
    }

    /**
     * Response header.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header header = 1;</code>
     * @return \Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\Header|null
     */
    public function getHeader()
    {
        return $this->header;
    }

    public function hasHeader()
    {
        return isset($this->header);
    }

    public function clearHeader()
    {
        unset($this->header);
    }

    /**
     * Response header.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header header = 1;</code>
     * @param \Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\Header $var
     * @return $this
     */
    public function setHeader($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\Header::class);
        $this->header = $var;

        return $this;
    }

    /**
     * Entity view with Feature values. This may be the entity in the
     * Featurestore if values for all Features were requested, or a projection
     * of the entity in the Featurestore if values for only some Features were
     * requested.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView entity_view = 2;</code>
     * @return \Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\EntityView|null
     */
    public function getEntityView()
    {
        return $this->entity_view;
    }

    public function hasEntityView()
    {
        return isset($this->entity_view);
    }

    public function clearEntityView()
    {
        unset($this->entity_view);
    }

    /**
     * Entity view with Feature values. This may be the entity in the
     * Featurestore if values for all Features were requested, or a projection
     * of the entity in the Featurestore if values for only some Features were
     * requested.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView entity_view = 2;</code>
     * @param \Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\EntityView $var
     * @return $this
     */
    public function setEntityView($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\EntityView::class);
        $this->entity_view = $var;

        return $this;
    }

}

