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

package containers

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

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

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

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

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

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

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

func (m *Container) SetUrl(v string) {
	m.Url = v
}

func (m *Container) SetStatus(v Container_Status) {
	m.Status = v
}

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

func (m *Revision) SetContainerId(v string) {
	m.ContainerId = v
}

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

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

func (m *Revision) SetImage(v *Image) {
	m.Image = v
}

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

func (m *Revision) SetExecutionTimeout(v *durationpb.Duration) {
	m.ExecutionTimeout = v
}

func (m *Revision) SetConcurrency(v int64) {
	m.Concurrency = v
}

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

func (m *Revision) SetStatus(v Revision_Status) {
	m.Status = v
}

func (m *Revision) SetSecrets(v []*Secret) {
	m.Secrets = v
}

func (m *Revision) SetConnectivity(v *Connectivity) {
	m.Connectivity = v
}

func (m *Revision) SetProvisionPolicy(v *ProvisionPolicy) {
	m.ProvisionPolicy = v
}

func (m *Revision) SetScalingPolicy(v *ScalingPolicy) {
	m.ScalingPolicy = v
}

func (m *Revision) SetLogOptions(v *LogOptions) {
	m.LogOptions = v
}

func (m *Revision) SetStorageMounts(v []*StorageMount) {
	m.StorageMounts = v
}

func (m *Revision) SetMounts(v []*Mount) {
	m.Mounts = v
}

func (m *Revision) SetRuntime(v *Runtime) {
	m.Runtime = v
}

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

func (m *Image) SetImageUrl(v string) {
	m.ImageUrl = v
}

func (m *Image) SetImageDigest(v string) {
	m.ImageDigest = v
}

func (m *Image) SetCommand(v *Command) {
	m.Command = v
}

func (m *Image) SetArgs(v *Args) {
	m.Args = v
}

func (m *Image) SetEnvironment(v map[string]string) {
	m.Environment = v
}

func (m *Image) SetWorkingDir(v string) {
	m.WorkingDir = v
}

func (m *Command) SetCommand(v []string) {
	m.Command = v
}

func (m *Args) SetArgs(v []string) {
	m.Args = 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 *ProvisionPolicy) SetMinInstances(v int64) {
	m.MinInstances = v
}

type Secret_Reference = isSecret_Reference

func (m *Secret) SetReference(v Secret_Reference) {
	m.Reference = v
}

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

func (m *Secret) SetVersionId(v string) {
	m.VersionId = v
}

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

func (m *Secret) SetEnvironmentVariable(v string) {
	m.Reference = &Secret_EnvironmentVariable{
		EnvironmentVariable: v,
	}
}

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

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

type LogOptions_Destination = isLogOptions_Destination

func (m *LogOptions) SetDestination(v LogOptions_Destination) {
	m.Destination = v
}

func (m *LogOptions) SetDisabled(v bool) {
	m.Disabled = v
}

func (m *LogOptions) SetLogGroupId(v string) {
	m.Destination = &LogOptions_LogGroupId{
		LogGroupId: v,
	}
}

func (m *LogOptions) SetFolderId(v string) {
	m.Destination = &LogOptions_FolderId{
		FolderId: v,
	}
}

func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level) {
	m.MinLevel = v
}

func (m *ScalingPolicy) SetZoneInstancesLimit(v int64) {
	m.ZoneInstancesLimit = v
}

func (m *ScalingPolicy) SetZoneRequestsLimit(v int64) {
	m.ZoneRequestsLimit = v
}

func (m *StorageMount) SetBucketId(v string) {
	m.BucketId = v
}

func (m *StorageMount) SetPrefix(v string) {
	m.Prefix = v
}

func (m *StorageMount) SetReadOnly(v bool) {
	m.ReadOnly = v
}

func (m *StorageMount) SetMountPointPath(v string) {
	m.MountPointPath = v
}

type Mount_Target = isMount_Target

func (m *Mount) SetTarget(v Mount_Target) {
	m.Target = v
}

func (m *Mount) SetMountPointPath(v string) {
	m.MountPointPath = v
}

func (m *Mount) SetMode(v Mount_Mode) {
	m.Mode = v
}

func (m *Mount) SetObjectStorage(v *Mount_ObjectStorage) {
	m.Target = &Mount_ObjectStorage_{
		ObjectStorage: v,
	}
}

func (m *Mount) SetEphemeralDiskSpec(v *Mount_DiskSpec) {
	m.Target = &Mount_EphemeralDiskSpec{
		EphemeralDiskSpec: v,
	}
}

func (m *Mount_ObjectStorage) SetBucketId(v string) {
	m.BucketId = v
}

func (m *Mount_ObjectStorage) SetPrefix(v string) {
	m.Prefix = v
}

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

func (m *Mount_DiskSpec) SetBlockSize(v int64) {
	m.BlockSize = v
}

type Runtime_Type = isRuntime_Type

func (m *Runtime) SetType(v Runtime_Type) {
	m.Type = v
}

func (m *Runtime) SetHttp(v *Runtime_Http) {
	m.Type = &Runtime_Http_{
		Http: v,
	}
}

func (m *Runtime) SetTask(v *Runtime_Task) {
	m.Type = &Runtime_Task_{
		Task: v,
	}
}

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

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