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

package workflows

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

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

func (m *Execution) SetWorkflowId(v string) {
	m.WorkflowId = v
}

func (m *Execution) SetInput(v *ExecutionInput) {
	m.Input = v
}

func (m *Execution) SetResult(v *ExecutionResult) {
	m.Result = v
}

func (m *Execution) SetError(v *ExecutionError) {
	m.Error = v
}

func (m *Execution) SetStatus(v Execution_Status) {
	m.Status = v
}

func (m *Execution) SetStartedAt(v *timestamppb.Timestamp) {
	m.StartedAt = v
}

func (m *Execution) SetDuration(v *durationpb.Duration) {
	m.Duration = v
}

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

func (m *ExecutionPreview) SetWorkflowId(v string) {
	m.WorkflowId = v
}

func (m *ExecutionPreview) SetStatus(v Execution_Status) {
	m.Status = v
}

func (m *ExecutionPreview) SetStartedAt(v *timestamppb.Timestamp) {
	m.StartedAt = v
}

func (m *ExecutionPreview) SetDuration(v *durationpb.Duration) {
	m.Duration = v
}

type ExecutionInput_Input = isExecutionInput_Input

func (m *ExecutionInput) SetInput(v ExecutionInput_Input) {
	m.Input = v
}

func (m *ExecutionInput) SetInputJson(v string) {
	m.Input = &ExecutionInput_InputJson{
		InputJson: v,
	}
}

func (m *ExecutionInput) SetInputValue(v *structpb.Value) {
	m.Input = &ExecutionInput_InputValue{
		InputValue: v,
	}
}

type ExecutionResult_Result = isExecutionResult_Result

func (m *ExecutionResult) SetResult(v ExecutionResult_Result) {
	m.Result = v
}

func (m *ExecutionResult) SetResultJson(v string) {
	m.Result = &ExecutionResult_ResultJson{
		ResultJson: v,
	}
}

func (m *ExecutionError) SetMessage(v string) {
	m.Message = v
}

func (m *ExecutionError) SetErrorCode(v string) {
	m.ErrorCode = v
}
