go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cipkg/core/action.pb.go (about) 1 // Copyright 2023 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/cipkg/core/action.proto 20 21 package core 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 anypb "google.golang.org/protobuf/types/known/anypb" 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 // Action is a high level description of one node in the build graph. 39 // 40 // It includes a set of predefined verbs (e.g. `command`, `reexec`, ...) and 41 // provides the ability to add additional high level verbs within a single 42 // application // (`extension` field, see `cipkg/base/actions.SetTransformer` 43 // for additional details). 44 // 45 // Typically, Actions are produced via the Generation process (see 46 // `cipkg/base/generators“ for more details). 47 // 48 // An action's dependency on additional Actions forms the high level build 49 // graph. 50 // 51 // The Action graph is transformed into a Derivation graph via the 52 // ActionProcessor (see `cipkg/base/actions.ActionProcessor` for additional 53 // details). 54 // 55 // Actions exist apart from Derivations in order to maintain a 56 // serializable/debuggable structure which is higher level than the raw 57 // Derivations, which end up including system specific details. 58 type Action struct { 59 state protoimpl.MessageState 60 sizeCache protoimpl.SizeCache 61 unknownFields protoimpl.UnknownFields 62 63 // Name is required for all actions. It's the name of the action's output. 64 // The name shouldn't include version of the package and should represents 65 // its content (e.g. cpython3, curl, ninja), NOT the action taken place 66 // (e.g. build_cpython3, build_curl, build_ninja). 67 // This name doesn't need to be unique and won't be used for deduplication, 68 // but may be used as the placeholder for the path to the package during 69 // transformation. 70 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 71 // Metadata contains metadata information which won't affect the result of the 72 // output. It can be used by package manager for cache/store packages and 73 // helping users to identify its content. 74 Metadata *Action_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 75 // Dependencies which PackageManager will ensure being available prior to the 76 // execution of this Action. 77 // TODO: Maybe move dependencies into specs? 78 Deps []*Action `protobuf:"bytes,3,rep,name=deps,proto3" json:"deps,omitempty"` 79 // Spec is the action spec describing what action we want to perform. 80 // It can be extended using extension for domain-specific use cases. 81 // See cipkg/base/actions.ActionProcessor for additional details. 82 // 83 // Types that are assignable to Spec: 84 // 85 // *Action_Command 86 // *Action_Url 87 // *Action_Copy 88 // *Action_Cipd 89 // *Action_Extension 90 Spec isAction_Spec `protobuf_oneof:"spec"` 91 } 92 93 func (x *Action) Reset() { 94 *x = Action{} 95 if protoimpl.UnsafeEnabled { 96 mi := &file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[0] 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 ms.StoreMessageInfo(mi) 99 } 100 } 101 102 func (x *Action) String() string { 103 return protoimpl.X.MessageStringOf(x) 104 } 105 106 func (*Action) ProtoMessage() {} 107 108 func (x *Action) ProtoReflect() protoreflect.Message { 109 mi := &file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[0] 110 if protoimpl.UnsafeEnabled && x != nil { 111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 112 if ms.LoadMessageInfo() == nil { 113 ms.StoreMessageInfo(mi) 114 } 115 return ms 116 } 117 return mi.MessageOf(x) 118 } 119 120 // Deprecated: Use Action.ProtoReflect.Descriptor instead. 121 func (*Action) Descriptor() ([]byte, []int) { 122 return file_go_chromium_org_luci_cipkg_core_action_proto_rawDescGZIP(), []int{0} 123 } 124 125 func (x *Action) GetName() string { 126 if x != nil { 127 return x.Name 128 } 129 return "" 130 } 131 132 func (x *Action) GetMetadata() *Action_Metadata { 133 if x != nil { 134 return x.Metadata 135 } 136 return nil 137 } 138 139 func (x *Action) GetDeps() []*Action { 140 if x != nil { 141 return x.Deps 142 } 143 return nil 144 } 145 146 func (m *Action) GetSpec() isAction_Spec { 147 if m != nil { 148 return m.Spec 149 } 150 return nil 151 } 152 153 func (x *Action) GetCommand() *ActionCommand { 154 if x, ok := x.GetSpec().(*Action_Command); ok { 155 return x.Command 156 } 157 return nil 158 } 159 160 func (x *Action) GetUrl() *ActionURLFetch { 161 if x, ok := x.GetSpec().(*Action_Url); ok { 162 return x.Url 163 } 164 return nil 165 } 166 167 func (x *Action) GetCopy() *ActionFilesCopy { 168 if x, ok := x.GetSpec().(*Action_Copy); ok { 169 return x.Copy 170 } 171 return nil 172 } 173 174 func (x *Action) GetCipd() *ActionCIPDExport { 175 if x, ok := x.GetSpec().(*Action_Cipd); ok { 176 return x.Cipd 177 } 178 return nil 179 } 180 181 func (x *Action) GetExtension() *anypb.Any { 182 if x, ok := x.GetSpec().(*Action_Extension); ok { 183 return x.Extension 184 } 185 return nil 186 } 187 188 type isAction_Spec interface { 189 isAction_Spec() 190 } 191 192 type Action_Command struct { 193 Command *ActionCommand `protobuf:"bytes,4,opt,name=command,proto3,oneof"` 194 } 195 196 type Action_Url struct { 197 Url *ActionURLFetch `protobuf:"bytes,5,opt,name=url,proto3,oneof"` 198 } 199 200 type Action_Copy struct { 201 Copy *ActionFilesCopy `protobuf:"bytes,6,opt,name=copy,proto3,oneof"` 202 } 203 204 type Action_Cipd struct { 205 Cipd *ActionCIPDExport `protobuf:"bytes,7,opt,name=cipd,proto3,oneof"` 206 } 207 208 type Action_Extension struct { 209 Extension *anypb.Any `protobuf:"bytes,99,opt,name=extension,proto3,oneof"` 210 } 211 212 func (*Action_Command) isAction_Spec() {} 213 214 func (*Action_Url) isAction_Spec() {} 215 216 func (*Action_Copy) isAction_Spec() {} 217 218 func (*Action_Cipd) isAction_Spec() {} 219 220 func (*Action_Extension) isAction_Spec() {} 221 222 type Action_Metadata struct { 223 state protoimpl.MessageState 224 sizeCache protoimpl.SizeCache 225 unknownFields protoimpl.UnknownFields 226 227 // Dependencies which PackageManager will ensure being available prior to the 228 // use of this Action's output. 229 RuntimeDeps []*Action `protobuf:"bytes,1,rep,name=runtime_deps,json=runtimeDeps,proto3" json:"runtime_deps,omitempty"` 230 Cipd *Action_Metadata_CIPD `protobuf:"bytes,2,opt,name=cipd,proto3" json:"cipd,omitempty"` 231 } 232 233 func (x *Action_Metadata) Reset() { 234 *x = Action_Metadata{} 235 if protoimpl.UnsafeEnabled { 236 mi := &file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[1] 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 ms.StoreMessageInfo(mi) 239 } 240 } 241 242 func (x *Action_Metadata) String() string { 243 return protoimpl.X.MessageStringOf(x) 244 } 245 246 func (*Action_Metadata) ProtoMessage() {} 247 248 func (x *Action_Metadata) ProtoReflect() protoreflect.Message { 249 mi := &file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[1] 250 if protoimpl.UnsafeEnabled && x != nil { 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 if ms.LoadMessageInfo() == nil { 253 ms.StoreMessageInfo(mi) 254 } 255 return ms 256 } 257 return mi.MessageOf(x) 258 } 259 260 // Deprecated: Use Action_Metadata.ProtoReflect.Descriptor instead. 261 func (*Action_Metadata) Descriptor() ([]byte, []int) { 262 return file_go_chromium_org_luci_cipkg_core_action_proto_rawDescGZIP(), []int{0, 0} 263 } 264 265 func (x *Action_Metadata) GetRuntimeDeps() []*Action { 266 if x != nil { 267 return x.RuntimeDeps 268 } 269 return nil 270 } 271 272 func (x *Action_Metadata) GetCipd() *Action_Metadata_CIPD { 273 if x != nil { 274 return x.Cipd 275 } 276 return nil 277 } 278 279 type Action_Metadata_CIPD struct { 280 state protoimpl.MessageState 281 sizeCache protoimpl.SizeCache 282 unknownFields protoimpl.UnknownFields 283 284 // Name is the cipd package name for the Action's output. 285 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 286 // version is the cipd version tag for action's output. 287 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 288 } 289 290 func (x *Action_Metadata_CIPD) Reset() { 291 *x = Action_Metadata_CIPD{} 292 if protoimpl.UnsafeEnabled { 293 mi := &file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[2] 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 ms.StoreMessageInfo(mi) 296 } 297 } 298 299 func (x *Action_Metadata_CIPD) String() string { 300 return protoimpl.X.MessageStringOf(x) 301 } 302 303 func (*Action_Metadata_CIPD) ProtoMessage() {} 304 305 func (x *Action_Metadata_CIPD) ProtoReflect() protoreflect.Message { 306 mi := &file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[2] 307 if protoimpl.UnsafeEnabled && x != nil { 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 if ms.LoadMessageInfo() == nil { 310 ms.StoreMessageInfo(mi) 311 } 312 return ms 313 } 314 return mi.MessageOf(x) 315 } 316 317 // Deprecated: Use Action_Metadata_CIPD.ProtoReflect.Descriptor instead. 318 func (*Action_Metadata_CIPD) Descriptor() ([]byte, []int) { 319 return file_go_chromium_org_luci_cipkg_core_action_proto_rawDescGZIP(), []int{0, 0, 0} 320 } 321 322 func (x *Action_Metadata_CIPD) GetName() string { 323 if x != nil { 324 return x.Name 325 } 326 return "" 327 } 328 329 func (x *Action_Metadata_CIPD) GetVersion() string { 330 if x != nil { 331 return x.Version 332 } 333 return "" 334 } 335 336 var File_go_chromium_org_luci_cipkg_core_action_proto protoreflect.FileDescriptor 337 338 var file_go_chromium_org_luci_cipkg_core_action_proto_rawDesc = []byte{ 339 0x0a, 0x2c, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 340 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x69, 0x70, 0x6b, 0x67, 0x2f, 0x63, 0x6f, 0x72, 341 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 342 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 343 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 344 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 345 0x63, 0x69, 0x70, 0x6b, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x73, 346 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x03, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 347 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 348 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 349 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 350 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 351 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x04, 0x64, 0x65, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 352 0x0b, 0x32, 0x07, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x64, 0x65, 0x70, 0x73, 353 0x12, 0x2a, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 354 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 355 0x64, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x23, 0x0a, 0x03, 356 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x41, 0x63, 0x74, 0x69, 357 0x6f, 0x6e, 0x55, 0x52, 0x4c, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 358 0x6c, 0x12, 0x26, 0x0a, 0x04, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 359 0x10, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x70, 360 0x79, 0x48, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x70, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x63, 0x69, 0x70, 361 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 362 0x43, 0x49, 0x50, 0x44, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x00, 0x52, 0x04, 0x63, 0x69, 363 0x70, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 364 0x63, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 365 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x09, 0x65, 366 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x97, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x74, 367 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 368 0x5f, 0x64, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x41, 0x63, 369 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x70, 370 0x73, 0x12, 0x29, 0x0a, 0x04, 0x63, 0x69, 0x70, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 371 0x15, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 372 0x61, 0x2e, 0x43, 0x49, 0x50, 0x44, 0x52, 0x04, 0x63, 0x69, 0x70, 0x64, 0x1a, 0x34, 0x0a, 0x04, 373 0x43, 0x49, 0x50, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 374 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 375 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 376 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x6f, 377 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 378 0x63, 0x69, 0x2f, 0x63, 0x69, 0x70, 0x6b, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 379 0x72, 0x6f, 0x74, 0x6f, 0x33, 380 } 381 382 var ( 383 file_go_chromium_org_luci_cipkg_core_action_proto_rawDescOnce sync.Once 384 file_go_chromium_org_luci_cipkg_core_action_proto_rawDescData = file_go_chromium_org_luci_cipkg_core_action_proto_rawDesc 385 ) 386 387 func file_go_chromium_org_luci_cipkg_core_action_proto_rawDescGZIP() []byte { 388 file_go_chromium_org_luci_cipkg_core_action_proto_rawDescOnce.Do(func() { 389 file_go_chromium_org_luci_cipkg_core_action_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cipkg_core_action_proto_rawDescData) 390 }) 391 return file_go_chromium_org_luci_cipkg_core_action_proto_rawDescData 392 } 393 394 var file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 395 var file_go_chromium_org_luci_cipkg_core_action_proto_goTypes = []interface{}{ 396 (*Action)(nil), // 0: Action 397 (*Action_Metadata)(nil), // 1: Action.Metadata 398 (*Action_Metadata_CIPD)(nil), // 2: Action.Metadata.CIPD 399 (*ActionCommand)(nil), // 3: ActionCommand 400 (*ActionURLFetch)(nil), // 4: ActionURLFetch 401 (*ActionFilesCopy)(nil), // 5: ActionFilesCopy 402 (*ActionCIPDExport)(nil), // 6: ActionCIPDExport 403 (*anypb.Any)(nil), // 7: google.protobuf.Any 404 } 405 var file_go_chromium_org_luci_cipkg_core_action_proto_depIdxs = []int32{ 406 1, // 0: Action.metadata:type_name -> Action.Metadata 407 0, // 1: Action.deps:type_name -> Action 408 3, // 2: Action.command:type_name -> ActionCommand 409 4, // 3: Action.url:type_name -> ActionURLFetch 410 5, // 4: Action.copy:type_name -> ActionFilesCopy 411 6, // 5: Action.cipd:type_name -> ActionCIPDExport 412 7, // 6: Action.extension:type_name -> google.protobuf.Any 413 0, // 7: Action.Metadata.runtime_deps:type_name -> Action 414 2, // 8: Action.Metadata.cipd:type_name -> Action.Metadata.CIPD 415 9, // [9:9] is the sub-list for method output_type 416 9, // [9:9] is the sub-list for method input_type 417 9, // [9:9] is the sub-list for extension type_name 418 9, // [9:9] is the sub-list for extension extendee 419 0, // [0:9] is the sub-list for field type_name 420 } 421 422 func init() { file_go_chromium_org_luci_cipkg_core_action_proto_init() } 423 func file_go_chromium_org_luci_cipkg_core_action_proto_init() { 424 if File_go_chromium_org_luci_cipkg_core_action_proto != nil { 425 return 426 } 427 file_go_chromium_org_luci_cipkg_core_specs_proto_init() 428 if !protoimpl.UnsafeEnabled { 429 file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 430 switch v := v.(*Action); i { 431 case 0: 432 return &v.state 433 case 1: 434 return &v.sizeCache 435 case 2: 436 return &v.unknownFields 437 default: 438 return nil 439 } 440 } 441 file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 442 switch v := v.(*Action_Metadata); i { 443 case 0: 444 return &v.state 445 case 1: 446 return &v.sizeCache 447 case 2: 448 return &v.unknownFields 449 default: 450 return nil 451 } 452 } 453 file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 454 switch v := v.(*Action_Metadata_CIPD); i { 455 case 0: 456 return &v.state 457 case 1: 458 return &v.sizeCache 459 case 2: 460 return &v.unknownFields 461 default: 462 return nil 463 } 464 } 465 } 466 file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes[0].OneofWrappers = []interface{}{ 467 (*Action_Command)(nil), 468 (*Action_Url)(nil), 469 (*Action_Copy)(nil), 470 (*Action_Cipd)(nil), 471 (*Action_Extension)(nil), 472 } 473 type x struct{} 474 out := protoimpl.TypeBuilder{ 475 File: protoimpl.DescBuilder{ 476 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 477 RawDescriptor: file_go_chromium_org_luci_cipkg_core_action_proto_rawDesc, 478 NumEnums: 0, 479 NumMessages: 3, 480 NumExtensions: 0, 481 NumServices: 0, 482 }, 483 GoTypes: file_go_chromium_org_luci_cipkg_core_action_proto_goTypes, 484 DependencyIndexes: file_go_chromium_org_luci_cipkg_core_action_proto_depIdxs, 485 MessageInfos: file_go_chromium_org_luci_cipkg_core_action_proto_msgTypes, 486 }.Build() 487 File_go_chromium_org_luci_cipkg_core_action_proto = out.File 488 file_go_chromium_org_luci_cipkg_core_action_proto_rawDesc = nil 489 file_go_chromium_org_luci_cipkg_core_action_proto_goTypes = nil 490 file_go_chromium_org_luci_cipkg_core_action_proto_depIdxs = nil 491 }