// Code generated by protoc-gen-goext. DO NOT EDIT.

package k8s

import (
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

func (m *NodeGroup) SetId(v string) {
	m.Id = v
}

func (m *NodeGroup) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *NodeGroup) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *NodeGroup) SetName(v string) {
	m.Name = v
}

func (m *NodeGroup) SetDescription(v string) {
	m.Description = v
}

func (m *NodeGroup) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *NodeGroup) SetStatus(v NodeGroup_Status) {
	m.Status = v
}

func (m *NodeGroup) SetNodeTemplate(v *NodeTemplate) {
	m.NodeTemplate = v
}

func (m *NodeGroup) SetScalePolicy(v *ScalePolicy) {
	m.ScalePolicy = v
}

func (m *NodeGroup) SetAllocationPolicy(v *NodeGroupAllocationPolicy) {
	m.AllocationPolicy = v
}

func (m *NodeGroup) SetDeployPolicy(v *DeployPolicy) {
	m.DeployPolicy = v
}

func (m *NodeGroup) SetInstanceGroupId(v string) {
	m.InstanceGroupId = v
}

func (m *NodeGroup) SetNodeVersion(v string) {
	m.NodeVersion = v
}

func (m *NodeGroup) SetVersionInfo(v *VersionInfo) {
	m.VersionInfo = v
}

func (m *NodeGroup) SetMaintenancePolicy(v *NodeGroupMaintenancePolicy) {
	m.MaintenancePolicy = v
}

func (m *NodeGroup) SetAllowedUnsafeSysctls(v []string) {
	m.AllowedUnsafeSysctls = v
}

func (m *NodeGroup) SetNodeTaints(v []*Taint) {
	m.NodeTaints = v
}

func (m *NodeGroup) SetNodeLabels(v map[string]string) {
	m.NodeLabels = v
}

func (m *NodeGroup) SetWorkloadIdentityFederation(v *NodeGroupWorkloadIdentityFederation) {
	m.WorkloadIdentityFederation = v
}

type ScalePolicy_ScaleType = isScalePolicy_ScaleType

func (m *ScalePolicy) SetScaleType(v ScalePolicy_ScaleType) {
	m.ScaleType = v
}

func (m *ScalePolicy) SetFixedScale(v *ScalePolicy_FixedScale) {
	m.ScaleType = &ScalePolicy_FixedScale_{
		FixedScale: v,
	}
}

func (m *ScalePolicy) SetAutoScale(v *ScalePolicy_AutoScale) {
	m.ScaleType = &ScalePolicy_AutoScale_{
		AutoScale: v,
	}
}

func (m *ScalePolicy_FixedScale) SetSize(v int64) {
	m.Size = v
}

func (m *ScalePolicy_AutoScale) SetMinSize(v int64) {
	m.MinSize = v
}

func (m *ScalePolicy_AutoScale) SetMaxSize(v int64) {
	m.MaxSize = v
}

func (m *ScalePolicy_AutoScale) SetInitialSize(v int64) {
	m.InitialSize = v
}

func (m *NodeGroupAllocationPolicy) SetLocations(v []*NodeGroupLocation) {
	m.Locations = v
}

func (m *NodeGroupLocation) SetZoneId(v string) {
	m.ZoneId = v
}

func (m *NodeGroupLocation) SetSubnetId(v string) {
	m.SubnetId = v
}

func (m *NodeGroupMaintenancePolicy) SetAutoUpgrade(v bool) {
	m.AutoUpgrade = v
}

func (m *NodeGroupMaintenancePolicy) SetAutoRepair(v bool) {
	m.AutoRepair = v
}

func (m *NodeGroupMaintenancePolicy) SetMaintenanceWindow(v *MaintenanceWindow) {
	m.MaintenanceWindow = v
}

func (m *DeployPolicy) SetMaxUnavailable(v int64) {
	m.MaxUnavailable = v
}

func (m *DeployPolicy) SetMaxExpansion(v int64) {
	m.MaxExpansion = v
}

func (m *NodeGroupWorkloadIdentityFederation) SetEnabled(v bool) {
	m.Enabled = v
}
