Debian Codegraph @

vendor/github.com/humanlogio/api/go/svc/cliupdate/v1/service.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.28.1
4 // protoc (unknown)
5 // source: svc/cliupdate/v1/service.proto
6
7 package cliupdatev1
8
9 import (
10 v1 "github.com/humanlogio/api/go/types/v1"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type GetNextUpdateRequest struct {
25 state protoimpl.MessageState
26 sizeCache protoimpl.SizeCache
27 unknownFields protoimpl.UnknownFields
28
29 ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
30 CurrentVersion *v1.Version `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
31 MachineArchitecture string `protobuf:"bytes,3,opt,name=machine_architecture,json=machineArchitecture,proto3" json:"machine_architecture,omitempty"`
32 MachineOperatingSystem string `protobuf:"bytes,4,opt,name=machine_operating_system,json=machineOperatingSystem,proto3" json:"machine_operating_system,omitempty"`
33 Meta *v1.ReqMeta `protobuf:"bytes,1000,opt,name=meta,proto3" json:"meta,omitempty"`
34 }
35
36 func (x *GetNextUpdateRequest) Reset() {
37 *x = GetNextUpdateRequest{}
38 if protoimpl.UnsafeEnabled {
39 mi := &file_svc_cliupdate_v1_service_proto_msgTypes[0]
40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41 ms.StoreMessageInfo(mi)
42 }
43 }
44
45 func (x *GetNextUpdateRequest) String() string {
46 return protoimpl.X.MessageStringOf(x)
47 }
48
49 func (*GetNextUpdateRequest) ProtoMessage() {}
50
51 func (x *GetNextUpdateRequest) ProtoReflect() protoreflect.Message {
52 mi := &file_svc_cliupdate_v1_service_proto_msgTypes[0]
53 if protoimpl.UnsafeEnabled && x != nil {
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 if ms.LoadMessageInfo() == nil {
56 ms.StoreMessageInfo(mi)
57 }
58 return ms
59 }
60 return mi.MessageOf(x)
61 }
62
63 // Deprecated: Use GetNextUpdateRequest.ProtoReflect.Descriptor instead.
64 func (*GetNextUpdateRequest) Descriptor() ([]byte, []int) {
65 return file_svc_cliupdate_v1_service_proto_rawDescGZIP(), []int{0}
66 }
67
68 func (x *GetNextUpdateRequest) GetProjectName() string {
69 if x != nil {
70 return x.ProjectName
71 }
72 return ""
73 }
74
75 func (x *GetNextUpdateRequest) GetCurrentVersion() *v1.Version {
76 if x != nil {
77 return x.CurrentVersion
78 }
79 return nil
80 }
81
82 func (x *GetNextUpdateRequest) GetMachineArchitecture() string {
83 if x != nil {
84 return x.MachineArchitecture
85 }
86 return ""
87 }
88
89 func (x *GetNextUpdateRequest) GetMachineOperatingSystem() string {
90 if x != nil {
91 return x.MachineOperatingSystem
92 }
93 return ""
94 }
95
96 func (x *GetNextUpdateRequest) GetMeta() *v1.ReqMeta {
97 if x != nil {
98 return x.Meta
99 }
100 return nil
101 }
102
103 type GetNextUpdateResponse struct {
104 state protoimpl.MessageState
105 sizeCache protoimpl.SizeCache
106 unknownFields protoimpl.UnknownFields
107
108 NextVersion *v1.Version `protobuf:"bytes,1,opt,name=next_version,json=nextVersion,proto3" json:"next_version,omitempty"`
109 NextArtifact *v1.VersionArtifact `protobuf:"bytes,2,opt,name=next_artifact,json=nextArtifact,proto3" json:"next_artifact,omitempty"`
110 Meta *v1.ResMeta `protobuf:"bytes,1000,opt,name=meta,proto3" json:"meta,omitempty"`
111 }
112
113 func (x *GetNextUpdateResponse) Reset() {
114 *x = GetNextUpdateResponse{}
115 if protoimpl.UnsafeEnabled {
116 mi := &file_svc_cliupdate_v1_service_proto_msgTypes[1]
117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
118 ms.StoreMessageInfo(mi)
119 }
120 }
121
122 func (x *GetNextUpdateResponse) String() string {
123 return protoimpl.X.MessageStringOf(x)
124 }
125
126 func (*GetNextUpdateResponse) ProtoMessage() {}
127
128 func (x *GetNextUpdateResponse) ProtoReflect() protoreflect.Message {
129 mi := &file_svc_cliupdate_v1_service_proto_msgTypes[1]
130 if protoimpl.UnsafeEnabled && x != nil {
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 if ms.LoadMessageInfo() == nil {
133 ms.StoreMessageInfo(mi)
134 }
135 return ms
136 }
137 return mi.MessageOf(x)
138 }
139
140 // Deprecated: Use GetNextUpdateResponse.ProtoReflect.Descriptor instead.
141 func (*GetNextUpdateResponse) Descriptor() ([]byte, []int) {
142 return file_svc_cliupdate_v1_service_proto_rawDescGZIP(), []int{1}
143 }
144
145 func (x *GetNextUpdateResponse) GetNextVersion() *v1.Version {
146 if x != nil {
147 return x.NextVersion
148 }
149 return nil
150 }
151
152 func (x *GetNextUpdateResponse) GetNextArtifact() *v1.VersionArtifact {
153 if x != nil {
154 return x.NextArtifact
155 }
156 return nil
157 }
158
159 func (x *GetNextUpdateResponse) GetMeta() *v1.ResMeta {
160 if x != nil {
161 return x.Meta
162 }
163 return nil
164 }
165
166 var File_svc_cliupdate_v1_service_proto protoreflect.FileDescriptor
167
168 var file_svc_cliupdate_v1_service_proto_rawDesc = []byte{
169 0x0a, 0x1e, 0x73, 0x76, 0x63, 0x2f, 0x63, 0x6c, 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f,
170 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
171 0x12, 0x10, 0x73, 0x76, 0x63, 0x2e, 0x63, 0x6c, 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e,
172 0x76, 0x31, 0x1a, 0x16, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x65, 0x72,
173 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x74, 0x79, 0x70, 0x65,
174 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x72, 0x74,
175 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x74, 0x79, 0x70,
176 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
177 0x22, 0x8a, 0x02, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61,
178 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f,
179 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
180 0x0b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0f,
181 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
182 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31,
183 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
184 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x14, 0x6d, 0x61, 0x63, 0x68,
185 0x69, 0x6e, 0x65, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65,
186 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x41,
187 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x6d,
188 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67,
189 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x6d,
190 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53,
191 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0xe8, 0x07,
192 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
193 0x52, 0x65, 0x71, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0xb5, 0x01,
194 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
195 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x5f,
196 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
197 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
198 0x52, 0x0b, 0x6e, 0x65, 0x78, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a,
199 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x02,
200 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
201 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52,
202 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x26, 0x0a,
203 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0xe8, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74,
204 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x52,
205 0x04, 0x6d, 0x65, 0x74, 0x61, 0x32, 0x73, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53,
206 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78,
207 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x63, 0x6c,
208 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x65,
209 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
210 0x27, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x63, 0x6c, 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e,
211 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
212 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xc1, 0x01, 0x0a, 0x14, 0x63,
213 0x6f, 0x6d, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x63, 0x6c, 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
214 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74,
215 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
216 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67,
217 0x6f, 0x2f, 0x73, 0x76, 0x63, 0x2f, 0x63, 0x6c, 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f,
218 0x76, 0x31, 0x3b, 0x63, 0x6c, 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x76, 0x31, 0xa2, 0x02,
219 0x03, 0x53, 0x43, 0x58, 0xaa, 0x02, 0x10, 0x53, 0x76, 0x63, 0x2e, 0x43, 0x6c, 0x69, 0x75, 0x70,
220 0x64, 0x61, 0x74, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x53, 0x76, 0x63, 0x5c, 0x43, 0x6c,
221 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x53, 0x76, 0x63,
222 0x5c, 0x43, 0x6c, 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
223 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x53, 0x76, 0x63, 0x3a,
224 0x3a, 0x43, 0x6c, 0x69, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
225 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
226 }
227
228 var (
229 file_svc_cliupdate_v1_service_proto_rawDescOnce sync.Once
230 file_svc_cliupdate_v1_service_proto_rawDescData = file_svc_cliupdate_v1_service_proto_rawDesc
231 )
232
233 func file_svc_cliupdate_v1_service_proto_rawDescGZIP() []byte {
234 file_svc_cliupdate_v1_service_proto_rawDescOnce.Do(func() {
235 file_svc_cliupdate_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_svc_cliupdate_v1_service_proto_rawDescData)
236 })
237 return file_svc_cliupdate_v1_service_proto_rawDescData
238 }
239
240 var file_svc_cliupdate_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
241 var file_svc_cliupdate_v1_service_proto_goTypes = []interface{}{
242 (*GetNextUpdateRequest)(nil), // 0: svc.cliupdate.v1.GetNextUpdateRequest
243 (*GetNextUpdateResponse)(nil), // 1: svc.cliupdate.v1.GetNextUpdateResponse
244 (*v1.Version)(nil), // 2: types.v1.Version
245 (*v1.ReqMeta)(nil), // 3: types.v1.ReqMeta
246 (*v1.VersionArtifact)(nil), // 4: types.v1.VersionArtifact
247 (*v1.ResMeta)(nil), // 5: types.v1.ResMeta
248 }
249 var file_svc_cliupdate_v1_service_proto_depIdxs = []int32{
250 2, // 0: svc.cliupdate.v1.GetNextUpdateRequest.current_version:type_name -> types.v1.Version
251 3, // 1: svc.cliupdate.v1.GetNextUpdateRequest.meta:type_name -> types.v1.ReqMeta
252 2, // 2: svc.cliupdate.v1.GetNextUpdateResponse.next_version:type_name -> types.v1.Version
253 4, // 3: svc.cliupdate.v1.GetNextUpdateResponse.next_artifact:type_name -> types.v1.VersionArtifact
254 5, // 4: svc.cliupdate.v1.GetNextUpdateResponse.meta:type_name -> types.v1.ResMeta
255 0, // 5: svc.cliupdate.v1.UpdateService.GetNextUpdate:input_type -> svc.cliupdate.v1.GetNextUpdateRequest
256 1, // 6: svc.cliupdate.v1.UpdateService.GetNextUpdate:output_type -> svc.cliupdate.v1.GetNextUpdateResponse
257 6, // [6:7] is the sub-list for method output_type
258 5, // [5:6] is the sub-list for method input_type
259 5, // [5:5] is the sub-list for extension type_name
260 5, // [5:5] is the sub-list for extension extendee
261 0, // [0:5] is the sub-list for field type_name
262 }
263
264 func init() { file_svc_cliupdate_v1_service_proto_init() }
265 func file_svc_cliupdate_v1_service_proto_init() {
266 if File_svc_cliupdate_v1_service_proto != nil {
267 return
268 }
269 if !protoimpl.UnsafeEnabled {
270 file_svc_cliupdate_v1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
271 switch v := v.(*GetNextUpdateRequest); i {
272 case 0:
273 return &v.state
274 case 1:
275 return &v.sizeCache
276 case 2:
277 return &v.unknownFields
278 default:
279 return nil
280 }
281 }
282 file_svc_cliupdate_v1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
283 switch v := v.(*GetNextUpdateResponse); i {
284 case 0:
285 return &v.state
286 case 1:
287 return &v.sizeCache
288 case 2:
289 return &v.unknownFields
290 default:
291 return nil
292 }
293 }
294 }
295 type x struct{}
296 out := protoimpl.TypeBuilder{
297 File: protoimpl.DescBuilder{
298 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
299 RawDescriptor: file_svc_cliupdate_v1_service_proto_rawDesc,
300 NumEnums: 0,
301 NumMessages: 2,
302 NumExtensions: 0,
303 NumServices: 1,
304 },
305 GoTypes: file_svc_cliupdate_v1_service_proto_goTypes,
306 DependencyIndexes: file_svc_cliupdate_v1_service_proto_depIdxs,
307 MessageInfos: file_svc_cliupdate_v1_service_proto_msgTypes,
308 }.Build()
309 File_svc_cliupdate_v1_service_proto = out.File
310 file_svc_cliupdate_v1_service_proto_rawDesc = nil
311 file_svc_cliupdate_v1_service_proto_goTypes = nil
312 file_svc_cliupdate_v1_service_proto_depIdxs = nil
313 }