/
message.go-helpers.pb.go
361 lines (305 loc) · 10.4 KB
/
message.go-helpers.pb.go
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
// The MIT License
//
// Copyright (c) 2022 Temporal Technologies Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
package workflow
import (
"google.golang.org/protobuf/proto"
)
// Marshal an object of type WorkflowExecutionInfo to the protobuf v3 wire format
func (val *WorkflowExecutionInfo) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type WorkflowExecutionInfo from the protobuf v3 wire format
func (val *WorkflowExecutionInfo) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *WorkflowExecutionInfo) Size() int {
return proto.Size(val)
}
// Equal returns whether two WorkflowExecutionInfo values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *WorkflowExecutionInfo) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *WorkflowExecutionInfo
switch t := that.(type) {
case *WorkflowExecutionInfo:
that1 = t
case WorkflowExecutionInfo:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type WorkflowExecutionConfig to the protobuf v3 wire format
func (val *WorkflowExecutionConfig) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type WorkflowExecutionConfig from the protobuf v3 wire format
func (val *WorkflowExecutionConfig) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *WorkflowExecutionConfig) Size() int {
return proto.Size(val)
}
// Equal returns whether two WorkflowExecutionConfig values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *WorkflowExecutionConfig) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *WorkflowExecutionConfig
switch t := that.(type) {
case *WorkflowExecutionConfig:
that1 = t
case WorkflowExecutionConfig:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type PendingActivityInfo to the protobuf v3 wire format
func (val *PendingActivityInfo) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type PendingActivityInfo from the protobuf v3 wire format
func (val *PendingActivityInfo) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *PendingActivityInfo) Size() int {
return proto.Size(val)
}
// Equal returns whether two PendingActivityInfo values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *PendingActivityInfo) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *PendingActivityInfo
switch t := that.(type) {
case *PendingActivityInfo:
that1 = t
case PendingActivityInfo:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type PendingChildExecutionInfo to the protobuf v3 wire format
func (val *PendingChildExecutionInfo) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type PendingChildExecutionInfo from the protobuf v3 wire format
func (val *PendingChildExecutionInfo) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *PendingChildExecutionInfo) Size() int {
return proto.Size(val)
}
// Equal returns whether two PendingChildExecutionInfo values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *PendingChildExecutionInfo) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *PendingChildExecutionInfo
switch t := that.(type) {
case *PendingChildExecutionInfo:
that1 = t
case PendingChildExecutionInfo:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type PendingWorkflowTaskInfo to the protobuf v3 wire format
func (val *PendingWorkflowTaskInfo) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type PendingWorkflowTaskInfo from the protobuf v3 wire format
func (val *PendingWorkflowTaskInfo) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *PendingWorkflowTaskInfo) Size() int {
return proto.Size(val)
}
// Equal returns whether two PendingWorkflowTaskInfo values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *PendingWorkflowTaskInfo) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *PendingWorkflowTaskInfo
switch t := that.(type) {
case *PendingWorkflowTaskInfo:
that1 = t
case PendingWorkflowTaskInfo:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type ResetPoints to the protobuf v3 wire format
func (val *ResetPoints) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type ResetPoints from the protobuf v3 wire format
func (val *ResetPoints) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *ResetPoints) Size() int {
return proto.Size(val)
}
// Equal returns whether two ResetPoints values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *ResetPoints) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *ResetPoints
switch t := that.(type) {
case *ResetPoints:
that1 = t
case ResetPoints:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type ResetPointInfo to the protobuf v3 wire format
func (val *ResetPointInfo) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type ResetPointInfo from the protobuf v3 wire format
func (val *ResetPointInfo) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *ResetPointInfo) Size() int {
return proto.Size(val)
}
// Equal returns whether two ResetPointInfo values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *ResetPointInfo) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *ResetPointInfo
switch t := that.(type) {
case *ResetPointInfo:
that1 = t
case ResetPointInfo:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type NewWorkflowExecutionInfo to the protobuf v3 wire format
func (val *NewWorkflowExecutionInfo) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type NewWorkflowExecutionInfo from the protobuf v3 wire format
func (val *NewWorkflowExecutionInfo) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *NewWorkflowExecutionInfo) Size() int {
return proto.Size(val)
}
// Equal returns whether two NewWorkflowExecutionInfo values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *NewWorkflowExecutionInfo) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *NewWorkflowExecutionInfo
switch t := that.(type) {
case *NewWorkflowExecutionInfo:
that1 = t
case NewWorkflowExecutionInfo:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}
// Marshal an object of type CallbackInfo to the protobuf v3 wire format
func (val *CallbackInfo) Marshal() ([]byte, error) {
return proto.Marshal(val)
}
// Unmarshal an object of type CallbackInfo from the protobuf v3 wire format
func (val *CallbackInfo) Unmarshal(buf []byte) error {
return proto.Unmarshal(buf, val)
}
// Size returns the size of the object, in bytes, once serialized
func (val *CallbackInfo) Size() int {
return proto.Size(val)
}
// Equal returns whether two CallbackInfo values are equivalent by recursively
// comparing the message's fields.
// For more information see the documentation for
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (this *CallbackInfo) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
var that1 *CallbackInfo
switch t := that.(type) {
case *CallbackInfo:
that1 = t
case CallbackInfo:
that1 = &t
default:
return false
}
return proto.Equal(this, that1)
}