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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.DestinationFeatureSetting</code>
 */
class DestinationFeatureSetting extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The ID of the Feature to apply the setting to.
     *
     * Generated from protobuf field <code>string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $feature_id = '';
    /**
     * Specify the field name in the export destination. If not specified,
     * Feature ID is used.
     *
     * Generated from protobuf field <code>string destination_field = 2;</code>
     */
    private $destination_field = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $feature_id
     *           Required. The ID of the Feature to apply the setting to.
     *     @type string $destination_field
     *           Specify the field name in the export destination. If not specified,
     *           Feature ID is used.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. The ID of the Feature to apply the setting to.
     *
     * Generated from protobuf field <code>string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getFeatureId()
    {
        return $this->feature_id;
    }

    /**
     * Required. The ID of the Feature to apply the setting to.
     *
     * Generated from protobuf field <code>string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setFeatureId($var)
    {
        GPBUtil::checkString($var, True);
        $this->feature_id = $var;

        return $this;
    }

    /**
     * Specify the field name in the export destination. If not specified,
     * Feature ID is used.
     *
     * Generated from protobuf field <code>string destination_field = 2;</code>
     * @return string
     */
    public function getDestinationField()
    {
        return $this->destination_field;
    }

    /**
     * Specify the field name in the export destination. If not specified,
     * Feature ID is used.
     *
     * Generated from protobuf field <code>string destination_field = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setDestinationField($var)
    {
        GPBUtil::checkString($var, True);
        $this->destination_field = $var;

        return $this;
    }

}

