/
get_app_dependencies.pb.go
289 lines (260 loc) · 11.8 KB
/
get_app_dependencies.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: get_app_dependencies.proto
package desktop
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
//
//GetAppDependencies请求
type GetAppDependenciesRequest struct {
//
//小产品id
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId" form:"appId"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetAppDependenciesRequest) Reset() { *m = GetAppDependenciesRequest{} }
func (m *GetAppDependenciesRequest) String() string { return proto.CompactTextString(m) }
func (*GetAppDependenciesRequest) ProtoMessage() {}
func (*GetAppDependenciesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2b25f48986be4092, []int{0}
}
func (m *GetAppDependenciesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAppDependenciesRequest.Unmarshal(m, b)
}
func (m *GetAppDependenciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAppDependenciesRequest.Marshal(b, m, deterministic)
}
func (m *GetAppDependenciesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAppDependenciesRequest.Merge(m, src)
}
func (m *GetAppDependenciesRequest) XXX_Size() int {
return xxx_messageInfo_GetAppDependenciesRequest.Size(m)
}
func (m *GetAppDependenciesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetAppDependenciesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetAppDependenciesRequest proto.InternalMessageInfo
func (m *GetAppDependenciesRequest) GetAppId() string {
if m != nil {
return m.AppId
}
return ""
}
//
//GetAppDependencies返回
type GetAppDependenciesResponse struct {
//
//依赖信息列表
Dependencies []*GetAppDependenciesResponse_Dependencies `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies" form:"dependencies"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetAppDependenciesResponse) Reset() { *m = GetAppDependenciesResponse{} }
func (m *GetAppDependenciesResponse) String() string { return proto.CompactTextString(m) }
func (*GetAppDependenciesResponse) ProtoMessage() {}
func (*GetAppDependenciesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2b25f48986be4092, []int{1}
}
func (m *GetAppDependenciesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAppDependenciesResponse.Unmarshal(m, b)
}
func (m *GetAppDependenciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAppDependenciesResponse.Marshal(b, m, deterministic)
}
func (m *GetAppDependenciesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAppDependenciesResponse.Merge(m, src)
}
func (m *GetAppDependenciesResponse) XXX_Size() int {
return xxx_messageInfo_GetAppDependenciesResponse.Size(m)
}
func (m *GetAppDependenciesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetAppDependenciesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetAppDependenciesResponse proto.InternalMessageInfo
func (m *GetAppDependenciesResponse) GetDependencies() []*GetAppDependenciesResponse_Dependencies {
if m != nil {
return m.Dependencies
}
return nil
}
type GetAppDependenciesResponse_Dependencies struct {
//
//依赖组件
PackageName string `protobuf:"bytes,1,opt,name=packageName,proto3" json:"packageName" form:"packageName"`
//
//依赖版本
Constraint string `protobuf:"bytes,2,opt,name=constraint,proto3" json:"constraint" form:"constraint"`
//
//当前版本
CurrentVersion string `protobuf:"bytes,3,opt,name=currentVersion,proto3" json:"currentVersion" form:"currentVersion"`
//
//当前版本是否符合依赖
MeetConstraint bool `protobuf:"varint,4,opt,name=meetConstraint,proto3" json:"meetConstraint" form:"meetConstraint"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetAppDependenciesResponse_Dependencies) Reset() {
*m = GetAppDependenciesResponse_Dependencies{}
}
func (m *GetAppDependenciesResponse_Dependencies) String() string { return proto.CompactTextString(m) }
func (*GetAppDependenciesResponse_Dependencies) ProtoMessage() {}
func (*GetAppDependenciesResponse_Dependencies) Descriptor() ([]byte, []int) {
return fileDescriptor_2b25f48986be4092, []int{1, 0}
}
func (m *GetAppDependenciesResponse_Dependencies) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAppDependenciesResponse_Dependencies.Unmarshal(m, b)
}
func (m *GetAppDependenciesResponse_Dependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAppDependenciesResponse_Dependencies.Marshal(b, m, deterministic)
}
func (m *GetAppDependenciesResponse_Dependencies) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAppDependenciesResponse_Dependencies.Merge(m, src)
}
func (m *GetAppDependenciesResponse_Dependencies) XXX_Size() int {
return xxx_messageInfo_GetAppDependenciesResponse_Dependencies.Size(m)
}
func (m *GetAppDependenciesResponse_Dependencies) XXX_DiscardUnknown() {
xxx_messageInfo_GetAppDependenciesResponse_Dependencies.DiscardUnknown(m)
}
var xxx_messageInfo_GetAppDependenciesResponse_Dependencies proto.InternalMessageInfo
func (m *GetAppDependenciesResponse_Dependencies) GetPackageName() string {
if m != nil {
return m.PackageName
}
return ""
}
func (m *GetAppDependenciesResponse_Dependencies) GetConstraint() string {
if m != nil {
return m.Constraint
}
return ""
}
func (m *GetAppDependenciesResponse_Dependencies) GetCurrentVersion() string {
if m != nil {
return m.CurrentVersion
}
return ""
}
func (m *GetAppDependenciesResponse_Dependencies) GetMeetConstraint() bool {
if m != nil {
return m.MeetConstraint
}
return false
}
//
//GetAppDependenciesApi返回
type GetAppDependenciesResponseWrapper 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 *GetAppDependenciesResponse `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 *GetAppDependenciesResponseWrapper) Reset() { *m = GetAppDependenciesResponseWrapper{} }
func (m *GetAppDependenciesResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*GetAppDependenciesResponseWrapper) ProtoMessage() {}
func (*GetAppDependenciesResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_2b25f48986be4092, []int{2}
}
func (m *GetAppDependenciesResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAppDependenciesResponseWrapper.Unmarshal(m, b)
}
func (m *GetAppDependenciesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAppDependenciesResponseWrapper.Marshal(b, m, deterministic)
}
func (m *GetAppDependenciesResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAppDependenciesResponseWrapper.Merge(m, src)
}
func (m *GetAppDependenciesResponseWrapper) XXX_Size() int {
return xxx_messageInfo_GetAppDependenciesResponseWrapper.Size(m)
}
func (m *GetAppDependenciesResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_GetAppDependenciesResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_GetAppDependenciesResponseWrapper proto.InternalMessageInfo
func (m *GetAppDependenciesResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *GetAppDependenciesResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *GetAppDependenciesResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *GetAppDependenciesResponseWrapper) GetData() *GetAppDependenciesResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*GetAppDependenciesRequest)(nil), "desktop.GetAppDependenciesRequest")
proto.RegisterType((*GetAppDependenciesResponse)(nil), "desktop.GetAppDependenciesResponse")
proto.RegisterType((*GetAppDependenciesResponse_Dependencies)(nil), "desktop.GetAppDependenciesResponse.Dependencies")
proto.RegisterType((*GetAppDependenciesResponseWrapper)(nil), "desktop.GetAppDependenciesResponseWrapper")
}
func init() { proto.RegisterFile("get_app_dependencies.proto", fileDescriptor_2b25f48986be4092) }
var fileDescriptor_2b25f48986be4092 = []byte{
// 410 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4b, 0x6e, 0xdb, 0x30,
0x10, 0x86, 0x21, 0x3f, 0xfa, 0xa0, 0x8c, 0x3e, 0x58, 0xb8, 0x95, 0xb5, 0x91, 0x4b, 0x03, 0x85,
0x37, 0x95, 0x0b, 0x17, 0x05, 0x8a, 0xee, 0x6c, 0xb7, 0x68, 0xbb, 0xc9, 0x82, 0x8b, 0x64, 0x69,
0xd0, 0xd2, 0x58, 0x11, 0x1c, 0x91, 0x0c, 0x45, 0x01, 0xb9, 0x40, 0x4e, 0x90, 0xfb, 0xe9, 0x10,
0x42, 0x0e, 0x10, 0x88, 0x52, 0x60, 0xda, 0x88, 0x81, 0xac, 0x24, 0xf2, 0x9f, 0xef, 0xe7, 0xcc,
0x8f, 0x41, 0x7e, 0x02, 0x7a, 0xcd, 0xa4, 0x5c, 0xc7, 0x20, 0x81, 0xc7, 0xc0, 0xa3, 0x14, 0xf2,
0x50, 0x2a, 0xa1, 0x05, 0x7e, 0x19, 0x43, 0xbe, 0xd3, 0x42, 0xfa, 0x5f, 0x93, 0x54, 0x5f, 0x16,
0x9b, 0x30, 0x12, 0xd9, 0x2c, 0x11, 0x89, 0x98, 0x19, 0x7d, 0x53, 0x6c, 0xcd, 0xc9, 0x1c, 0xcc,
0x5f, 0xc3, 0x91, 0x15, 0x1a, 0xfd, 0x05, 0xbd, 0x90, 0xf2, 0xb7, 0xe5, 0x49, 0xe1, 0xba, 0x80,
0x5c, 0xe3, 0x2f, 0xa8, 0xcf, 0xa4, 0xfc, 0x1f, 0x7b, 0xce, 0xd8, 0x99, 0xbe, 0x5e, 0xbe, 0xab,
0xca, 0x60, 0xb0, 0x15, 0x2a, 0xfb, 0x45, 0xcc, 0x35, 0xa1, 0x8d, 0x4c, 0xee, 0xba, 0xc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