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

package workflows

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

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

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

func (m *Workflow) SetSpecification(v *WorkflowSpecification) {
	m.Specification = v
}

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

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

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

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

func (m *Workflow) SetStatus(v Workflow_Status) {
	m.Status = v
}

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

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

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

func (m *Workflow) SetExpress(v bool) {
	m.Express = v
}

func (m *Workflow) SetSchedule(v *WorkflowSchedule) {
	m.Schedule = v
}

func (m *Workflow) SetIsPublic(v bool) {
	m.IsPublic = v
}

func (m *Workflow) SetExecutionUrl(v string) {
	m.ExecutionUrl = v
}

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

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

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

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

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

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

func (m *WorkflowPreview) SetStatus(v Workflow_Status) {
	m.Status = v
}

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

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

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

func (m *WorkflowPreview) SetExpress(v bool) {
	m.Express = v
}

func (m *WorkflowPreview) SetIsPublic(v bool) {
	m.IsPublic = v
}

func (m *WorkflowPreview) SetExecutionUrl(v string) {
	m.ExecutionUrl = v
}

type WorkflowSpecification_Spec = isWorkflowSpecification_Spec

func (m *WorkflowSpecification) SetSpec(v WorkflowSpecification_Spec) {
	m.Spec = v
}

func (m *WorkflowSpecification) SetSpecYaml(v string) {
	m.Spec = &WorkflowSpecification_SpecYaml{
		SpecYaml: 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 *WorkflowSchedule) SetCronExpression(v string) {
	m.CronExpression = v
}

func (m *WorkflowSchedule) SetTimezone(v string) {
	m.Timezone = v
}
