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

namespace Google\Cloud\GkeRecommender\V1;

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

/**
 * A Kubernetes manifest.
 *
 * Generated from protobuf message <code>google.cloud.gkerecommender.v1.KubernetesManifest</code>
 */
class KubernetesManifest extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. Kubernetes resource kind.
     *
     * Generated from protobuf field <code>string kind = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $kind = '';
    /**
     * Output only. Kubernetes API version.
     *
     * Generated from protobuf field <code>string api_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $api_version = '';
    /**
     * Output only. YAML content.
     *
     * Generated from protobuf field <code>string content = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $content = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $kind
     *           Output only. Kubernetes resource kind.
     *     @type string $api_version
     *           Output only. Kubernetes API version.
     *     @type string $content
     *           Output only. YAML content.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Gkerecommender\V1\Gkerecommender::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. Kubernetes resource kind.
     *
     * Generated from protobuf field <code>string kind = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getKind()
    {
        return $this->kind;
    }

    /**
     * Output only. Kubernetes resource kind.
     *
     * Generated from protobuf field <code>string kind = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setKind($var)
    {
        GPBUtil::checkString($var, True);
        $this->kind = $var;

        return $this;
    }

    /**
     * Output only. Kubernetes API version.
     *
     * Generated from protobuf field <code>string api_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getApiVersion()
    {
        return $this->api_version;
    }

    /**
     * Output only. Kubernetes API version.
     *
     * Generated from protobuf field <code>string api_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setApiVersion($var)
    {
        GPBUtil::checkString($var, True);
        $this->api_version = $var;

        return $this;
    }

    /**
     * Output only. YAML content.
     *
     * Generated from protobuf field <code>string content = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * Output only. YAML content.
     *
     * Generated from protobuf field <code>string content = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setContent($var)
    {
        GPBUtil::checkString($var, True);
        $this->content = $var;

        return $this;
    }

}

