Debian Codegraph @

go/svc/cliupdate/v1/service.pb.go

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