// 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
}

type NetworkInterface_Interface = isNetworkInterface_Interface

func (m *NetworkInterface) SetInterface(v NetworkInterface_Interface) {
	m.Interface = 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 *NetworkInterface) SetPrivateInterface(v *PrivateNetworkInterface) {
	m.Interface = &NetworkInterface_PrivateInterface{
		PrivateInterface: v,
	}
}

func (m *NetworkInterface) SetPublicInterface(v *PublicNetworkInterface) {
	m.Interface = &NetworkInterface_PublicInterface{
		PublicInterface: 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 *PrivateNetworkInterface) SetNativeSubnetId(v string) {
	m.NativeSubnetId = v
}

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

func (m *PrivateNetworkInterface) SetMacLimit(v int64) {
	m.MacLimit = v
}

func (m *PrivateNetworkInterface) SetVlanSubinterfaces(v []*VLANSubinterface) {
	m.VlanSubinterfaces = v
}

func (m *VLANSubinterface) SetTaggedSubnetId(v string) {
	m.TaggedSubnetId = v
}

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

func (m *VLANSubinterface) SetMacLimit(v int64) {
	m.MacLimit = v
}

type PublicNetworkInterface_NativeSubnetConfig = isPublicNetworkInterface_NativeSubnetConfig

func (m *PublicNetworkInterface) SetNativeSubnetConfig(v PublicNetworkInterface_NativeSubnetConfig) {
	m.NativeSubnetConfig = v
}

func (m *PublicNetworkInterface) SetNativeSubnet(v *PublicNetworkInterface_NativeSubnet) {
	m.NativeSubnetConfig = &PublicNetworkInterface_NativeSubnet_{
		NativeSubnet: v,
	}
}

func (m *PublicNetworkInterface) SetNewNativeSubnet(v *PublicNetworkInterface_NewNativeSubnet) {
	m.NativeSubnetConfig = &PublicNetworkInterface_NewNativeSubnet_{
		NewNativeSubnet: v,
	}
}

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

func (m *PublicNetworkInterface) SetNativeSubnetId(v string) {
	m.NativeSubnetId = v
}

func (m *PublicNetworkInterface) SetMacLimit(v int64) {
	m.MacLimit = v
}

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

func (m *PublicNetworkInterface_NewNativeSubnet) SetAddressingType(v PublicNetworkInterface_NewNativeSubnet_AddressingType) {
	m.AddressingType = 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
}
