go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/prjmanager/prjpb/tasks.pb.go (about) 1 // Copyright 2020 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/cv/internal/prjmanager/prjpb/tasks.proto 20 21 package prjpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 // ManageProjectTask sends a signal to ProjectManager to process events. 39 // 40 // Always used with de-duplication and thus can't be created from a transaction. 41 // 42 // Queue: "manage-project". 43 type ManageProjectTask struct { 44 state protoimpl.MessageState 45 sizeCache protoimpl.SizeCache 46 unknownFields protoimpl.UnknownFields 47 48 LuciProject string `protobuf:"bytes,1,opt,name=luci_project,json=luciProject,proto3" json:"luci_project,omitempty"` 49 Eta *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=eta,proto3" json:"eta,omitempty"` 50 } 51 52 func (x *ManageProjectTask) Reset() { 53 *x = ManageProjectTask{} 54 if protoimpl.UnsafeEnabled { 55 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[0] 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 ms.StoreMessageInfo(mi) 58 } 59 } 60 61 func (x *ManageProjectTask) String() string { 62 return protoimpl.X.MessageStringOf(x) 63 } 64 65 func (*ManageProjectTask) ProtoMessage() {} 66 67 func (x *ManageProjectTask) ProtoReflect() protoreflect.Message { 68 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[0] 69 if protoimpl.UnsafeEnabled && x != nil { 70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 71 if ms.LoadMessageInfo() == nil { 72 ms.StoreMessageInfo(mi) 73 } 74 return ms 75 } 76 return mi.MessageOf(x) 77 } 78 79 // Deprecated: Use ManageProjectTask.ProtoReflect.Descriptor instead. 80 func (*ManageProjectTask) Descriptor() ([]byte, []int) { 81 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescGZIP(), []int{0} 82 } 83 84 func (x *ManageProjectTask) GetLuciProject() string { 85 if x != nil { 86 return x.LuciProject 87 } 88 return "" 89 } 90 91 func (x *ManageProjectTask) GetEta() *timestamppb.Timestamp { 92 if x != nil { 93 return x.Eta 94 } 95 return nil 96 } 97 98 // KickManageProjectTask starts a task to actually enqueue ManageProjectTask. 99 // 100 // It exists in order to send a deduplicatable ManageProjectTask from a 101 // transaction. 102 // 103 // Queue: "kick-manage-project". 104 type KickManageProjectTask struct { 105 state protoimpl.MessageState 106 sizeCache protoimpl.SizeCache 107 unknownFields protoimpl.UnknownFields 108 109 LuciProject string `protobuf:"bytes,1,opt,name=luci_project,json=luciProject,proto3" json:"luci_project,omitempty"` 110 Eta *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=eta,proto3" json:"eta,omitempty"` 111 } 112 113 func (x *KickManageProjectTask) Reset() { 114 *x = KickManageProjectTask{} 115 if protoimpl.UnsafeEnabled { 116 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[1] 117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 118 ms.StoreMessageInfo(mi) 119 } 120 } 121 122 func (x *KickManageProjectTask) String() string { 123 return protoimpl.X.MessageStringOf(x) 124 } 125 126 func (*KickManageProjectTask) ProtoMessage() {} 127 128 func (x *KickManageProjectTask) ProtoReflect() protoreflect.Message { 129 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_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 KickManageProjectTask.ProtoReflect.Descriptor instead. 141 func (*KickManageProjectTask) Descriptor() ([]byte, []int) { 142 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescGZIP(), []int{1} 143 } 144 145 func (x *KickManageProjectTask) GetLuciProject() string { 146 if x != nil { 147 return x.LuciProject 148 } 149 return "" 150 } 151 152 func (x *KickManageProjectTask) GetEta() *timestamppb.Timestamp { 153 if x != nil { 154 return x.Eta 155 } 156 return nil 157 } 158 159 // PurgeCLTask starts a task to purge a CL. 160 // 161 // Queue: "purge-project-cl". 162 type PurgeCLTask struct { 163 state protoimpl.MessageState 164 sizeCache protoimpl.SizeCache 165 unknownFields protoimpl.UnknownFields 166 167 LuciProject string `protobuf:"bytes,1,opt,name=luci_project,json=luciProject,proto3" json:"luci_project,omitempty"` 168 PurgingCl *PurgingCL `protobuf:"bytes,2,opt,name=purging_cl,json=purgingCl,proto3" json:"purging_cl,omitempty"` 169 PurgeReasons []*PurgeReason `protobuf:"bytes,7,rep,name=purge_reasons,json=purgeReasons,proto3" json:"purge_reasons,omitempty"` 170 // Applicable config groups of this CL within the given LUCI Project. 171 ConfigGroups []string `protobuf:"bytes,6,rep,name=config_groups,json=configGroups,proto3" json:"config_groups,omitempty"` 172 } 173 174 func (x *PurgeCLTask) Reset() { 175 *x = PurgeCLTask{} 176 if protoimpl.UnsafeEnabled { 177 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[2] 178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 179 ms.StoreMessageInfo(mi) 180 } 181 } 182 183 func (x *PurgeCLTask) String() string { 184 return protoimpl.X.MessageStringOf(x) 185 } 186 187 func (*PurgeCLTask) ProtoMessage() {} 188 189 func (x *PurgeCLTask) ProtoReflect() protoreflect.Message { 190 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[2] 191 if protoimpl.UnsafeEnabled && x != nil { 192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 193 if ms.LoadMessageInfo() == nil { 194 ms.StoreMessageInfo(mi) 195 } 196 return ms 197 } 198 return mi.MessageOf(x) 199 } 200 201 // Deprecated: Use PurgeCLTask.ProtoReflect.Descriptor instead. 202 func (*PurgeCLTask) Descriptor() ([]byte, []int) { 203 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescGZIP(), []int{2} 204 } 205 206 func (x *PurgeCLTask) GetLuciProject() string { 207 if x != nil { 208 return x.LuciProject 209 } 210 return "" 211 } 212 213 func (x *PurgeCLTask) GetPurgingCl() *PurgingCL { 214 if x != nil { 215 return x.PurgingCl 216 } 217 return nil 218 } 219 220 func (x *PurgeCLTask) GetPurgeReasons() []*PurgeReason { 221 if x != nil { 222 return x.PurgeReasons 223 } 224 return nil 225 } 226 227 func (x *PurgeCLTask) GetConfigGroups() []string { 228 if x != nil { 229 return x.ConfigGroups 230 } 231 return nil 232 } 233 234 // TriggeringDepsTask starts a task to trigger the deps of a CL. 235 // 236 // Queue: "trigger-project-cl-deps" 237 type TriggeringCLDepsTask struct { 238 state protoimpl.MessageState 239 sizeCache protoimpl.SizeCache 240 unknownFields protoimpl.UnknownFields 241 242 LuciProject string `protobuf:"bytes,1,opt,name=luci_project,json=luciProject,proto3" json:"luci_project,omitempty"` 243 TriggeringClDeps *TriggeringCLDeps `protobuf:"bytes,2,opt,name=triggering_cl_deps,json=triggeringClDeps,proto3" json:"triggering_cl_deps,omitempty"` 244 } 245 246 func (x *TriggeringCLDepsTask) Reset() { 247 *x = TriggeringCLDepsTask{} 248 if protoimpl.UnsafeEnabled { 249 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[3] 250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 251 ms.StoreMessageInfo(mi) 252 } 253 } 254 255 func (x *TriggeringCLDepsTask) String() string { 256 return protoimpl.X.MessageStringOf(x) 257 } 258 259 func (*TriggeringCLDepsTask) ProtoMessage() {} 260 261 func (x *TriggeringCLDepsTask) ProtoReflect() protoreflect.Message { 262 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[3] 263 if protoimpl.UnsafeEnabled && x != nil { 264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 265 if ms.LoadMessageInfo() == nil { 266 ms.StoreMessageInfo(mi) 267 } 268 return ms 269 } 270 return mi.MessageOf(x) 271 } 272 273 // Deprecated: Use TriggeringCLDepsTask.ProtoReflect.Descriptor instead. 274 func (*TriggeringCLDepsTask) Descriptor() ([]byte, []int) { 275 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescGZIP(), []int{3} 276 } 277 278 func (x *TriggeringCLDepsTask) GetLuciProject() string { 279 if x != nil { 280 return x.LuciProject 281 } 282 return "" 283 } 284 285 func (x *TriggeringCLDepsTask) GetTriggeringClDeps() *TriggeringCLDeps { 286 if x != nil { 287 return x.TriggeringClDeps 288 } 289 return nil 290 } 291 292 var File_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto protoreflect.FileDescriptor 293 294 var file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDesc = []byte{ 295 0x0a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 296 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 297 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x70, 0x72, 298 0x6a, 0x70, 0x62, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 299 0x1c, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6a, 300 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x1a, 0x1f, 0x67, 301 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 302 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 303 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 304 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 305 0x2f, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6a, 0x70, 306 0x62, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 307 0x64, 0x0a, 0x11, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 308 0x54, 0x61, 0x73, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x70, 0x72, 0x6f, 309 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x69, 310 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x74, 0x61, 0x18, 0x02, 311 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 312 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 313 0x52, 0x03, 0x65, 0x74, 0x61, 0x22, 0x68, 0x0a, 0x15, 0x4b, 0x69, 0x63, 0x6b, 0x4d, 0x61, 0x6e, 314 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x21, 315 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 316 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x69, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 317 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 318 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 319 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x74, 0x61, 0x22, 320 0xf9, 0x01, 0x0a, 0x0b, 0x50, 0x75, 0x72, 0x67, 0x65, 0x43, 0x4c, 0x54, 0x61, 0x73, 0x6b, 0x12, 321 0x21, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 322 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x69, 0x50, 0x72, 0x6f, 0x6a, 0x65, 323 0x63, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x75, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6c, 324 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 325 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 326 0x70, 0x72, 0x6a, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x4c, 0x52, 327 0x09, 0x70, 0x75, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x12, 0x4e, 0x0a, 0x0d, 0x70, 0x75, 328 0x72, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 329 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 330 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 0x70, 0x62, 331 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0c, 0x70, 0x75, 332 0x72, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 333 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 334 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x4a, 335 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x97, 0x01, 0x0a, 0x14, 336 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x4c, 0x44, 0x65, 0x70, 0x73, 337 0x54, 0x61, 0x73, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x70, 0x72, 0x6f, 338 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x69, 339 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x5c, 0x0a, 0x12, 0x74, 0x72, 0x69, 0x67, 0x67, 340 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6c, 0x5f, 0x64, 0x65, 0x70, 0x73, 0x18, 0x02, 0x20, 341 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 342 0x6c, 0x2e, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 343 0x70, 0x62, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x4c, 0x44, 344 0x65, 0x70, 0x73, 0x52, 0x10, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43, 345 0x6c, 0x44, 0x65, 0x70, 0x73, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 346 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 347 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 348 0x61, 0x67, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x3b, 0x70, 0x72, 0x6a, 0x70, 0x62, 349 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 350 } 351 352 var ( 353 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescOnce sync.Once 354 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescData = file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDesc 355 ) 356 357 func file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescGZIP() []byte { 358 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescOnce.Do(func() { 359 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescData) 360 }) 361 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDescData 362 } 363 364 var file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 365 var file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_goTypes = []interface{}{ 366 (*ManageProjectTask)(nil), // 0: cv.internal.prjmanager.prjpb.ManageProjectTask 367 (*KickManageProjectTask)(nil), // 1: cv.internal.prjmanager.prjpb.KickManageProjectTask 368 (*PurgeCLTask)(nil), // 2: cv.internal.prjmanager.prjpb.PurgeCLTask 369 (*TriggeringCLDepsTask)(nil), // 3: cv.internal.prjmanager.prjpb.TriggeringCLDepsTask 370 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp 371 (*PurgingCL)(nil), // 5: cv.internal.prjmanager.prjpb.PurgingCL 372 (*PurgeReason)(nil), // 6: cv.internal.prjmanager.prjpb.PurgeReason 373 (*TriggeringCLDeps)(nil), // 7: cv.internal.prjmanager.prjpb.TriggeringCLDeps 374 } 375 var file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_depIdxs = []int32{ 376 4, // 0: cv.internal.prjmanager.prjpb.ManageProjectTask.eta:type_name -> google.protobuf.Timestamp 377 4, // 1: cv.internal.prjmanager.prjpb.KickManageProjectTask.eta:type_name -> google.protobuf.Timestamp 378 5, // 2: cv.internal.prjmanager.prjpb.PurgeCLTask.purging_cl:type_name -> cv.internal.prjmanager.prjpb.PurgingCL 379 6, // 3: cv.internal.prjmanager.prjpb.PurgeCLTask.purge_reasons:type_name -> cv.internal.prjmanager.prjpb.PurgeReason 380 7, // 4: cv.internal.prjmanager.prjpb.TriggeringCLDepsTask.triggering_cl_deps:type_name -> cv.internal.prjmanager.prjpb.TriggeringCLDeps 381 5, // [5:5] is the sub-list for method output_type 382 5, // [5:5] is the sub-list for method input_type 383 5, // [5:5] is the sub-list for extension type_name 384 5, // [5:5] is the sub-list for extension extendee 385 0, // [0:5] is the sub-list for field type_name 386 } 387 388 func init() { file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_init() } 389 func file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_init() { 390 if File_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto != nil { 391 return 392 } 393 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_storage_proto_init() 394 if !protoimpl.UnsafeEnabled { 395 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 396 switch v := v.(*ManageProjectTask); i { 397 case 0: 398 return &v.state 399 case 1: 400 return &v.sizeCache 401 case 2: 402 return &v.unknownFields 403 default: 404 return nil 405 } 406 } 407 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 408 switch v := v.(*KickManageProjectTask); i { 409 case 0: 410 return &v.state 411 case 1: 412 return &v.sizeCache 413 case 2: 414 return &v.unknownFields 415 default: 416 return nil 417 } 418 } 419 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 420 switch v := v.(*PurgeCLTask); i { 421 case 0: 422 return &v.state 423 case 1: 424 return &v.sizeCache 425 case 2: 426 return &v.unknownFields 427 default: 428 return nil 429 } 430 } 431 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 432 switch v := v.(*TriggeringCLDepsTask); i { 433 case 0: 434 return &v.state 435 case 1: 436 return &v.sizeCache 437 case 2: 438 return &v.unknownFields 439 default: 440 return nil 441 } 442 } 443 } 444 type x struct{} 445 out := protoimpl.TypeBuilder{ 446 File: protoimpl.DescBuilder{ 447 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 448 RawDescriptor: file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDesc, 449 NumEnums: 0, 450 NumMessages: 4, 451 NumExtensions: 0, 452 NumServices: 0, 453 }, 454 GoTypes: file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_goTypes, 455 DependencyIndexes: file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_depIdxs, 456 MessageInfos: file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_msgTypes, 457 }.Build() 458 File_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto = out.File 459 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_rawDesc = nil 460 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_goTypes = nil 461 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_tasks_proto_depIdxs = nil 462 }