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

package workflows

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

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

func (m *HistoryEntry) SetTitle(v string) {
	m.Title = v
}

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

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

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

func (m *HistoryEntry) SetInput(v *HistoryEntryInput) {
	m.Input = v
}

func (m *HistoryEntry) SetOutput(v *HistoryEntryOutput) {
	m.Output = v
}

func (m *HistoryEntry) SetError(v *HistoryEntryError) {
	m.Error = v
}

func (m *HistoryEntry) SetStatus(v HistoryEntry_Status) {
	m.Status = v
}

func (m *HistoryEntry) SetType(v string) {
	m.Type = v
}

func (m *HistoryEntry) SetAttempts(v int64) {
	m.Attempts = v
}

func (m *HistoryEntry) SetLastError(v *HistoryEntryError) {
	m.LastError = v
}

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

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

func (m *HistoryEntry_FailedAttempt) SetError(v *HistoryEntryError) {
	m.Error = v
}

type HistoryEntryInput_Input = isHistoryEntryInput_Input

func (m *HistoryEntryInput) SetInput(v HistoryEntryInput_Input) {
	m.Input = v
}

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

type HistoryEntryOutput_Output = isHistoryEntryOutput_Output

func (m *HistoryEntryOutput) SetOutput(v HistoryEntryOutput_Output) {
	m.Output = v
}

func (m *HistoryEntryOutput) SetOutputJson(v string) {
	m.Output = &HistoryEntryOutput_OutputJson{
		OutputJson: v,
	}
}

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

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