go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/configs/prjcfg/refresher/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/configs/prjcfg/refresher/tasks.proto 20 21 package refresher 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 // RefreshProjectConfigTask is used to import latest CV config for a LUCI 38 // Project from LUCI Config or disable a LUCI Project if `disable` is true. 39 // 40 // Queue: "refresh-project-config". 41 type RefreshProjectConfigTask struct { 42 state protoimpl.MessageState 43 sizeCache protoimpl.SizeCache 44 unknownFields protoimpl.UnknownFields 45 46 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` 47 Disable bool `protobuf:"varint,2,opt,name=disable,proto3" json:"disable,omitempty"` 48 } 49 50 func (x *RefreshProjectConfigTask) Reset() { 51 *x = RefreshProjectConfigTask{} 52 if protoimpl.UnsafeEnabled { 53 mi := &file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_msgTypes[0] 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 ms.StoreMessageInfo(mi) 56 } 57 } 58 59 func (x *RefreshProjectConfigTask) String() string { 60 return protoimpl.X.MessageStringOf(x) 61 } 62 63 func (*RefreshProjectConfigTask) ProtoMessage() {} 64 65 func (x *RefreshProjectConfigTask) ProtoReflect() protoreflect.Message { 66 mi := &file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_msgTypes[0] 67 if protoimpl.UnsafeEnabled && x != nil { 68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 69 if ms.LoadMessageInfo() == nil { 70 ms.StoreMessageInfo(mi) 71 } 72 return ms 73 } 74 return mi.MessageOf(x) 75 } 76 77 // Deprecated: Use RefreshProjectConfigTask.ProtoReflect.Descriptor instead. 78 func (*RefreshProjectConfigTask) Descriptor() ([]byte, []int) { 79 return file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDescGZIP(), []int{0} 80 } 81 82 func (x *RefreshProjectConfigTask) GetProject() string { 83 if x != nil { 84 return x.Project 85 } 86 return "" 87 } 88 89 func (x *RefreshProjectConfigTask) GetDisable() bool { 90 if x != nil { 91 return x.Disable 92 } 93 return false 94 } 95 96 var File_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto protoreflect.FileDescriptor 97 98 var file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDesc = []byte{ 99 0x0a, 0x45, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 100 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 101 0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x70, 0x72, 0x6a, 0x63, 0x66, 102 0x67, 0x2f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2f, 0x74, 0x61, 0x73, 0x6b, 103 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 104 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6a, 105 0x63, 0x66, 0x67, 0x2e, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x65, 0x72, 0x22, 0x4e, 0x0a, 106 0x18, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 107 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 108 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 109 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 110 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x45, 0x5a, 111 0x43, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 112 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 113 0x6c, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x70, 0x72, 0x6a, 0x63, 0x66, 0x67, 114 0x2f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x65, 0x72, 0x3b, 0x72, 0x65, 0x66, 0x72, 0x65, 115 0x73, 0x68, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 116 } 117 118 var ( 119 file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDescOnce sync.Once 120 file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDescData = file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDesc 121 ) 122 123 func file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDescGZIP() []byte { 124 file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDescOnce.Do(func() { 125 file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDescData) 126 }) 127 return file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDescData 128 } 129 130 var file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 131 var file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_goTypes = []interface{}{ 132 (*RefreshProjectConfigTask)(nil), // 0: cv.internal.configs.prjcfg.refresher.RefreshProjectConfigTask 133 } 134 var file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_depIdxs = []int32{ 135 0, // [0:0] is the sub-list for method output_type 136 0, // [0:0] is the sub-list for method input_type 137 0, // [0:0] is the sub-list for extension type_name 138 0, // [0:0] is the sub-list for extension extendee 139 0, // [0:0] is the sub-list for field type_name 140 } 141 142 func init() { file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_init() } 143 func file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_init() { 144 if File_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto != nil { 145 return 146 } 147 if !protoimpl.UnsafeEnabled { 148 file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 149 switch v := v.(*RefreshProjectConfigTask); i { 150 case 0: 151 return &v.state 152 case 1: 153 return &v.sizeCache 154 case 2: 155 return &v.unknownFields 156 default: 157 return nil 158 } 159 } 160 } 161 type x struct{} 162 out := protoimpl.TypeBuilder{ 163 File: protoimpl.DescBuilder{ 164 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 165 RawDescriptor: file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDesc, 166 NumEnums: 0, 167 NumMessages: 1, 168 NumExtensions: 0, 169 NumServices: 0, 170 }, 171 GoTypes: file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_goTypes, 172 DependencyIndexes: file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_depIdxs, 173 MessageInfos: file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_msgTypes, 174 }.Build() 175 File_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto = out.File 176 file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_rawDesc = nil 177 file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_goTypes = nil 178 file_go_chromium_org_luci_cv_internal_configs_prjcfg_refresher_tasks_proto_depIdxs = nil 179 }