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

package baremetal

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

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

func (m *Server) SetCloudId(v string) {
	m.CloudId = v
}

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

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

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

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

func (m *Server) SetHardwarePoolId(v string) {
	m.HardwarePoolId = v
}

func (m *Server) SetStatus(v Server_Status) {
	m.Status = v
}

func (m *Server) SetOsSettings(v *OsSettings) {
	m.OsSettings = v
}

func (m *Server) SetNetworkInterfaces(v []*NetworkInterface) {
	m.NetworkInterfaces = v
}

func (m *Server) SetConfigurationId(v string) {
	m.ConfigurationId = v
}

func (m *Server) SetDisks(v []*Disk) {
	m.Disks = v
}

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

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

type NetworkInterface_Subnet = isNetworkInterface_Subnet

func (m *NetworkInterface) SetSubnet(v NetworkInterface_Subnet) {
	m.Subnet = v
}

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

func (m *NetworkInterface) SetMacAddress(v string) {
	m.MacAddress = v
}

func (m *NetworkInterface) SetIpAddress(v string) {
	m.IpAddress = v
}

func (m *NetworkInterface) SetPrivateSubnet(v *PrivateSubnetNetworkInterface) {
	m.Subnet = &NetworkInterface_PrivateSubnet{
		PrivateSubnet: v,
	}
}

func (m *NetworkInterface) SetPublicSubnet(v *PublicSubnetNetworkInterface) {
	m.Subnet = &NetworkInterface_PublicSubnet{
		PublicSubnet: v,
	}
}

func (m *PrivateSubnetNetworkInterface) SetPrivateSubnetId(v string) {
	m.PrivateSubnetId = v
}

func (m *PublicSubnetNetworkInterface) SetPublicSubnetId(v string) {
	m.PublicSubnetId = v
}

func (m *OsSettings) SetImageId(v string) {
	m.ImageId = v
}

func (m *OsSettings) SetSshPublicKey(v string) {
	m.SshPublicKey = v
}

func (m *OsSettings) SetStorages(v []*Storage) {
	m.Storages = v
}
