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

package compute

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

type DiskPlacementGroup_PlacementStrategy = isDiskPlacementGroup_PlacementStrategy

func (m *DiskPlacementGroup) SetPlacementStrategy(v DiskPlacementGroup_PlacementStrategy) {
	m.PlacementStrategy = v
}

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

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

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

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

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

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

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

func (m *DiskPlacementGroup) SetStatus(v DiskPlacementGroup_Status) {
	m.Status = v
}

func (m *DiskPlacementGroup) SetSpreadPlacementStrategy(v *DiskSpreadPlacementStrategy) {
	m.PlacementStrategy = &DiskPlacementGroup_SpreadPlacementStrategy{
		SpreadPlacementStrategy: v,
	}
}

func (m *DiskPlacementGroup) SetPartitionPlacementStrategy(v *DiskPartitionPlacementStrategy) {
	m.PlacementStrategy = &DiskPlacementGroup_PartitionPlacementStrategy{
		PartitionPlacementStrategy: v,
	}
}

func (m *DiskPartitionPlacementStrategy) SetPartitions(v int64) {
	m.Partitions = v
}
