-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathmessage.pb.go
More file actions
1095 lines (976 loc) · 46 KB
/
message.pb.go
File metadata and controls
1095 lines (976 loc) · 46 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/api/activity/v1/message.proto
package activity
import (
reflect "reflect"
sync "sync"
unsafe "unsafe"
v16 "go.temporal.io/api/callback/v1"
v1 "go.temporal.io/api/common/v1"
v14 "go.temporal.io/api/deployment/v1"
v13 "go.temporal.io/api/enums/v1"
v11 "go.temporal.io/api/failure/v1"
v15 "go.temporal.io/api/sdk/v1"
v12 "go.temporal.io/api/taskqueue/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)
)
// The outcome of a completed activity execution: either a successful result or a failure.
type ActivityExecutionOutcome struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Value:
//
// *ActivityExecutionOutcome_Result
// *ActivityExecutionOutcome_Failure
Value isActivityExecutionOutcome_Value `protobuf_oneof:"value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActivityExecutionOutcome) Reset() {
*x = ActivityExecutionOutcome{}
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActivityExecutionOutcome) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActivityExecutionOutcome) ProtoMessage() {}
func (x *ActivityExecutionOutcome) ProtoReflect() protoreflect.Message {
mi := &file_temporal_api_activity_v1_message_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 ActivityExecutionOutcome.ProtoReflect.Descriptor instead.
func (*ActivityExecutionOutcome) Descriptor() ([]byte, []int) {
return file_temporal_api_activity_v1_message_proto_rawDescGZIP(), []int{0}
}
func (x *ActivityExecutionOutcome) GetValue() isActivityExecutionOutcome_Value {
if x != nil {
return x.Value
}
return nil
}
func (x *ActivityExecutionOutcome) GetResult() *v1.Payloads {
if x != nil {
if x, ok := x.Value.(*ActivityExecutionOutcome_Result); ok {
return x.Result
}
}
return nil
}
func (x *ActivityExecutionOutcome) GetFailure() *v11.Failure {
if x != nil {
if x, ok := x.Value.(*ActivityExecutionOutcome_Failure); ok {
return x.Failure
}
}
return nil
}
type isActivityExecutionOutcome_Value interface {
isActivityExecutionOutcome_Value()
}
type ActivityExecutionOutcome_Result struct {
// The result if the activity completed successfully.
Result *v1.Payloads `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type ActivityExecutionOutcome_Failure struct {
// The failure if the activity completed unsuccessfully.
Failure *v11.Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
}
func (*ActivityExecutionOutcome_Result) isActivityExecutionOutcome_Value() {}
func (*ActivityExecutionOutcome_Failure) isActivityExecutionOutcome_Value() {}
type ActivityOptions struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskQueue *v12.TaskQueue `protobuf:"bytes,1,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Indicates how long the caller is willing to wait for an activity completion. Limits how long
// retries will be attempted. Either this or `start_to_close_timeout` must be specified.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToCloseTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"`
// Limits time an activity task can stay in a task queue before a worker picks it up. This
// timeout is always non retryable, as all a retry would achieve is to put it back into the same
// queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
// specified.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToStartTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"`
// Maximum time an activity is allowed to execute after being picked up by a worker. This
// timeout is always retryable. Either this or `schedule_to_close_timeout` must be
// specified.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
StartToCloseTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"`
// Maximum permitted time between successful worker heartbeats.
HeartbeatTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"`
// The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
RetryPolicy *v1.RetryPolicy `protobuf:"bytes,6,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
// Priority metadata. If this message is not present, or any fields are not
// present, they inherit the values from the workflow.
Priority *v1.Priority `protobuf:"bytes,7,opt,name=priority,proto3" json:"priority,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActivityOptions) Reset() {
*x = ActivityOptions{}
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActivityOptions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActivityOptions) ProtoMessage() {}
func (x *ActivityOptions) ProtoReflect() protoreflect.Message {
mi := &file_temporal_api_activity_v1_message_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 ActivityOptions.ProtoReflect.Descriptor instead.
func (*ActivityOptions) Descriptor() ([]byte, []int) {
return file_temporal_api_activity_v1_message_proto_rawDescGZIP(), []int{1}
}
func (x *ActivityOptions) GetTaskQueue() *v12.TaskQueue {
if x != nil {
return x.TaskQueue
}
return nil
}
func (x *ActivityOptions) GetScheduleToCloseTimeout() *durationpb.Duration {
if x != nil {
return x.ScheduleToCloseTimeout
}
return nil
}
func (x *ActivityOptions) GetScheduleToStartTimeout() *durationpb.Duration {
if x != nil {
return x.ScheduleToStartTimeout
}
return nil
}
func (x *ActivityOptions) GetStartToCloseTimeout() *durationpb.Duration {
if x != nil {
return x.StartToCloseTimeout
}
return nil
}
func (x *ActivityOptions) GetHeartbeatTimeout() *durationpb.Duration {
if x != nil {
return x.HeartbeatTimeout
}
return nil
}
func (x *ActivityOptions) GetRetryPolicy() *v1.RetryPolicy {
if x != nil {
return x.RetryPolicy
}
return nil
}
func (x *ActivityOptions) GetPriority() *v1.Priority {
if x != nil {
return x.Priority
}
return nil
}
// Information about a standalone activity.
type ActivityExecutionInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Unique identifier of this activity within its namespace along with run ID (below).
ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
// The type of the activity, a string that maps to a registered activity on a worker.
ActivityType *v1.ActivityType `protobuf:"bytes,3,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
// A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
Status v13.ActivityExecutionStatus `protobuf:"varint,4,opt,name=status,proto3,enum=temporal.api.enums.v1.ActivityExecutionStatus" json:"status,omitempty"`
// More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
RunState v13.PendingActivityState `protobuf:"varint,5,opt,name=run_state,json=runState,proto3,enum=temporal.api.enums.v1.PendingActivityState" json:"run_state,omitempty"`
TaskQueue string `protobuf:"bytes,6,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Indicates how long the caller is willing to wait for an activity completion. Limits how long
// retries will be attempted.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToCloseTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"`
// Limits time an activity task can stay in a task queue before a worker picks it up. This
// timeout is always non retryable, as all a retry would achieve is to put it back into the same
// queue. Defaults to `schedule_to_close_timeout`.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToStartTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"`
// Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This
// timeout is always retryable.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
StartToCloseTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"`
// Maximum permitted time between successful worker heartbeats.
HeartbeatTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"`
// The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
RetryPolicy *v1.RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
// Details provided in the last recorded activity heartbeat.
HeartbeatDetails *v1.Payloads `protobuf:"bytes,12,opt,name=heartbeat_details,json=heartbeatDetails,proto3" json:"heartbeat_details,omitempty"`
// Time the last heartbeat was recorded.
LastHeartbeatTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=last_heartbeat_time,json=lastHeartbeatTime,proto3" json:"last_heartbeat_time,omitempty"`
// Time the last attempt was started.
LastStartedTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=last_started_time,json=lastStartedTime,proto3" json:"last_started_time,omitempty"`
// The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
Attempt int32 `protobuf:"varint,15,opt,name=attempt,proto3" json:"attempt,omitempty"`
// How long this activity has been running for, including all attempts and backoff between attempts.
ExecutionDuration *durationpb.Duration `protobuf:"bytes,16,opt,name=execution_duration,json=executionDuration,proto3" json:"execution_duration,omitempty"`
// Time the activity was originally scheduled via a StartActivityExecution request.
ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
// Scheduled time + schedule to close timeout.
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
// Time when the activity transitioned to a closed state.
CloseTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
// Failure details from the last failed attempt.
LastFailure *v11.Failure `protobuf:"bytes,20,opt,name=last_failure,json=lastFailure,proto3" json:"last_failure,omitempty"`
LastWorkerIdentity string `protobuf:"bytes,21,opt,name=last_worker_identity,json=lastWorkerIdentity,proto3" json:"last_worker_identity,omitempty"`
// Time from the last attempt failure to the next activity retry.
// If the activity is currently running, this represents the next retry interval in case the attempt fails.
// If activity is currently backing off between attempt, this represents the current retry interval.
// If there is no next retry allowed, this field will be null.
// This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
// with a retryable application failure specifying a retry delay.
CurrentRetryInterval *durationpb.Duration `protobuf:"bytes,22,opt,name=current_retry_interval,json=currentRetryInterval,proto3" json:"current_retry_interval,omitempty"`
// The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
LastAttemptCompleteTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=last_attempt_complete_time,json=lastAttemptCompleteTime,proto3" json:"last_attempt_complete_time,omitempty"`
// The time when the next activity attempt will be scheduled.
// If activity is currently scheduled or started, this field will be null.
NextAttemptScheduleTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=next_attempt_schedule_time,json=nextAttemptScheduleTime,proto3" json:"next_attempt_schedule_time,omitempty"`
// The Worker Deployment Version this activity was dispatched to most recently.
// If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
LastDeploymentVersion *v14.WorkerDeploymentVersion `protobuf:"bytes,25,opt,name=last_deployment_version,json=lastDeploymentVersion,proto3" json:"last_deployment_version,omitempty"`
// Priority metadata.
Priority *v1.Priority `protobuf:"bytes,26,opt,name=priority,proto3" json:"priority,omitempty"`
// Incremented each time the activity's state is mutated in persistence.
StateTransitionCount int64 `protobuf:"varint,27,opt,name=state_transition_count,json=stateTransitionCount,proto3" json:"state_transition_count,omitempty"`
// Updated once on scheduled and once on terminal status.
StateSizeBytes int64 `protobuf:"varint,28,opt,name=state_size_bytes,json=stateSizeBytes,proto3" json:"state_size_bytes,omitempty"`
SearchAttributes *v1.SearchAttributes `protobuf:"bytes,29,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
Header *v1.Header `protobuf:"bytes,30,opt,name=header,proto3" json:"header,omitempty"`
// Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
UserMetadata *v15.UserMetadata `protobuf:"bytes,31,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"`
// Set if activity cancelation was requested.
CanceledReason string `protobuf:"bytes,32,opt,name=canceled_reason,json=canceledReason,proto3" json:"canceled_reason,omitempty"`
// Links to related entities, such as the entity that started this activity.
Links []*v1.Link `protobuf:"bytes,33,rep,name=links,proto3" json:"links,omitempty"`
// Total number of heartbeats recorded across all attempts of this activity, including retries.
TotalHeartbeatCount int64 `protobuf:"varint,34,opt,name=total_heartbeat_count,json=totalHeartbeatCount,proto3" json:"total_heartbeat_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActivityExecutionInfo) Reset() {
*x = ActivityExecutionInfo{}
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActivityExecutionInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActivityExecutionInfo) ProtoMessage() {}
func (x *ActivityExecutionInfo) ProtoReflect() protoreflect.Message {
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[2]
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 ActivityExecutionInfo.ProtoReflect.Descriptor instead.
func (*ActivityExecutionInfo) Descriptor() ([]byte, []int) {
return file_temporal_api_activity_v1_message_proto_rawDescGZIP(), []int{2}
}
func (x *ActivityExecutionInfo) GetActivityId() string {
if x != nil {
return x.ActivityId
}
return ""
}
func (x *ActivityExecutionInfo) GetRunId() string {
if x != nil {
return x.RunId
}
return ""
}
func (x *ActivityExecutionInfo) GetActivityType() *v1.ActivityType {
if x != nil {
return x.ActivityType
}
return nil
}
func (x *ActivityExecutionInfo) GetStatus() v13.ActivityExecutionStatus {
if x != nil {
return x.Status
}
return v13.ActivityExecutionStatus(0)
}
func (x *ActivityExecutionInfo) GetRunState() v13.PendingActivityState {
if x != nil {
return x.RunState
}
return v13.PendingActivityState(0)
}
func (x *ActivityExecutionInfo) GetTaskQueue() string {
if x != nil {
return x.TaskQueue
}
return ""
}
func (x *ActivityExecutionInfo) GetScheduleToCloseTimeout() *durationpb.Duration {
if x != nil {
return x.ScheduleToCloseTimeout
}
return nil
}
func (x *ActivityExecutionInfo) GetScheduleToStartTimeout() *durationpb.Duration {
if x != nil {
return x.ScheduleToStartTimeout
}
return nil
}
func (x *ActivityExecutionInfo) GetStartToCloseTimeout() *durationpb.Duration {
if x != nil {
return x.StartToCloseTimeout
}
return nil
}
func (x *ActivityExecutionInfo) GetHeartbeatTimeout() *durationpb.Duration {
if x != nil {
return x.HeartbeatTimeout
}
return nil
}
func (x *ActivityExecutionInfo) GetRetryPolicy() *v1.RetryPolicy {
if x != nil {
return x.RetryPolicy
}
return nil
}
func (x *ActivityExecutionInfo) GetHeartbeatDetails() *v1.Payloads {
if x != nil {
return x.HeartbeatDetails
}
return nil
}
func (x *ActivityExecutionInfo) GetLastHeartbeatTime() *timestamppb.Timestamp {
if x != nil {
return x.LastHeartbeatTime
}
return nil
}
func (x *ActivityExecutionInfo) GetLastStartedTime() *timestamppb.Timestamp {
if x != nil {
return x.LastStartedTime
}
return nil
}
func (x *ActivityExecutionInfo) GetAttempt() int32 {
if x != nil {
return x.Attempt
}
return 0
}
func (x *ActivityExecutionInfo) GetExecutionDuration() *durationpb.Duration {
if x != nil {
return x.ExecutionDuration
}
return nil
}
func (x *ActivityExecutionInfo) GetScheduleTime() *timestamppb.Timestamp {
if x != nil {
return x.ScheduleTime
}
return nil
}
func (x *ActivityExecutionInfo) GetExpirationTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpirationTime
}
return nil
}
func (x *ActivityExecutionInfo) GetCloseTime() *timestamppb.Timestamp {
if x != nil {
return x.CloseTime
}
return nil
}
func (x *ActivityExecutionInfo) GetLastFailure() *v11.Failure {
if x != nil {
return x.LastFailure
}
return nil
}
func (x *ActivityExecutionInfo) GetLastWorkerIdentity() string {
if x != nil {
return x.LastWorkerIdentity
}
return ""
}
func (x *ActivityExecutionInfo) GetCurrentRetryInterval() *durationpb.Duration {
if x != nil {
return x.CurrentRetryInterval
}
return nil
}
func (x *ActivityExecutionInfo) GetLastAttemptCompleteTime() *timestamppb.Timestamp {
if x != nil {
return x.LastAttemptCompleteTime
}
return nil
}
func (x *ActivityExecutionInfo) GetNextAttemptScheduleTime() *timestamppb.Timestamp {
if x != nil {
return x.NextAttemptScheduleTime
}
return nil
}
func (x *ActivityExecutionInfo) GetLastDeploymentVersion() *v14.WorkerDeploymentVersion {
if x != nil {
return x.LastDeploymentVersion
}
return nil
}
func (x *ActivityExecutionInfo) GetPriority() *v1.Priority {
if x != nil {
return x.Priority
}
return nil
}
func (x *ActivityExecutionInfo) GetStateTransitionCount() int64 {
if x != nil {
return x.StateTransitionCount
}
return 0
}
func (x *ActivityExecutionInfo) GetStateSizeBytes() int64 {
if x != nil {
return x.StateSizeBytes
}
return 0
}
func (x *ActivityExecutionInfo) GetSearchAttributes() *v1.SearchAttributes {
if x != nil {
return x.SearchAttributes
}
return nil
}
func (x *ActivityExecutionInfo) GetHeader() *v1.Header {
if x != nil {
return x.Header
}
return nil
}
func (x *ActivityExecutionInfo) GetUserMetadata() *v15.UserMetadata {
if x != nil {
return x.UserMetadata
}
return nil
}
func (x *ActivityExecutionInfo) GetCanceledReason() string {
if x != nil {
return x.CanceledReason
}
return ""
}
func (x *ActivityExecutionInfo) GetLinks() []*v1.Link {
if x != nil {
return x.Links
}
return nil
}
func (x *ActivityExecutionInfo) GetTotalHeartbeatCount() int64 {
if x != nil {
return x.TotalHeartbeatCount
}
return 0
}
// Limited activity information returned in the list response.
// When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it
// may already be present in ActivityExecutionInfo but not at the top-level).
type ActivityExecutionListInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
// A unique identifier of this activity within its namespace along with run ID (below).
ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
// The run ID of the standalone activity.
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
// The type of the activity, a string that maps to a registered activity on a worker.
ActivityType *v1.ActivityType `protobuf:"bytes,3,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
// Time the activity was originally scheduled via a StartActivityExecution request.
ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
// If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
CloseTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
// Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not
// available in the list response.
Status v13.ActivityExecutionStatus `protobuf:"varint,6,opt,name=status,proto3,enum=temporal.api.enums.v1.ActivityExecutionStatus" json:"status,omitempty"`
// Search attributes from the start request.
SearchAttributes *v1.SearchAttributes `protobuf:"bytes,7,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
// The task queue this activity was scheduled on when it was originally started, updated on activity options update.
TaskQueue string `protobuf:"bytes,8,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Updated on terminal status.
StateTransitionCount int64 `protobuf:"varint,9,opt,name=state_transition_count,json=stateTransitionCount,proto3" json:"state_transition_count,omitempty"`
// Updated once on scheduled and once on terminal status.
StateSizeBytes int64 `protobuf:"varint,10,opt,name=state_size_bytes,json=stateSizeBytes,proto3" json:"state_size_bytes,omitempty"`
// The difference between close time and scheduled time.
// This field is only populated if the activity is closed.
ExecutionDuration *durationpb.Duration `protobuf:"bytes,11,opt,name=execution_duration,json=executionDuration,proto3" json:"execution_duration,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActivityExecutionListInfo) Reset() {
*x = ActivityExecutionListInfo{}
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActivityExecutionListInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActivityExecutionListInfo) ProtoMessage() {}
func (x *ActivityExecutionListInfo) ProtoReflect() protoreflect.Message {
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[3]
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 ActivityExecutionListInfo.ProtoReflect.Descriptor instead.
func (*ActivityExecutionListInfo) Descriptor() ([]byte, []int) {
return file_temporal_api_activity_v1_message_proto_rawDescGZIP(), []int{3}
}
func (x *ActivityExecutionListInfo) GetActivityId() string {
if x != nil {
return x.ActivityId
}
return ""
}
func (x *ActivityExecutionListInfo) GetRunId() string {
if x != nil {
return x.RunId
}
return ""
}
func (x *ActivityExecutionListInfo) GetActivityType() *v1.ActivityType {
if x != nil {
return x.ActivityType
}
return nil
}
func (x *ActivityExecutionListInfo) GetScheduleTime() *timestamppb.Timestamp {
if x != nil {
return x.ScheduleTime
}
return nil
}
func (x *ActivityExecutionListInfo) GetCloseTime() *timestamppb.Timestamp {
if x != nil {
return x.CloseTime
}
return nil
}
func (x *ActivityExecutionListInfo) GetStatus() v13.ActivityExecutionStatus {
if x != nil {
return x.Status
}
return v13.ActivityExecutionStatus(0)
}
func (x *ActivityExecutionListInfo) GetSearchAttributes() *v1.SearchAttributes {
if x != nil {
return x.SearchAttributes
}
return nil
}
func (x *ActivityExecutionListInfo) GetTaskQueue() string {
if x != nil {
return x.TaskQueue
}
return ""
}
func (x *ActivityExecutionListInfo) GetStateTransitionCount() int64 {
if x != nil {
return x.StateTransitionCount
}
return 0
}
func (x *ActivityExecutionListInfo) GetStateSizeBytes() int64 {
if x != nil {
return x.StateSizeBytes
}
return 0
}
func (x *ActivityExecutionListInfo) GetExecutionDuration() *durationpb.Duration {
if x != nil {
return x.ExecutionDuration
}
return nil
}
// CallbackInfo contains the state of an attached activity callback.
type CallbackInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Trigger for this callback.
Trigger *CallbackInfo_Trigger `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"`
// Common callback info.
Info *v16.CallbackInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallbackInfo) Reset() {
*x = CallbackInfo{}
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallbackInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallbackInfo) ProtoMessage() {}
func (x *CallbackInfo) ProtoReflect() protoreflect.Message {
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[4]
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 CallbackInfo.ProtoReflect.Descriptor instead.
func (*CallbackInfo) Descriptor() ([]byte, []int) {
return file_temporal_api_activity_v1_message_proto_rawDescGZIP(), []int{4}
}
func (x *CallbackInfo) GetTrigger() *CallbackInfo_Trigger {
if x != nil {
return x.Trigger
}
return nil
}
func (x *CallbackInfo) GetInfo() *v16.CallbackInfo {
if x != nil {
return x.Info
}
return nil
}
// Trigger for when the activity is closed.
type CallbackInfo_ActivityClosed struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallbackInfo_ActivityClosed) Reset() {
*x = CallbackInfo_ActivityClosed{}
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallbackInfo_ActivityClosed) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallbackInfo_ActivityClosed) ProtoMessage() {}
func (x *CallbackInfo_ActivityClosed) ProtoReflect() protoreflect.Message {
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[5]
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 CallbackInfo_ActivityClosed.ProtoReflect.Descriptor instead.
func (*CallbackInfo_ActivityClosed) Descriptor() ([]byte, []int) {
return file_temporal_api_activity_v1_message_proto_rawDescGZIP(), []int{4, 0}
}
type CallbackInfo_Trigger struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Variant:
//
// *CallbackInfo_Trigger_ActivityClosed
Variant isCallbackInfo_Trigger_Variant `protobuf_oneof:"variant"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallbackInfo_Trigger) Reset() {
*x = CallbackInfo_Trigger{}
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallbackInfo_Trigger) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallbackInfo_Trigger) ProtoMessage() {}
func (x *CallbackInfo_Trigger) ProtoReflect() protoreflect.Message {
mi := &file_temporal_api_activity_v1_message_proto_msgTypes[6]
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 CallbackInfo_Trigger.ProtoReflect.Descriptor instead.
func (*CallbackInfo_Trigger) Descriptor() ([]byte, []int) {
return file_temporal_api_activity_v1_message_proto_rawDescGZIP(), []int{4, 1}
}
func (x *CallbackInfo_Trigger) GetVariant() isCallbackInfo_Trigger_Variant {
if x != nil {
return x.Variant
}
return nil
}
func (x *CallbackInfo_Trigger) GetActivityClosed() *CallbackInfo_ActivityClosed {
if x != nil {
if x, ok := x.Variant.(*CallbackInfo_Trigger_ActivityClosed); ok {
return x.ActivityClosed
}
}
return nil
}
type isCallbackInfo_Trigger_Variant interface {
isCallbackInfo_Trigger_Variant()
}
type CallbackInfo_Trigger_ActivityClosed struct {
ActivityClosed *CallbackInfo_ActivityClosed `protobuf:"bytes,1,opt,name=activity_closed,json=activityClosed,proto3,oneof"`
}
func (*CallbackInfo_Trigger_ActivityClosed) isCallbackInfo_Trigger_Variant() {}
var File_temporal_api_activity_v1_message_proto protoreflect.FileDescriptor
const file_temporal_api_activity_v1_message_proto_rawDesc = "" +
"\n" +
"&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a$temporal/api/enums/v1/activity.proto\x1a&temporal/api/callback/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a'temporal/api/taskqueue/v1/message.proto\x1a'temporal/api/sdk/v1/user_metadata.proto\"\x9d\x01\n" +
"\x18ActivityExecutionOutcome\x12:\n" +
"\x06result\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsH\x00R\x06result\x12<\n" +
"\afailure\x18\x02 \x01(\v2 .temporal.api.failure.v1.FailureH\x00R\afailureB\a\n" +
"\x05value\"\xa0\x04\n" +
"\x0fActivityOptions\x12C\n" +
"\n" +
"task_queue\x18\x01 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x12T\n" +
"\x19schedule_to_close_timeout\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToCloseTimeout\x12T\n" +
"\x19schedule_to_start_timeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToStartTimeout\x12N\n" +
"\x16start_to_close_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x13startToCloseTimeout\x12F\n" +
"\x11heartbeat_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x10heartbeatTimeout\x12F\n" +
"\fretry_policy\x18\x06 \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12<\n" +
"\bpriority\x18\a \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\xcc\x11\n" +
"\x15ActivityExecutionInfo\x12\x1f\n" +
"\vactivity_id\x18\x01 \x01(\tR\n" +
"activityId\x12\x15\n" +
"\x06run_id\x18\x02 \x01(\tR\x05runId\x12I\n" +
"\ractivity_type\x18\x03 \x01(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\x12F\n" +
"\x06status\x18\x04 \x01(\x0e2..temporal.api.enums.v1.ActivityExecutionStatusR\x06status\x12H\n" +
"\trun_state\x18\x05 \x01(\x0e2+.temporal.api.enums.v1.PendingActivityStateR\brunState\x12\x1d\n" +
"\n" +
"task_queue\x18\x06 \x01(\tR\ttaskQueue\x12T\n" +
"\x19schedule_to_close_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToCloseTimeout\x12T\n" +
"\x19schedule_to_start_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToStartTimeout\x12N\n" +
"\x16start_to_close_timeout\x18\t \x01(\v2\x19.google.protobuf.DurationR\x13startToCloseTimeout\x12F\n" +
"\x11heartbeat_timeout\x18\n" +
" \x01(\v2\x19.google.protobuf.DurationR\x10heartbeatTimeout\x12F\n" +
"\fretry_policy\x18\v \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12M\n" +
"\x11heartbeat_details\x18\f \x01(\v2 .temporal.api.common.v1.PayloadsR\x10heartbeatDetails\x12J\n" +
"\x13last_heartbeat_time\x18\r \x01(\v2\x1a.google.protobuf.TimestampR\x11lastHeartbeatTime\x12F\n" +
"\x11last_started_time\x18\x0e \x01(\v2\x1a.google.protobuf.TimestampR\x0flastStartedTime\x12\x18\n" +
"\aattempt\x18\x0f \x01(\x05R\aattempt\x12H\n" +
"\x12execution_duration\x18\x10 \x01(\v2\x19.google.protobuf.DurationR\x11executionDuration\x12?\n" +
"\rschedule_time\x18\x11 \x01(\v2\x1a.google.protobuf.TimestampR\fscheduleTime\x12C\n" +
"\x0fexpiration_time\x18\x12 \x01(\v2\x1a.google.protobuf.TimestampR\x0eexpirationTime\x129\n" +
"\n" +
"close_time\x18\x13 \x01(\v2\x1a.google.protobuf.TimestampR\tcloseTime\x12C\n" +
"\flast_failure\x18\x14 \x01(\v2 .temporal.api.failure.v1.FailureR\vlastFailure\x120\n" +
"\x14last_worker_identity\x18\x15 \x01(\tR\x12lastWorkerIdentity\x12O\n" +
"\x16current_retry_interval\x18\x16 \x01(\v2\x19.google.protobuf.DurationR\x14currentRetryInterval\x12W\n" +
"\x1alast_attempt_complete_time\x18\x17 \x01(\v2\x1a.google.protobuf.TimestampR\x17lastAttemptCompleteTime\x12W\n" +
"\x1anext_attempt_schedule_time\x18\x18 \x01(\v2\x1a.google.protobuf.TimestampR\x17nextAttemptScheduleTime\x12k\n" +
"\x17last_deployment_version\x18\x19 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x15lastDeploymentVersion\x12<\n" +
"\bpriority\x18\x1a \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\x124\n" +
"\x16state_transition_count\x18\x1b \x01(\x03R\x14stateTransitionCount\x12(\n" +
"\x10state_size_bytes\x18\x1c \x01(\x03R\x0estateSizeBytes\x12U\n" +
"\x11search_attributes\x18\x1d \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x126\n" +
"\x06header\x18\x1e \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12F\n" +
"\ruser_metadata\x18\x1f \x01(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\x12'\n" +
"\x0fcanceled_reason\x18 \x01(\tR\x0ecanceledReason\x122\n" +
"\x05links\x18! \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05links\x122\n" +
"\x15total_heartbeat_count\x18\" \x01(\x03R\x13totalHeartbeatCount\"\x82\x05\n" +
"\x19ActivityExecutionListInfo\x12\x1f\n" +
"\vactivity_id\x18\x01 \x01(\tR\n" +
"activityId\x12\x15\n" +
"\x06run_id\x18\x02 \x01(\tR\x05runId\x12I\n" +
"\ractivity_type\x18\x03 \x01(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\x12?\n" +
"\rschedule_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\fscheduleTime\x129\n" +
"\n" +
"close_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcloseTime\x12F\n" +
"\x06status\x18\x06 \x01(\x0e2..temporal.api.enums.v1.ActivityExecutionStatusR\x06status\x12U\n" +
"\x11search_attributes\x18\a \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12\x1d\n" +
"\n" +
"task_queue\x18\b \x01(\tR\ttaskQueue\x124\n" +
"\x16state_transition_count\x18\t \x01(\x03R\x14stateTransitionCount\x12(\n" +
"\x10state_size_bytes\x18\n" +
" \x01(\x03R\x0estateSizeBytes\x12H\n" +
"\x12execution_duration\x18\v \x01(\v2\x19.google.protobuf.DurationR\x11executionDuration\"\x9e\x02\n" +
"\fCallbackInfo\x12H\n" +
"\atrigger\x18\x01 \x01(\v2..temporal.api.activity.v1.CallbackInfo.TriggerR\atrigger\x12:\n" +
"\x04info\x18\x02 \x01(\v2&.temporal.api.callback.v1.CallbackInfoR\x04info\x1a\x10\n" +
"\x0eActivityClosed\x1av\n" +
"\aTrigger\x12`\n" +
"\x0factivity_closed\x18\x01 \x01(\v25.temporal.api.activity.v1.CallbackInfo.ActivityClosedH\x00R\x0eactivityClosedB\t\n" +
"\avariantB\x93\x01\n" +
"\x1bio.temporal.api.activity.v1B\fMessageProtoP\x01Z'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3"
var (
file_temporal_api_activity_v1_message_proto_rawDescOnce sync.Once
file_temporal_api_activity_v1_message_proto_rawDescData []byte
)
func file_temporal_api_activity_v1_message_proto_rawDescGZIP() []byte {
file_temporal_api_activity_v1_message_proto_rawDescOnce.Do(func() {
file_temporal_api_activity_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_activity_v1_message_proto_rawDesc), len(file_temporal_api_activity_v1_message_proto_rawDesc)))
})
return file_temporal_api_activity_v1_message_proto_rawDescData
}
var file_temporal_api_activity_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_temporal_api_activity_v1_message_proto_goTypes = []any{
(*ActivityExecutionOutcome)(nil), // 0: temporal.api.activity.v1.ActivityExecutionOutcome
(*ActivityOptions)(nil), // 1: temporal.api.activity.v1.ActivityOptions
(*ActivityExecutionInfo)(nil), // 2: temporal.api.activity.v1.ActivityExecutionInfo
(*ActivityExecutionListInfo)(nil), // 3: temporal.api.activity.v1.ActivityExecutionListInfo
(*CallbackInfo)(nil), // 4: temporal.api.activity.v1.CallbackInfo
(*CallbackInfo_ActivityClosed)(nil), // 5: temporal.api.activity.v1.CallbackInfo.ActivityClosed
(*CallbackInfo_Trigger)(nil), // 6: temporal.api.activity.v1.CallbackInfo.Trigger
(*v1.Payloads)(nil), // 7: temporal.api.common.v1.Payloads
(*v11.Failure)(nil), // 8: temporal.api.failure.v1.Failure
(*v12.TaskQueue)(nil), // 9: temporal.api.taskqueue.v1.TaskQueue