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

package clouddesktop

import (
	access "github.com/yandex-cloud/go-genproto/yandex/cloud/access"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

type DesktopGroup_UpdatePolicy = isDesktopGroup_UpdatePolicy

func (m *DesktopGroup) SetUpdatePolicy(v DesktopGroup_UpdatePolicy) {
	m.UpdatePolicy = v
}

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

func (m *DesktopGroup) SetFolderId(v string) {
	m.FolderId = v
}

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

func (m *DesktopGroup) SetStatus(v DesktopGroup_Status) {
	m.Status = v
}

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

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

func (m *DesktopGroup) SetResourcesSpec(v *ResourcesSpec) {
	m.ResourcesSpec = v
}

func (m *DesktopGroup) SetNetworkInterfaceSpec(v *NetworkInterfaceSpec) {
	m.NetworkInterfaceSpec = v
}

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

func (m *DesktopGroup) SetBootDiskSpec(v *DiskSpec) {
	m.BootDiskSpec = v
}

func (m *DesktopGroup) SetDataDiskSpec(v *DiskSpec) {
	m.DataDiskSpec = v
}

func (m *DesktopGroup) SetGroupConfig(v *DesktopGroupConfiguration) {
	m.GroupConfig = v
}

func (m *DesktopGroup) SetAutoUpdatePolicy(v *AutoUpdatePolicy) {
	m.UpdatePolicy = &DesktopGroup_AutoUpdatePolicy{
		AutoUpdatePolicy: v,
	}
}

func (m *DesktopGroup) SetManualUpdatePolicy(v *ManualUpdatePolicy) {
	m.UpdatePolicy = &DesktopGroup_ManualUpdatePolicy{
		ManualUpdatePolicy: v,
	}
}

func (m *DesktopGroupConfiguration) SetMinReadyDesktops(v int64) {
	m.MinReadyDesktops = v
}

func (m *DesktopGroupConfiguration) SetMaxDesktopsAmount(v int64) {
	m.MaxDesktopsAmount = v
}

func (m *DesktopGroupConfiguration) SetDesktopType(v DesktopGroupConfiguration_DesktopType) {
	m.DesktopType = v
}

func (m *DesktopGroupConfiguration) SetMembers(v []*access.Subject) {
	m.Members = v
}

func (m *ResourcesSpec) SetMemory(v int64) {
	m.Memory = v
}

func (m *ResourcesSpec) SetCores(v int64) {
	m.Cores = v
}

func (m *ResourcesSpec) SetCoreFraction(v int64) {
	m.CoreFraction = v
}

func (m *NetworkInterfaceSpec) SetNetworkId(v string) {
	m.NetworkId = v
}

func (m *NetworkInterfaceSpec) SetSubnetIds(v []string) {
	m.SubnetIds = v
}
