<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/dataflow/v1beta3/templates.proto

namespace Google\Cloud\Dataflow\V1beta3;

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

/**
 * ParameterMetadataEnumOption specifies the option shown in the enum form.
 *
 * Generated from protobuf message <code>google.dataflow.v1beta3.ParameterMetadataEnumOption</code>
 */
class ParameterMetadataEnumOption extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The value of the enum option.
     *
     * Generated from protobuf field <code>string value = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $value = '';
    /**
     * Optional. The label to display for the enum option.
     *
     * Generated from protobuf field <code>string label = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $label = '';
    /**
     * Optional. The description to display for the enum option.
     *
     * Generated from protobuf field <code>string description = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $description = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $value
     *           Required. The value of the enum option.
     *     @type string $label
     *           Optional. The label to display for the enum option.
     *     @type string $description
     *           Optional. The description to display for the enum option.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Dataflow\V1Beta3\Templates::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. The value of the enum option.
     *
     * Generated from protobuf field <code>string value = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getValue()
    {
        return $this->value;
    }

    /**
     * Required. The value of the enum option.
     *
     * Generated from protobuf field <code>string value = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setValue($var)
    {
        GPBUtil::checkString($var, True);
        $this->value = $var;

        return $this;
    }

    /**
     * Optional. The label to display for the enum option.
     *
     * Generated from protobuf field <code>string label = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return string
     */
    public function getLabel()
    {
        return $this->label;
    }

    /**
     * Optional. The label to display for the enum option.
     *
     * Generated from protobuf field <code>string label = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param string $var
     * @return $this
     */
    public function setLabel($var)
    {
        GPBUtil::checkString($var, True);
        $this->label = $var;

        return $this;
    }

    /**
     * Optional. The description to display for the enum option.
     *
     * Generated from protobuf field <code>string description = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return string
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * Optional. The description to display for the enum option.
     *
     * Generated from protobuf field <code>string description = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param string $var
     * @return $this
     */
    public function setDescription($var)
    {
        GPBUtil::checkString($var, True);
        $this->description = $var;

        return $this;
    }

}

