-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathexecutions.pb.go
More file actions
5444 lines (4827 loc) · 230 KB
/
executions.pb.go
File metadata and controls
5444 lines (4827 loc) · 230 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// plugins:
// protoc-gen-go
// protoc
// source: temporal/server/api/persistence/v1/executions.proto
package persistence
import (
reflect "reflect"
sync "sync"
unsafe "unsafe"
v13 "go.temporal.io/api/common/v1"
v18 "go.temporal.io/api/deployment/v1"
v11 "go.temporal.io/api/enums/v1"
v19 "go.temporal.io/api/failure/v1"
v17 "go.temporal.io/api/history/v1"
v12 "go.temporal.io/api/workflow/v1"
v15 "go.temporal.io/server/api/clock/v1"
v1 "go.temporal.io/server/api/enums/v1"
v14 "go.temporal.io/server/api/history/v1"
v16 "go.temporal.io/server/api/workflow/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/durationpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// shard column
type ShardInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
ShardId int32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
RangeId int64 `protobuf:"varint,2,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "since" is needed here. --)
StolenSinceRenew int32 `protobuf:"varint,6,opt,name=stolen_since_renew,json=stolenSinceRenew,proto3" json:"stolen_since_renew,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
ReplicationDlqAckLevel map[string]int64 `protobuf:"bytes,13,rep,name=replication_dlq_ack_level,json=replicationDlqAckLevel,proto3" json:"replication_dlq_ack_level,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
QueueStates map[int32]*QueueState `protobuf:"bytes,17,rep,name=queue_states,json=queueStates,proto3" json:"queue_states,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ShardInfo) Reset() {
*x = ShardInfo{}
mi := &file_temporal_server_api_persistence_v1_executions_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ShardInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShardInfo) ProtoMessage() {}
func (x *ShardInfo) ProtoReflect() protoreflect.Message {
mi := &file_temporal_server_api_persistence_v1_executions_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ShardInfo.ProtoReflect.Descriptor instead.
func (*ShardInfo) Descriptor() ([]byte, []int) {
return file_temporal_server_api_persistence_v1_executions_proto_rawDescGZIP(), []int{0}
}
func (x *ShardInfo) GetShardId() int32 {
if x != nil {
return x.ShardId
}
return 0
}
func (x *ShardInfo) GetRangeId() int64 {
if x != nil {
return x.RangeId
}
return 0
}
func (x *ShardInfo) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *ShardInfo) GetStolenSinceRenew() int32 {
if x != nil {
return x.StolenSinceRenew
}
return 0
}
func (x *ShardInfo) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *ShardInfo) GetReplicationDlqAckLevel() map[string]int64 {
if x != nil {
return x.ReplicationDlqAckLevel
}
return nil
}
func (x *ShardInfo) GetQueueStates() map[int32]*QueueState {
if x != nil {
return x.QueueStates
}
return nil
}
// execution column
type WorkflowExecutionInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
ParentNamespaceId string `protobuf:"bytes,3,opt,name=parent_namespace_id,json=parentNamespaceId,proto3" json:"parent_namespace_id,omitempty"`
ParentWorkflowId string `protobuf:"bytes,4,opt,name=parent_workflow_id,json=parentWorkflowId,proto3" json:"parent_workflow_id,omitempty"`
ParentRunId string `protobuf:"bytes,5,opt,name=parent_run_id,json=parentRunId,proto3" json:"parent_run_id,omitempty"`
ParentInitiatedId int64 `protobuf:"varint,6,opt,name=parent_initiated_id,json=parentInitiatedId,proto3" json:"parent_initiated_id,omitempty"`
CompletionEventBatchId int64 `protobuf:"varint,7,opt,name=completion_event_batch_id,json=completionEventBatchId,proto3" json:"completion_event_batch_id,omitempty"`
TaskQueue string `protobuf:"bytes,9,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
WorkflowTypeName string `protobuf:"bytes,10,opt,name=workflow_type_name,json=workflowTypeName,proto3" json:"workflow_type_name,omitempty"`
WorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3" json:"workflow_execution_timeout,omitempty"`
WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,12,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"`
DefaultWorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,13,opt,name=default_workflow_task_timeout,json=defaultWorkflowTaskTimeout,proto3" json:"default_workflow_task_timeout,omitempty"`
LastRunningClock int64 `protobuf:"varint,17,opt,name=last_running_clock,json=lastRunningClock,proto3" json:"last_running_clock,omitempty"`
LastFirstEventId int64 `protobuf:"varint,18,opt,name=last_first_event_id,json=lastFirstEventId,proto3" json:"last_first_event_id,omitempty"`
LastCompletedWorkflowTaskStartedEventId int64 `protobuf:"varint,19,opt,name=last_completed_workflow_task_started_event_id,json=lastCompletedWorkflowTaskStartedEventId,proto3" json:"last_completed_workflow_task_started_event_id,omitempty"`
// Deprecated. use `WorkflowExecutionState.start_time`
StartTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
// Workflow task fields.
WorkflowTaskVersion int64 `protobuf:"varint,22,opt,name=workflow_task_version,json=workflowTaskVersion,proto3" json:"workflow_task_version,omitempty"`
WorkflowTaskScheduledEventId int64 `protobuf:"varint,23,opt,name=workflow_task_scheduled_event_id,json=workflowTaskScheduledEventId,proto3" json:"workflow_task_scheduled_event_id,omitempty"`
WorkflowTaskStartedEventId int64 `protobuf:"varint,24,opt,name=workflow_task_started_event_id,json=workflowTaskStartedEventId,proto3" json:"workflow_task_started_event_id,omitempty"`
WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,25,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"`
WorkflowTaskAttempt int32 `protobuf:"varint,26,opt,name=workflow_task_attempt,json=workflowTaskAttempt,proto3" json:"workflow_task_attempt,omitempty"`
WorkflowTaskStartedTime *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=workflow_task_started_time,json=workflowTaskStartedTime,proto3" json:"workflow_task_started_time,omitempty"`
WorkflowTaskScheduledTime *timestamppb.Timestamp `protobuf:"bytes,28,opt,name=workflow_task_scheduled_time,json=workflowTaskScheduledTime,proto3" json:"workflow_task_scheduled_time,omitempty"`
WorkflowTaskOriginalScheduledTime *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=workflow_task_original_scheduled_time,json=workflowTaskOriginalScheduledTime,proto3" json:"workflow_task_original_scheduled_time,omitempty"`
WorkflowTaskRequestId string `protobuf:"bytes,31,opt,name=workflow_task_request_id,json=workflowTaskRequestId,proto3" json:"workflow_task_request_id,omitempty"`
WorkflowTaskType v1.WorkflowTaskType `protobuf:"varint,68,opt,name=workflow_task_type,json=workflowTaskType,proto3,enum=temporal.server.api.enums.v1.WorkflowTaskType" json:"workflow_task_type,omitempty"`
WorkflowTaskSuggestContinueAsNew bool `protobuf:"varint,69,opt,name=workflow_task_suggest_continue_as_new,json=workflowTaskSuggestContinueAsNew,proto3" json:"workflow_task_suggest_continue_as_new,omitempty"`
WorkflowTaskSuggestContinueAsNewReasons []v11.SuggestContinueAsNewReason `protobuf:"varint,110,rep,packed,name=workflow_task_suggest_continue_as_new_reasons,json=workflowTaskSuggestContinueAsNewReasons,proto3,enum=temporal.api.enums.v1.SuggestContinueAsNewReason" json:"workflow_task_suggest_continue_as_new_reasons,omitempty"`
WorkflowTaskTargetWorkerDeploymentVersionChanged bool `protobuf:"varint,112,opt,name=workflow_task_target_worker_deployment_version_changed,json=workflowTaskTargetWorkerDeploymentVersionChanged,proto3" json:"workflow_task_target_worker_deployment_version_changed,omitempty"`
WorkflowTaskHistorySizeBytes int64 `protobuf:"varint,70,opt,name=workflow_task_history_size_bytes,json=workflowTaskHistorySizeBytes,proto3" json:"workflow_task_history_size_bytes,omitempty"`
// tracks the started build ID for transient/speculative WFT. This info is used for two purposes:
// - verify WFT completes by the same Build ID that started in the latest attempt
// - when persisting transient/speculative WFT, the right Build ID is used in the WFT started event
// Deprecated. Clean up with versioning-2. [cleanup-old-wv]
WorkflowTaskBuildId string `protobuf:"bytes,88,opt,name=workflow_task_build_id,json=workflowTaskBuildId,proto3" json:"workflow_task_build_id,omitempty"`
// tracks the started build ID redirect counter for transient/speculative WFT. This info is to
// ensure the right redirect counter is used in the WFT started event created later
// for a transient/speculative WFT.
// Deprecated. Clean up with versioning-2. [cleanup-old-wv]
WorkflowTaskBuildIdRedirectCounter int64 `protobuf:"varint,89,opt,name=workflow_task_build_id_redirect_counter,json=workflowTaskBuildIdRedirectCounter,proto3" json:"workflow_task_build_id_redirect_counter,omitempty"`
// Stamp represents the "version" of the workflow's internal state.
// It increases monotonically when the workflow's options are modified.
// It is used to check if a workflow task is still relevant to the corresponding workflow state machine.
WorkflowTaskStamp int32 `protobuf:"varint,109,opt,name=workflow_task_stamp,json=workflowTaskStamp,proto3" json:"workflow_task_stamp,omitempty"`
// AttemptsSinceLastSuccess tracks the number of workflow task attempts since the last successful workflow task.
// This is carried over when buffered events are applied after workflow task failures.
// Used by the TemporalReportedProblems search attribute to track continuous failure count.
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "since" is needed here. --)
WorkflowTaskAttemptsSinceLastSuccess int32 `protobuf:"varint,111,opt,name=workflow_task_attempts_since_last_success,json=workflowTaskAttemptsSinceLastSuccess,proto3" json:"workflow_task_attempts_since_last_success,omitempty"`
CancelRequested bool `protobuf:"varint,29,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
CancelRequestId string `protobuf:"bytes,32,opt,name=cancel_request_id,json=cancelRequestId,proto3" json:"cancel_request_id,omitempty"`
StickyTaskQueue string `protobuf:"bytes,33,opt,name=sticky_task_queue,json=stickyTaskQueue,proto3" json:"sticky_task_queue,omitempty"`
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
StickyScheduleToStartTimeout *durationpb.Duration `protobuf:"bytes,34,opt,name=sticky_schedule_to_start_timeout,json=stickyScheduleToStartTimeout,proto3" json:"sticky_schedule_to_start_timeout,omitempty"`
Attempt int32 `protobuf:"varint,35,opt,name=attempt,proto3" json:"attempt,omitempty"`
RetryInitialInterval *durationpb.Duration `protobuf:"bytes,36,opt,name=retry_initial_interval,json=retryInitialInterval,proto3" json:"retry_initial_interval,omitempty"`
RetryMaximumInterval *durationpb.Duration `protobuf:"bytes,37,opt,name=retry_maximum_interval,json=retryMaximumInterval,proto3" json:"retry_maximum_interval,omitempty"`
RetryMaximumAttempts int32 `protobuf:"varint,38,opt,name=retry_maximum_attempts,json=retryMaximumAttempts,proto3" json:"retry_maximum_attempts,omitempty"`
RetryBackoffCoefficient float64 `protobuf:"fixed64,39,opt,name=retry_backoff_coefficient,json=retryBackoffCoefficient,proto3" json:"retry_backoff_coefficient,omitempty"`
WorkflowExecutionExpirationTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=workflow_execution_expiration_time,json=workflowExecutionExpirationTime,proto3" json:"workflow_execution_expiration_time,omitempty"`
RetryNonRetryableErrorTypes []string `protobuf:"bytes,41,rep,name=retry_non_retryable_error_types,json=retryNonRetryableErrorTypes,proto3" json:"retry_non_retryable_error_types,omitempty"`
HasRetryPolicy bool `protobuf:"varint,42,opt,name=has_retry_policy,json=hasRetryPolicy,proto3" json:"has_retry_policy,omitempty"`
CronSchedule string `protobuf:"bytes,43,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
SignalCount int64 `protobuf:"varint,46,opt,name=signal_count,json=signalCount,proto3" json:"signal_count,omitempty"`
ActivityCount int64 `protobuf:"varint,71,opt,name=activity_count,json=activityCount,proto3" json:"activity_count,omitempty"`
ChildExecutionCount int64 `protobuf:"varint,72,opt,name=child_execution_count,json=childExecutionCount,proto3" json:"child_execution_count,omitempty"`
UserTimerCount int64 `protobuf:"varint,73,opt,name=user_timer_count,json=userTimerCount,proto3" json:"user_timer_count,omitempty"`
RequestCancelExternalCount int64 `protobuf:"varint,74,opt,name=request_cancel_external_count,json=requestCancelExternalCount,proto3" json:"request_cancel_external_count,omitempty"`
SignalExternalCount int64 `protobuf:"varint,75,opt,name=signal_external_count,json=signalExternalCount,proto3" json:"signal_external_count,omitempty"`
UpdateCount int64 `protobuf:"varint,77,opt,name=update_count,json=updateCount,proto3" json:"update_count,omitempty"`
AutoResetPoints *v12.ResetPoints `protobuf:"bytes,51,opt,name=auto_reset_points,json=autoResetPoints,proto3" json:"auto_reset_points,omitempty"`
SearchAttributes map[string]*v13.Payload `protobuf:"bytes,52,rep,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Memo map[string]*v13.Payload `protobuf:"bytes,53,rep,name=memo,proto3" json:"memo,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
VersionHistories *v14.VersionHistories `protobuf:"bytes,54,opt,name=version_histories,json=versionHistories,proto3" json:"version_histories,omitempty"`
FirstExecutionRunId string `protobuf:"bytes,55,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"`
ExecutionStats *ExecutionStats `protobuf:"bytes,56,opt,name=execution_stats,json=executionStats,proto3" json:"execution_stats,omitempty"`
WorkflowRunExpirationTime *timestamppb.Timestamp `protobuf:"bytes,57,opt,name=workflow_run_expiration_time,json=workflowRunExpirationTime,proto3" json:"workflow_run_expiration_time,omitempty"`
// Transaction Id of the first event in the last batch of events.
LastFirstEventTxnId int64 `protobuf:"varint,58,opt,name=last_first_event_txn_id,json=lastFirstEventTxnId,proto3" json:"last_first_event_txn_id,omitempty"`
StateTransitionCount int64 `protobuf:"varint,59,opt,name=state_transition_count,json=stateTransitionCount,proto3" json:"state_transition_count,omitempty"`
ExecutionTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"`
// If continued-as-new, or retried, or cron, holds the new run id.
NewExecutionRunId string `protobuf:"bytes,61,opt,name=new_execution_run_id,json=newExecutionRunId,proto3" json:"new_execution_run_id,omitempty"`
ParentClock *v15.VectorClock `protobuf:"bytes,62,opt,name=parent_clock,json=parentClock,proto3" json:"parent_clock,omitempty"`
// version of child execution initiated event in parent workflow
ParentInitiatedVersion int64 `protobuf:"varint,63,opt,name=parent_initiated_version,json=parentInitiatedVersion,proto3" json:"parent_initiated_version,omitempty"`
// Used to check if transfer close task is processed before deleting the workflow execution.
CloseTransferTaskId int64 `protobuf:"varint,64,opt,name=close_transfer_task_id,json=closeTransferTaskId,proto3" json:"close_transfer_task_id,omitempty"`
// Used to check if visibility close task is processed before deleting the workflow execution.
CloseVisibilityTaskId int64 `protobuf:"varint,65,opt,name=close_visibility_task_id,json=closeVisibilityTaskId,proto3" json:"close_visibility_task_id,omitempty"`
CloseTime *timestamppb.Timestamp `protobuf:"bytes,66,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
// Relocatable attributes are memo and search attributes. If they were removed, then they are not
// present in the mutable state, and they should be in visibility store.
RelocatableAttributesRemoved bool `protobuf:"varint,67,opt,name=relocatable_attributes_removed,json=relocatableAttributesRemoved,proto3" json:"relocatable_attributes_removed,omitempty"`
BaseExecutionInfo *v16.BaseExecutionInfo `protobuf:"bytes,76,opt,name=base_execution_info,json=baseExecutionInfo,proto3" json:"base_execution_info,omitempty"`
// If using build-id based versioning: version stamp of the last worker to complete a
// workflow tasks for this workflow.
// Deprecated. Clean up with versioning-2. [cleanup-old-wv]
MostRecentWorkerVersionStamp *v13.WorkerVersionStamp `protobuf:"bytes,78,opt,name=most_recent_worker_version_stamp,json=mostRecentWorkerVersionStamp,proto3" json:"most_recent_worker_version_stamp,omitempty"`
// The currently assigned build ID for this execution. Presence of this value means worker versioning is used
// for this execution. Assigned build ID is selected by matching based on Worker Versioning Assignment Rules
// when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
// again, the assigned build ID may change according to the latest versioning rules.
// Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
// this execution.
// Deprecated. Clean up with versioning-2. [cleanup-old-wv]
AssignedBuildId string `protobuf:"bytes,85,opt,name=assigned_build_id,json=assignedBuildId,proto3" json:"assigned_build_id,omitempty"`
// Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
// of using the assignment rules.
// Deprecated. Clean up with versioning-2. [cleanup-old-wv]
InheritedBuildId string `protobuf:"bytes,86,opt,name=inherited_build_id,json=inheritedBuildId,proto3" json:"inherited_build_id,omitempty"`
// Tracks the number of times a redirect rule is applied to this workflow. Used to apply redirects in the right
// order when mutable state is rebuilt from history events.
// Deprecated. Clean up with versioning-2. [cleanup-old-wv]
BuildIdRedirectCounter int64 `protobuf:"varint,87,opt,name=build_id_redirect_counter,json=buildIdRedirectCounter,proto3" json:"build_id_redirect_counter,omitempty"`
// index of update IDs and pointers to associated history events.
UpdateInfos map[string]*UpdateInfo `protobuf:"bytes,79,rep,name=update_infos,json=updateInfos,proto3" json:"update_infos,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Transition history encodes all transitions a mutable state object has gone through in a compact way.
// Here the transition_count field of VersionedTransition represents the maximum transition count the mutable state object
// has gone through for the corresponding namespace failover version.
// For example, if the transition history is `[{v: 1, t: 3}, {v: 2, t: 5}]`, it means transition 1-3 have failover version 1,
// and transition 4-5 have failover version 2.
//
// Each task generated by the HSM framework is imprinted with the current VersionedTransition at the end of the transaction.
// When a task is being processed, the transition history is compared with the imprinted task information to
// verify that a task is not referencing a stale state or that the task itself is not stale.
// For example, with the same transition history above, task A `{v: 2, t: 4}` **is not**
// referencing stale state because for version `2` transitions `4-5` are valid, while task B `{v: 2, t: 6}` **is**
// referencing stale state because the transition count is out of range for version `2`.
// Furthermore, task C `{v: 1, t: 4}` itself is stale because it is referencing an impossible state, likely due to post
// split-brain reconciliation.
TransitionHistory []*VersionedTransition `protobuf:"bytes,80,rep,name=transition_history,json=transitionHistory,proto3" json:"transition_history,omitempty"`
// Map of state machine type to map of machine by ID.
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "by" is used to clarify the keys and values. --)
SubStateMachinesByType map[string]*StateMachineMap `protobuf:"bytes,81,rep,name=sub_state_machines_by_type,json=subStateMachinesByType,proto3" json:"sub_state_machines_by_type,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// This field is for tracking if the workflow execution timer task is created or not.
// We don't need this field if we always create the execution timer task when the first
// workflow in a workflow chain starts. However, this execution timer logic is later added.
// To maintain backward compatibility, we need to track if the execution timer task is created
// for a workflow chain since later workflows in the chain also need to create the execution
// timer task if it is not created yet.
// NOTE: Task status is clsuter specific information, so when replicating mutable state, this
// field need to be sanitized.
WorkflowExecutionTimerTaskStatus int32 `protobuf:"varint,82,opt,name=workflow_execution_timer_task_status,json=workflowExecutionTimerTaskStatus,proto3" json:"workflow_execution_timer_task_status,omitempty"`
// The root workflow execution is defined as follows:
// 1. A workflow without parent workflow is its own root workflow.
// 2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
RootWorkflowId string `protobuf:"bytes,83,opt,name=root_workflow_id,json=rootWorkflowId,proto3" json:"root_workflow_id,omitempty"`
RootRunId string `protobuf:"bytes,84,opt,name=root_run_id,json=rootRunId,proto3" json:"root_run_id,omitempty"`
// Timer tasks emitted from state machines are stored in this array, grouped and sorted by their deadline. Only the
// next state machine timer task is generated at a time per mutable state. When that task is processed it iterates
// this array and triggers timers that are ready.
// NOTE: Task status is cluster specific information, so when replicating mutable state, this field needs to be
// sanitized.
StateMachineTimers []*StateMachineTimerGroup `protobuf:"bytes,90,rep,name=state_machine_timers,json=stateMachineTimers,proto3" json:"state_machine_timers,omitempty"`
// The shard clock's timestamp at the time the first valid task was created for this mutable state (either for a new
// mutable state or when rebuilding from events). The field should be updated whenever we refresh tasks, marking
// older generation tasks obsolete.
// This field is used for task staleness checks when mutable state is rebuilt.
// NOTE: Task status is cluster specific information, so when replicating mutable state, this field needs to be
// sanitized.
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: Ignoring api-linter rules for clarity --)
//
// (-- api-linter: core::0142::time-field-type=disabled
//
// aip.dev/not-precedent: This is a vector clock, not a timestamp --)
TaskGenerationShardClockTimestamp int64 `protobuf:"varint,91,opt,name=task_generation_shard_clock_timestamp,json=taskGenerationShardClockTimestamp,proto3" json:"task_generation_shard_clock_timestamp,omitempty"`
WorkflowTaskLastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,92,opt,name=workflow_task_last_update_versioned_transition,json=workflowTaskLastUpdateVersionedTransition,proto3" json:"workflow_task_last_update_versioned_transition,omitempty"`
VisibilityLastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,93,opt,name=visibility_last_update_versioned_transition,json=visibilityLastUpdateVersionedTransition,proto3" json:"visibility_last_update_versioned_transition,omitempty"`
SignalRequestIdsLastUpdateVersionedTransition *VersionedTransition `protobuf:"bytes,94,opt,name=signal_request_ids_last_update_versioned_transition,json=signalRequestIdsLastUpdateVersionedTransition,proto3" json:"signal_request_ids_last_update_versioned_transition,omitempty"`
SubStateMachineTombstoneBatches []*StateMachineTombstoneBatch `protobuf:"bytes,95,rep,name=sub_state_machine_tombstone_batches,json=subStateMachineTombstoneBatches,proto3" json:"sub_state_machine_tombstone_batches,omitempty"`
// The workflow has been reset.
WorkflowWasReset bool `protobuf:"varint,96,opt,name=workflow_was_reset,json=workflowWasReset,proto3" json:"workflow_was_reset,omitempty"`
// Reset Run ID points to the new nun when this execution is reset. If the execution is reset multiple times, it points to the latest run.
ResetRunId string `protobuf:"bytes,97,opt,name=reset_run_id,json=resetRunId,proto3" json:"reset_run_id,omitempty"`
// When present, it means the workflow execution is versioned, or is transitioning from
// unversioned workers to versioned ones.
// Note: Deployment objects inside versioning info are immutable, never change their fields.
// (-- api-linter: core::0203::immutable=disabled
//
// aip.dev/not-precedent: field_behavior annotation is not yet used in this repo --)
VersioningInfo *v12.WorkflowExecutionVersioningInfo `protobuf:"bytes,98,opt,name=versioning_info,json=versioningInfo,proto3" json:"versioning_info,omitempty"`
// This is the run id when the WorkflowExecutionStarted event was written.
// A workflow reset changes the execution run_id, but preserves this field so that we have a reference to the original workflow execution that was reset.
OriginalExecutionRunId string `protobuf:"bytes,99,opt,name=original_execution_run_id,json=originalExecutionRunId,proto3" json:"original_execution_run_id,omitempty"`
// These two fields are to record the transition history when the transition history is cleaned up due to disabling transition history
// Should be deprecated once the transition history is fully launched
PreviousTransitionHistory []*VersionedTransition `protobuf:"bytes,100,rep,name=previous_transition_history,json=previousTransitionHistory,proto3" json:"previous_transition_history,omitempty"`
LastTransitionHistoryBreakPoint *VersionedTransition `protobuf:"bytes,101,opt,name=last_transition_history_break_point,json=lastTransitionHistoryBreakPoint,proto3" json:"last_transition_history_break_point,omitempty"`
// This is a set of child workflows that were initialized after the reset point in the parent workflow.
// The children are identified by the key "workflow_type:workflow_id". When the parent starts to make progress after reset, it uses this data to
// determine the right start policy to apply to the child. This list will include children initiated in continue-as-new runs.
ChildrenInitializedPostResetPoint map[string]*ResetChildInfo `protobuf:"bytes,102,rep,name=children_initialized_post_reset_point,json=childrenInitializedPostResetPoint,proto3" json:"children_initialized_post_reset_point,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The worker deployment that completed the last WFT.
WorkerDeploymentName string `protobuf:"bytes,103,opt,name=worker_deployment_name,json=workerDeploymentName,proto3" json:"worker_deployment_name,omitempty"`
// Priority contains metadata that controls relative ordering of task processing
// when tasks are backed up in a queue.
Priority *v13.Priority `protobuf:"bytes,104,opt,name=priority,proto3" json:"priority,omitempty"`
// Run ID of the execution that supersedes this one (via terminate or continue-as-new).
SuccessorRunId string `protobuf:"bytes,105,opt,name=successor_run_id,json=successorRunId,proto3" json:"successor_run_id,omitempty"`
// Pause info contains the details of the request to pause the workflow.
PauseInfo *WorkflowPauseInfo `protobuf:"bytes,106,opt,name=pause_info,json=pauseInfo,proto3" json:"pause_info,omitempty"`
// Last workflow task failure category and cause are used to track the last workflow task failure category and cause.
//
// Types that are valid to be assigned to LastWorkflowTaskFailure:
//
// *WorkflowExecutionInfo_LastWorkflowTaskFailureCause
// *WorkflowExecutionInfo_LastWorkflowTaskTimedOutType
LastWorkflowTaskFailure isWorkflowExecutionInfo_LastWorkflowTaskFailure `protobuf_oneof:"last_workflow_task_failure"`
// The last target version for which the server set targetDeploymentVersionChanged
// to true on a workflow task started event. Updated on each workflow task start,
// set only when the server decides to set the targetDeploymentVersionChanged flag
// to true.
//
// This is a wrapper message to distinguish "never notified" (nil wrapper) from
// "notified about an unversioned target" (non-nil wrapper with nil deployment_version).
//
// Read at continue-as-new time: if set, it becomes the declined_target_version_upgrade
// for the next run. If nil, the existing declined value is preserved (CaN chain).
LastNotifiedTargetVersion *LastNotifiedTargetVersion `protobuf:"bytes,113,opt,name=last_notified_target_version,json=lastNotifiedTargetVersion,proto3" json:"last_notified_target_version,omitempty"`
// The target version that the SDK previously declined to upgrade to. Inherited
// from a previous run via continue-as-new or retry. At CaN time, computed as:
//
// if last_notified_target_version != nil → use that (latest signal was declined)
// else → preserve existing declined value (CaN chain, never re-signaled)
//
// Wrapper distinguishes "never declined" (nil) from "declined unversioned" (non-nil, nil version).
DeclinedTargetVersionUpgrade *v17.DeclinedTargetVersionUpgrade `protobuf:"bytes,114,opt,name=declined_target_version_upgrade,json=declinedTargetVersionUpgrade,proto3" json:"declined_target_version_upgrade,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WorkflowExecutionInfo) Reset() {
*x = WorkflowExecutionInfo{}
mi := &file_temporal_server_api_persistence_v1_executions_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WorkflowExecutionInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WorkflowExecutionInfo) ProtoMessage() {}
func (x *WorkflowExecutionInfo) ProtoReflect() protoreflect.Message {
mi := &file_temporal_server_api_persistence_v1_executions_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WorkflowExecutionInfo.ProtoReflect.Descriptor instead.
func (*WorkflowExecutionInfo) Descriptor() ([]byte, []int) {
return file_temporal_server_api_persistence_v1_executions_proto_rawDescGZIP(), []int{1}
}
func (x *WorkflowExecutionInfo) GetNamespaceId() string {
if x != nil {
return x.NamespaceId
}
return ""
}
func (x *WorkflowExecutionInfo) GetWorkflowId() string {
if x != nil {
return x.WorkflowId
}
return ""
}
func (x *WorkflowExecutionInfo) GetParentNamespaceId() string {
if x != nil {
return x.ParentNamespaceId
}
return ""
}
func (x *WorkflowExecutionInfo) GetParentWorkflowId() string {
if x != nil {
return x.ParentWorkflowId
}
return ""
}
func (x *WorkflowExecutionInfo) GetParentRunId() string {
if x != nil {
return x.ParentRunId
}
return ""
}
func (x *WorkflowExecutionInfo) GetParentInitiatedId() int64 {
if x != nil {
return x.ParentInitiatedId
}
return 0
}
func (x *WorkflowExecutionInfo) GetCompletionEventBatchId() int64 {
if x != nil {
return x.CompletionEventBatchId
}
return 0
}
func (x *WorkflowExecutionInfo) GetTaskQueue() string {
if x != nil {
return x.TaskQueue
}
return ""
}
func (x *WorkflowExecutionInfo) GetWorkflowTypeName() string {
if x != nil {
return x.WorkflowTypeName
}
return ""
}
func (x *WorkflowExecutionInfo) GetWorkflowExecutionTimeout() *durationpb.Duration {
if x != nil {
return x.WorkflowExecutionTimeout
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowRunTimeout() *durationpb.Duration {
if x != nil {
return x.WorkflowRunTimeout
}
return nil
}
func (x *WorkflowExecutionInfo) GetDefaultWorkflowTaskTimeout() *durationpb.Duration {
if x != nil {
return x.DefaultWorkflowTaskTimeout
}
return nil
}
func (x *WorkflowExecutionInfo) GetLastRunningClock() int64 {
if x != nil {
return x.LastRunningClock
}
return 0
}
func (x *WorkflowExecutionInfo) GetLastFirstEventId() int64 {
if x != nil {
return x.LastFirstEventId
}
return 0
}
func (x *WorkflowExecutionInfo) GetLastCompletedWorkflowTaskStartedEventId() int64 {
if x != nil {
return x.LastCompletedWorkflowTaskStartedEventId
}
return 0
}
func (x *WorkflowExecutionInfo) GetStartTime() *timestamppb.Timestamp {
if x != nil {
return x.StartTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetLastUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.LastUpdateTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskVersion() int64 {
if x != nil {
return x.WorkflowTaskVersion
}
return 0
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskScheduledEventId() int64 {
if x != nil {
return x.WorkflowTaskScheduledEventId
}
return 0
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskStartedEventId() int64 {
if x != nil {
return x.WorkflowTaskStartedEventId
}
return 0
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskTimeout() *durationpb.Duration {
if x != nil {
return x.WorkflowTaskTimeout
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskAttempt() int32 {
if x != nil {
return x.WorkflowTaskAttempt
}
return 0
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskStartedTime() *timestamppb.Timestamp {
if x != nil {
return x.WorkflowTaskStartedTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskScheduledTime() *timestamppb.Timestamp {
if x != nil {
return x.WorkflowTaskScheduledTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskOriginalScheduledTime() *timestamppb.Timestamp {
if x != nil {
return x.WorkflowTaskOriginalScheduledTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskRequestId() string {
if x != nil {
return x.WorkflowTaskRequestId
}
return ""
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskType() v1.WorkflowTaskType {
if x != nil {
return x.WorkflowTaskType
}
return v1.WorkflowTaskType(0)
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskSuggestContinueAsNew() bool {
if x != nil {
return x.WorkflowTaskSuggestContinueAsNew
}
return false
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskSuggestContinueAsNewReasons() []v11.SuggestContinueAsNewReason {
if x != nil {
return x.WorkflowTaskSuggestContinueAsNewReasons
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskTargetWorkerDeploymentVersionChanged() bool {
if x != nil {
return x.WorkflowTaskTargetWorkerDeploymentVersionChanged
}
return false
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskHistorySizeBytes() int64 {
if x != nil {
return x.WorkflowTaskHistorySizeBytes
}
return 0
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskBuildId() string {
if x != nil {
return x.WorkflowTaskBuildId
}
return ""
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskBuildIdRedirectCounter() int64 {
if x != nil {
return x.WorkflowTaskBuildIdRedirectCounter
}
return 0
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskStamp() int32 {
if x != nil {
return x.WorkflowTaskStamp
}
return 0
}
func (x *WorkflowExecutionInfo) GetWorkflowTaskAttemptsSinceLastSuccess() int32 {
if x != nil {
return x.WorkflowTaskAttemptsSinceLastSuccess
}
return 0
}
func (x *WorkflowExecutionInfo) GetCancelRequested() bool {
if x != nil {
return x.CancelRequested
}
return false
}
func (x *WorkflowExecutionInfo) GetCancelRequestId() string {
if x != nil {
return x.CancelRequestId
}
return ""
}
func (x *WorkflowExecutionInfo) GetStickyTaskQueue() string {
if x != nil {
return x.StickyTaskQueue
}
return ""
}
func (x *WorkflowExecutionInfo) GetStickyScheduleToStartTimeout() *durationpb.Duration {
if x != nil {
return x.StickyScheduleToStartTimeout
}
return nil
}
func (x *WorkflowExecutionInfo) GetAttempt() int32 {
if x != nil {
return x.Attempt
}
return 0
}
func (x *WorkflowExecutionInfo) GetRetryInitialInterval() *durationpb.Duration {
if x != nil {
return x.RetryInitialInterval
}
return nil
}
func (x *WorkflowExecutionInfo) GetRetryMaximumInterval() *durationpb.Duration {
if x != nil {
return x.RetryMaximumInterval
}
return nil
}
func (x *WorkflowExecutionInfo) GetRetryMaximumAttempts() int32 {
if x != nil {
return x.RetryMaximumAttempts
}
return 0
}
func (x *WorkflowExecutionInfo) GetRetryBackoffCoefficient() float64 {
if x != nil {
return x.RetryBackoffCoefficient
}
return 0
}
func (x *WorkflowExecutionInfo) GetWorkflowExecutionExpirationTime() *timestamppb.Timestamp {
if x != nil {
return x.WorkflowExecutionExpirationTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetRetryNonRetryableErrorTypes() []string {
if x != nil {
return x.RetryNonRetryableErrorTypes
}
return nil
}
func (x *WorkflowExecutionInfo) GetHasRetryPolicy() bool {
if x != nil {
return x.HasRetryPolicy
}
return false
}
func (x *WorkflowExecutionInfo) GetCronSchedule() string {
if x != nil {
return x.CronSchedule
}
return ""
}
func (x *WorkflowExecutionInfo) GetSignalCount() int64 {
if x != nil {
return x.SignalCount
}
return 0
}
func (x *WorkflowExecutionInfo) GetActivityCount() int64 {
if x != nil {
return x.ActivityCount
}
return 0
}
func (x *WorkflowExecutionInfo) GetChildExecutionCount() int64 {
if x != nil {
return x.ChildExecutionCount
}
return 0
}
func (x *WorkflowExecutionInfo) GetUserTimerCount() int64 {
if x != nil {
return x.UserTimerCount
}
return 0
}
func (x *WorkflowExecutionInfo) GetRequestCancelExternalCount() int64 {
if x != nil {
return x.RequestCancelExternalCount
}
return 0
}
func (x *WorkflowExecutionInfo) GetSignalExternalCount() int64 {
if x != nil {
return x.SignalExternalCount
}
return 0
}
func (x *WorkflowExecutionInfo) GetUpdateCount() int64 {
if x != nil {
return x.UpdateCount
}
return 0
}
func (x *WorkflowExecutionInfo) GetAutoResetPoints() *v12.ResetPoints {
if x != nil {
return x.AutoResetPoints
}
return nil
}
func (x *WorkflowExecutionInfo) GetSearchAttributes() map[string]*v13.Payload {
if x != nil {
return x.SearchAttributes
}
return nil
}
func (x *WorkflowExecutionInfo) GetMemo() map[string]*v13.Payload {
if x != nil {
return x.Memo
}
return nil
}
func (x *WorkflowExecutionInfo) GetVersionHistories() *v14.VersionHistories {
if x != nil {
return x.VersionHistories
}
return nil
}
func (x *WorkflowExecutionInfo) GetFirstExecutionRunId() string {
if x != nil {
return x.FirstExecutionRunId
}
return ""
}
func (x *WorkflowExecutionInfo) GetExecutionStats() *ExecutionStats {
if x != nil {
return x.ExecutionStats
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowRunExpirationTime() *timestamppb.Timestamp {
if x != nil {
return x.WorkflowRunExpirationTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetLastFirstEventTxnId() int64 {
if x != nil {
return x.LastFirstEventTxnId
}
return 0
}
func (x *WorkflowExecutionInfo) GetStateTransitionCount() int64 {
if x != nil {
return x.StateTransitionCount
}
return 0
}
func (x *WorkflowExecutionInfo) GetExecutionTime() *timestamppb.Timestamp {
if x != nil {
return x.ExecutionTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetNewExecutionRunId() string {
if x != nil {
return x.NewExecutionRunId
}
return ""
}
func (x *WorkflowExecutionInfo) GetParentClock() *v15.VectorClock {
if x != nil {
return x.ParentClock
}
return nil
}
func (x *WorkflowExecutionInfo) GetParentInitiatedVersion() int64 {
if x != nil {
return x.ParentInitiatedVersion
}
return 0
}
func (x *WorkflowExecutionInfo) GetCloseTransferTaskId() int64 {
if x != nil {
return x.CloseTransferTaskId
}
return 0
}
func (x *WorkflowExecutionInfo) GetCloseVisibilityTaskId() int64 {
if x != nil {
return x.CloseVisibilityTaskId
}
return 0
}
func (x *WorkflowExecutionInfo) GetCloseTime() *timestamppb.Timestamp {
if x != nil {
return x.CloseTime
}
return nil
}
func (x *WorkflowExecutionInfo) GetRelocatableAttributesRemoved() bool {
if x != nil {
return x.RelocatableAttributesRemoved
}
return false
}
func (x *WorkflowExecutionInfo) GetBaseExecutionInfo() *v16.BaseExecutionInfo {
if x != nil {
return x.BaseExecutionInfo
}
return nil
}
func (x *WorkflowExecutionInfo) GetMostRecentWorkerVersionStamp() *v13.WorkerVersionStamp {
if x != nil {
return x.MostRecentWorkerVersionStamp
}
return nil
}
func (x *WorkflowExecutionInfo) GetAssignedBuildId() string {
if x != nil {
return x.AssignedBuildId
}
return ""
}
func (x *WorkflowExecutionInfo) GetInheritedBuildId() string {
if x != nil {
return x.InheritedBuildId
}
return ""
}
func (x *WorkflowExecutionInfo) GetBuildIdRedirectCounter() int64 {
if x != nil {
return x.BuildIdRedirectCounter
}
return 0
}
func (x *WorkflowExecutionInfo) GetUpdateInfos() map[string]*UpdateInfo {
if x != nil {
return x.UpdateInfos
}
return nil
}
func (x *WorkflowExecutionInfo) GetTransitionHistory() []*VersionedTransition {
if x != nil {
return x.TransitionHistory
}
return nil
}
func (x *WorkflowExecutionInfo) GetSubStateMachinesByType() map[string]*StateMachineMap {
if x != nil {
return x.SubStateMachinesByType
}
return nil
}
func (x *WorkflowExecutionInfo) GetWorkflowExecutionTimerTaskStatus() int32 {
if x != nil {
return x.WorkflowExecutionTimerTaskStatus
}
return 0
}
func (x *WorkflowExecutionInfo) GetRootWorkflowId() string {
if x != nil {
return x.RootWorkflowId
}
return ""
}
func (x *WorkflowExecutionInfo) GetRootRunId() string {
if x != nil {
return x.RootRunId
}
return ""
}
func (x *WorkflowExecutionInfo) GetStateMachineTimers() []*StateMachineTimerGroup {
if x != nil {
return x.StateMachineTimers
}
return nil
}
func (x *WorkflowExecutionInfo) GetTaskGenerationShardClockTimestamp() int64 {
if x != nil {
return x.TaskGenerationShardClockTimestamp
}