-
Notifications
You must be signed in to change notification settings - Fork 1
/
get_tool_categories.pb.go
196 lines (175 loc) · 7.22 KB
/
get_tool_categories.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: get_tool_categories.proto
package basic
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
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
//
//GetToolCategories返回
type GetToolCategoriesResponse struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//错误信息
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error" form:"error"`
//
//返回消息
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message" form:"message"`
//
//工具分类
Data []string `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetToolCategoriesResponse) Reset() { *m = GetToolCategoriesResponse{} }
func (m *GetToolCategoriesResponse) String() string { return proto.CompactTextString(m) }
func (*GetToolCategoriesResponse) ProtoMessage() {}
func (*GetToolCategoriesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f9f2486a8cd0ffa7, []int{0}
}
func (m *GetToolCategoriesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetToolCategoriesResponse.Unmarshal(m, b)
}
func (m *GetToolCategoriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetToolCategoriesResponse.Marshal(b, m, deterministic)
}
func (m *GetToolCategoriesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetToolCategoriesResponse.Merge(m, src)
}
func (m *GetToolCategoriesResponse) XXX_Size() int {
return xxx_messageInfo_GetToolCategoriesResponse.Size(m)
}
func (m *GetToolCategoriesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetToolCategoriesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetToolCategoriesResponse proto.InternalMessageInfo
func (m *GetToolCategoriesResponse) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *GetToolCategoriesResponse) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *GetToolCategoriesResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *GetToolCategoriesResponse) GetData() []string {
if m != nil {
return m.Data
}
return nil
}
//
//GetToolCategoriesApi返回
type GetToolCategoriesResponseWrapper 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 *GetToolCategoriesResponse `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 *GetToolCategoriesResponseWrapper) Reset() { *m = GetToolCategoriesResponseWrapper{} }
func (m *GetToolCategoriesResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*GetToolCategoriesResponseWrapper) ProtoMessage() {}
func (*GetToolCategoriesResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_f9f2486a8cd0ffa7, []int{1}
}
func (m *GetToolCategoriesResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetToolCategoriesResponseWrapper.Unmarshal(m, b)
}
func (m *GetToolCategoriesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetToolCategoriesResponseWrapper.Marshal(b, m, deterministic)
}
func (m *GetToolCategoriesResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetToolCategoriesResponseWrapper.Merge(m, src)
}
func (m *GetToolCategoriesResponseWrapper) XXX_Size() int {
return xxx_messageInfo_GetToolCategoriesResponseWrapper.Size(m)
}
func (m *GetToolCategoriesResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_GetToolCategoriesResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_GetToolCategoriesResponseWrapper proto.InternalMessageInfo
func (m *GetToolCategoriesResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *GetToolCategoriesResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *GetToolCategoriesResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *GetToolCategoriesResponseWrapper) GetData() *GetToolCategoriesResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*GetToolCategoriesResponse)(nil), "basic.GetToolCategoriesResponse")
proto.RegisterType((*GetToolCategoriesResponseWrapper)(nil), "basic.GetToolCategoriesResponseWrapper")
}
func init() { proto.RegisterFile("get_tool_categories.proto", fileDescriptor_f9f2486a8cd0ffa7) }
var fileDescriptor_f9f2486a8cd0ffa7 = []byte{
// 290 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xfc, 0x30,
0x10, 0xc6, 0xc9, 0xbf, 0xdb, 0xbf, 0x6c, 0x2a, 0x2a, 0x39, 0x48, 0xd7, 0x4b, 0x4b, 0x04, 0xe9,
0x41, 0xbb, 0xa0, 0x17, 0xf1, 0xb8, 0xb2, 0x78, 0x0f, 0x82, 0xc7, 0x25, 0xed, 0xce, 0xc6, 0x42,
0xbb, 0x53, 0x92, 0x2c, 0xf8, 0x6e, 0xbe, 0x4b, 0x9f, 0x41, 0xfa, 0x04, 0xd2, 0xb4, 0xee, 0xee,
0xa5, 0xe2, 0x29, 0x99, 0xef, 0xfb, 0x92, 0x99, 0x1f, 0x43, 0x67, 0x0a, 0xec, 0xca, 0x22, 0x96,
0xab, 0x5c, 0x5a, 0x50, 0xa8, 0x0b, 0x30, 0x69, 0xad, 0xd1, 0x22, 0xf3, 0x33, 0x69, 0x8a, 0xfc,
0xea, 0x4e, 0x15, 0xf6, 0x7d, 0x97, 0xa5, 0x39, 0x56, 0x73, 0x85, 0x0a, 0xe7, 0xce, 0xcd, 0x76,
0x1b, 0x57, 0xb9, 0xc2, 0xdd, 0xfa, 0x57, 0xfc, 0x93, 0xd0, 0xd9, 0x0b, 0xd8, 0x57, 0xc4, 0xf2,
0x79, 0xff, 0xa3, 0x00, 0x53, 0xe3, 0xd6, 0x00, 0xbb, 0xa6, 0x93, 0x1c, 0xd7, 0x10, 0x92, 0x98,
0x24, 0xfe, 0xe2, 0xbc, 0x6d, 0xa2, 0x60, 0x83, 0xba, 0x7a, 0xe2, 0x9d, 0xca, 0x85, 0x33, 0xd9,
0x0d, 0xf5, 0x41, 0x6b, 0xd4, 0xe1, 0xbf, 0x98, 0x24, 0xd3,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