-
Notifications
You must be signed in to change notification settings - Fork 567
/
transform.pb.zap.go
102 lines (92 loc) · 2.68 KB
/
transform.pb.zap.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
// Code generated by protoc-gen-zap (etc/proto/protoc-gen-zap). DO NOT EDIT.
//
// source: server/worker/pipeline/transform/transform.proto
package transform
import (
zapcore "go.uber.org/zap/zapcore"
)
func (x *CreateParallelDatumsTask) MarshalLogObject(enc zapcore.ObjectEncoder) error {
if x == nil {
return nil
}
enc.AddObject("job", x.Job)
enc.AddString("salt", x.Salt)
enc.AddString("file_set_id", x.FileSetId)
enc.AddString("base_file_set_id", x.BaseFileSetId)
enc.AddObject("path_range", x.PathRange)
enc.AddString("auth_token", x.AuthToken)
return nil
}
func (x *CreateParallelDatumsTaskResult) MarshalLogObject(enc zapcore.ObjectEncoder) error {
if x == nil {
return nil
}
enc.AddString("file_set_id", x.FileSetId)
enc.AddObject("stats", x.Stats)
return nil
}
func (x *CreateSerialDatumsTask) MarshalLogObject(enc zapcore.ObjectEncoder) error {
if x == nil {
return nil
}
enc.AddObject("job", x.Job)
enc.AddString("salt", x.Salt)
enc.AddString("file_set_id", x.FileSetId)
enc.AddObject("base_meta_commit", x.BaseMetaCommit)
enc.AddBool("no_skip", x.NoSkip)
enc.AddObject("path_range", x.PathRange)
enc.AddString("auth_token", x.AuthToken)
return nil
}
func (x *CreateSerialDatumsTaskResult) MarshalLogObject(enc zapcore.ObjectEncoder) error {
if x == nil {
return nil
}
enc.AddString("file_set_id", x.FileSetId)
enc.AddString("output_delete_file_set_id", x.OutputDeleteFileSetId)
enc.AddString("meta_delete_file_set_id", x.MetaDeleteFileSetId)
enc.AddObject("stats", x.Stats)
return nil
}
func (x *CreateDatumSetsTask) MarshalLogObject(enc zapcore.ObjectEncoder) error {
if x == nil {
return nil
}
enc.AddString("file_set_id", x.FileSetId)
enc.AddObject("path_range", x.PathRange)
enc.AddObject("set_spec", x.SetSpec)
enc.AddString("auth_token", x.AuthToken)
return nil
}
func (x *CreateDatumSetsTaskResult) MarshalLogObject(enc zapcore.ObjectEncoder) error {
if x == nil {
return nil
}
datum_setsArrMarshaller := func(enc zapcore.ArrayEncoder) error {
for _, v := range x.DatumSets {
enc.AppendObject(v)
}
return nil
}
enc.AddArray("datum_sets", zapcore.ArrayMarshalerFunc(datum_setsArrMarshaller))
return nil
}
func (x *DatumSetTask) MarshalLogObject(enc zapcore.ObjectEncoder) error {
if x == nil {
return nil
}
enc.AddObject("job", x.Job)
enc.AddString("file_set_id", x.FileSetId)
enc.AddObject("path_range", x.PathRange)
enc.AddObject("output_commit", x.OutputCommit)
return nil
}
func (x *DatumSetTaskResult) MarshalLogObject(enc zapcore.ObjectEncoder) error {
if x == nil {
return nil
}
enc.AddString("output_file_set_id", x.OutputFileSetId)
enc.AddString("meta_file_set_id", x.MetaFileSetId)
enc.AddObject("stats", x.Stats)
return nil
}