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

namespace Google\Cloud\AIPlatform\V1\PublisherModel\CallToAction;

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

/**
 * Configurations for PublisherModel GKE deployment
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.PublisherModel.CallToAction.DeployGke</code>
 */
class DeployGke extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. GKE deployment configuration in yaml format.
     *
     * Generated from protobuf field <code>repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    private $gke_yaml_configs;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $gke_yaml_configs
     *           Optional. GKE deployment configuration in yaml format.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\PublisherModel::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. GKE deployment configuration in yaml format.
     *
     * Generated from protobuf field <code>repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getGkeYamlConfigs()
    {
        return $this->gke_yaml_configs;
    }

    /**
     * Optional. GKE deployment configuration in yaml format.
     *
     * Generated from protobuf field <code>repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setGkeYamlConfigs($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->gke_yaml_configs = $arr;

        return $this;
    }

}


