-
Notifications
You must be signed in to change notification settings - Fork 1
/
create_task.pb.go
234 lines (210 loc) · 8.76 KB
/
create_task.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: create_task.proto
package task
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/gogo/protobuf/types"
_ "github.com/mwitkow/go-proto-validators"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//CreateTask返回
type CreateTaskResponse struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//结果信息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" form:"msg"`
//
//返回数据
Data *CreateTaskResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateTaskResponse) Reset() { *m = CreateTaskResponse{} }
func (m *CreateTaskResponse) String() string { return proto.CompactTextString(m) }
func (*CreateTaskResponse) ProtoMessage() {}
func (*CreateTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5f57290545750a0b, []int{0}
}
func (m *CreateTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateTaskResponse.Unmarshal(m, b)
}
func (m *CreateTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateTaskResponse.Marshal(b, m, deterministic)
}
func (m *CreateTaskResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateTaskResponse.Merge(m, src)
}
func (m *CreateTaskResponse) XXX_Size() int {
return xxx_messageInfo_CreateTaskResponse.Size(m)
}
func (m *CreateTaskResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateTaskResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateTaskResponse proto.InternalMessageInfo
func (m *CreateTaskResponse) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *CreateTaskResponse) GetMsg() string {
if m != nil {
return m.Msg
}
return ""
}
func (m *CreateTaskResponse) GetData() *CreateTaskResponse_Data {
if m != nil {
return m.Data
}
return nil
}
type CreateTaskResponse_Data struct {
//
//新建立的task_id
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateTaskResponse_Data) Reset() { *m = CreateTaskResponse_Data{} }
func (m *CreateTaskResponse_Data) String() string { return proto.CompactTextString(m) }
func (*CreateTaskResponse_Data) ProtoMessage() {}
func (*CreateTaskResponse_Data) Descriptor() ([]byte, []int) {
return fileDescriptor_5f57290545750a0b, []int{0, 0}
}
func (m *CreateTaskResponse_Data) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateTaskResponse_Data.Unmarshal(m, b)
}
func (m *CreateTaskResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateTaskResponse_Data.Marshal(b, m, deterministic)
}
func (m *CreateTaskResponse_Data) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateTaskResponse_Data.Merge(m, src)
}
func (m *CreateTaskResponse_Data) XXX_Size() int {
return xxx_messageInfo_CreateTaskResponse_Data.Size(m)
}
func (m *CreateTaskResponse_Data) XXX_DiscardUnknown() {
xxx_messageInfo_CreateTaskResponse_Data.DiscardUnknown(m)
}
var xxx_messageInfo_CreateTaskResponse_Data proto.InternalMessageInfo
func (m *CreateTaskResponse_Data) GetId() string {
if m != nil {
return m.Id
}
return ""
}
//
//CreateTaskApi返回
type CreateTaskResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *CreateTaskResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateTaskResponseWrapper) Reset() { *m = CreateTaskResponseWrapper{} }
func (m *CreateTaskResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*CreateTaskResponseWrapper) ProtoMessage() {}
func (*CreateTaskResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_5f57290545750a0b, []int{1}
}
func (m *CreateTaskResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateTaskResponseWrapper.Unmarshal(m, b)
}
func (m *CreateTaskResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateTaskResponseWrapper.Marshal(b, m, deterministic)
}
func (m *CreateTaskResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateTaskResponseWrapper.Merge(m, src)
}
func (m *CreateTaskResponseWrapper) XXX_Size() int {
return xxx_messageInfo_CreateTaskResponseWrapper.Size(m)
}
func (m *CreateTaskResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_CreateTaskResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_CreateTaskResponseWrapper proto.InternalMessageInfo
func (m *CreateTaskResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *CreateTaskResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *CreateTaskResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *CreateTaskResponseWrapper) GetData() *CreateTaskResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*CreateTaskResponse)(nil), "task.CreateTaskResponse")
proto.RegisterType((*CreateTaskResponse_Data)(nil), "task.CreateTaskResponse.Data")
proto.RegisterType((*CreateTaskResponseWrapper)(nil), "task.CreateTaskResponseWrapper")
}
func init() { proto.RegisterFile("create_task.proto", fileDescriptor_5f57290545750a0b) }
var fileDescriptor_5f57290545750a0b = []byte{
// 371 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xdf, 0x4a, 0xf3, 0x30,
0x18, 0xc6, 0xe9, 0xd6, 0x7d, 0xd0, 0xec, 0x43, 0x5d, 0x04, 0xa9, 0x43, 0x69, 0x89, 0x43, 0x76,
0xd2, 0x56, 0xe6, 0x10, 0x15, 0x3d, 0xb0, 0xfe, 0xb9, 0x80, 0x22, 0x78, 0x20, 0x2a, 0x59, 0x9b,
0xc5, 0xb2, 0x75, 0x29, 0x49,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