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

package compute

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

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

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

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

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

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

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

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

func (m *Instance) SetPlatformId(v string) {
	m.PlatformId = v
}

func (m *Instance) SetResources(v *Resources) {
	m.Resources = v
}

func (m *Instance) SetStatus(v Instance_Status) {
	m.Status = v
}

func (m *Instance) SetMetadata(v map[string]string) {
	m.Metadata = v
}

func (m *Instance) SetMetadataOptions(v *MetadataOptions) {
	m.MetadataOptions = v
}

func (m *Instance) SetBootDisk(v *AttachedDisk) {
	m.BootDisk = v
}

func (m *Instance) SetSecondaryDisks(v []*AttachedDisk) {
	m.SecondaryDisks = v
}

func (m *Instance) SetLocalDisks(v []*AttachedLocalDisk) {
	m.LocalDisks = v
}

func (m *Instance) SetFilesystems(v []*AttachedFilesystem) {
	m.Filesystems = v
}

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

func (m *Instance) SetSerialPortSettings(v *SerialPortSettings) {
	m.SerialPortSettings = v
}

func (m *Instance) SetGpuSettings(v *GpuSettings) {
	m.GpuSettings = v
}

func (m *Instance) SetFqdn(v string) {
	m.Fqdn = v
}

func (m *Instance) SetSchedulingPolicy(v *SchedulingPolicy) {
	m.SchedulingPolicy = v
}

func (m *Instance) SetServiceAccountId(v string) {
	m.ServiceAccountId = v
}

func (m *Instance) SetNetworkSettings(v *NetworkSettings) {
	m.NetworkSettings = v
}

func (m *Instance) SetPlacementPolicy(v *PlacementPolicy) {
	m.PlacementPolicy = v
}

func (m *Instance) SetHostGroupId(v string) {
	m.HostGroupId = v
}

func (m *Instance) SetHostId(v string) {
	m.HostId = v
}

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

func (m *Instance) SetMaintenanceGracePeriod(v *durationpb.Duration) {
	m.MaintenanceGracePeriod = v
}

func (m *Instance) SetHardwareGeneration(v *HardwareGeneration) {
	m.HardwareGeneration = v
}

func (m *Instance) SetReservedInstancePoolId(v string) {
	m.ReservedInstancePoolId = v
}

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

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

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

func (m *Resources) SetGpus(v int64) {
	m.Gpus = v
}

func (m *AttachedDisk) SetMode(v AttachedDisk_Mode) {
	m.Mode = v
}

func (m *AttachedDisk) SetDeviceName(v string) {
	m.DeviceName = v
}

func (m *AttachedDisk) SetAutoDelete(v bool) {
	m.AutoDelete = v
}

func (m *AttachedDisk) SetDiskId(v string) {
	m.DiskId = v
}

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

func (m *AttachedLocalDisk) SetDeviceName(v string) {
	m.DeviceName = v
}

func (m *AttachedFilesystem) SetMode(v AttachedFilesystem_Mode) {
	m.Mode = v
}

func (m *AttachedFilesystem) SetDeviceName(v string) {
	m.DeviceName = v
}

func (m *AttachedFilesystem) SetFilesystemId(v string) {
	m.FilesystemId = v
}

func (m *NetworkInterface) SetIndex(v string) {
	m.Index = v
}

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

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

func (m *NetworkInterface) SetPrimaryV4Address(v *PrimaryAddress) {
	m.PrimaryV4Address = v
}

func (m *NetworkInterface) SetPrimaryV6Address(v *PrimaryAddress) {
	m.PrimaryV6Address = v
}

func (m *NetworkInterface) SetSecurityGroupIds(v []string) {
	m.SecurityGroupIds = v
}

func (m *PrimaryAddress) SetAddress(v string) {
	m.Address = v
}

func (m *PrimaryAddress) SetOneToOneNat(v *OneToOneNat) {
	m.OneToOneNat = v
}

func (m *PrimaryAddress) SetDnsRecords(v []*DnsRecord) {
	m.DnsRecords = v
}

func (m *OneToOneNat) SetAddress(v string) {
	m.Address = v
}

func (m *OneToOneNat) SetIpVersion(v IpVersion) {
	m.IpVersion = v
}

func (m *OneToOneNat) SetDnsRecords(v []*DnsRecord) {
	m.DnsRecords = v
}

func (m *DnsRecord) SetFqdn(v string) {
	m.Fqdn = v
}

func (m *DnsRecord) SetDnsZoneId(v string) {
	m.DnsZoneId = v
}

func (m *DnsRecord) SetTtl(v int64) {
	m.Ttl = v
}

func (m *DnsRecord) SetPtr(v bool) {
	m.Ptr = v
}

func (m *SchedulingPolicy) SetPreemptible(v bool) {
	m.Preemptible = v
}

func (m *NetworkSettings) SetType(v NetworkSettings_Type) {
	m.Type = v
}

func (m *GpuSettings) SetGpuClusterId(v string) {
	m.GpuClusterId = v
}

func (m *PlacementPolicy) SetPlacementGroupId(v string) {
	m.PlacementGroupId = v
}

func (m *PlacementPolicy) SetHostAffinityRules(v []*PlacementPolicy_HostAffinityRule) {
	m.HostAffinityRules = v
}

func (m *PlacementPolicy) SetPlacementGroupPartition(v int64) {
	m.PlacementGroupPartition = v
}

func (m *PlacementPolicy_HostAffinityRule) SetKey(v string) {
	m.Key = v
}

func (m *PlacementPolicy_HostAffinityRule) SetOp(v PlacementPolicy_HostAffinityRule_Operator) {
	m.Op = v
}

func (m *PlacementPolicy_HostAffinityRule) SetValues(v []string) {
	m.Values = v
}

func (m *MetadataOptions) SetGceHttpEndpoint(v MetadataOption) {
	m.GceHttpEndpoint = v
}

func (m *MetadataOptions) SetAwsV1HttpEndpoint(v MetadataOption) {
	m.AwsV1HttpEndpoint = v
}

func (m *MetadataOptions) SetGceHttpToken(v MetadataOption) {
	m.GceHttpToken = v
}

func (m *MetadataOptions) SetAwsV1HttpToken(v MetadataOption) {
	m.AwsV1HttpToken = v
}

func (m *SerialPortSettings) SetSshAuthorization(v SerialPortSettings_SSHAuthorization) {
	m.SshAuthorization = v
}
