go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/auth_service/api/taskspb/tasks.pb.go (about) 1 // Copyright 2022 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/auth_service/api/taskspb/tasks.proto 20 21 package taskspb 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 type ProcessChangeTask struct { 38 state protoimpl.MessageState 39 sizeCache protoimpl.SizeCache 40 unknownFields protoimpl.UnknownFields 41 42 AuthDbRev int64 `protobuf:"varint,1,opt,name=auth_db_rev,json=authDbRev,proto3" json:"auth_db_rev,omitempty"` 43 } 44 45 func (x *ProcessChangeTask) Reset() { 46 *x = ProcessChangeTask{} 47 if protoimpl.UnsafeEnabled { 48 mi := &file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_msgTypes[0] 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 ms.StoreMessageInfo(mi) 51 } 52 } 53 54 func (x *ProcessChangeTask) String() string { 55 return protoimpl.X.MessageStringOf(x) 56 } 57 58 func (*ProcessChangeTask) ProtoMessage() {} 59 60 func (x *ProcessChangeTask) ProtoReflect() protoreflect.Message { 61 mi := &file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_msgTypes[0] 62 if protoimpl.UnsafeEnabled && x != nil { 63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 64 if ms.LoadMessageInfo() == nil { 65 ms.StoreMessageInfo(mi) 66 } 67 return ms 68 } 69 return mi.MessageOf(x) 70 } 71 72 // Deprecated: Use ProcessChangeTask.ProtoReflect.Descriptor instead. 73 func (*ProcessChangeTask) Descriptor() ([]byte, []int) { 74 return file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescGZIP(), []int{0} 75 } 76 77 func (x *ProcessChangeTask) GetAuthDbRev() int64 { 78 if x != nil { 79 return x.AuthDbRev 80 } 81 return 0 82 } 83 84 type ReplicationTask struct { 85 state protoimpl.MessageState 86 sizeCache protoimpl.SizeCache 87 unknownFields protoimpl.UnknownFields 88 89 AuthDbRev int64 `protobuf:"varint,1,opt,name=auth_db_rev,json=authDbRev,proto3" json:"auth_db_rev,omitempty"` 90 } 91 92 func (x *ReplicationTask) Reset() { 93 *x = ReplicationTask{} 94 if protoimpl.UnsafeEnabled { 95 mi := &file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_msgTypes[1] 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 ms.StoreMessageInfo(mi) 98 } 99 } 100 101 func (x *ReplicationTask) String() string { 102 return protoimpl.X.MessageStringOf(x) 103 } 104 105 func (*ReplicationTask) ProtoMessage() {} 106 107 func (x *ReplicationTask) ProtoReflect() protoreflect.Message { 108 mi := &file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_msgTypes[1] 109 if protoimpl.UnsafeEnabled && x != nil { 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 if ms.LoadMessageInfo() == nil { 112 ms.StoreMessageInfo(mi) 113 } 114 return ms 115 } 116 return mi.MessageOf(x) 117 } 118 119 // Deprecated: Use ReplicationTask.ProtoReflect.Descriptor instead. 120 func (*ReplicationTask) Descriptor() ([]byte, []int) { 121 return file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescGZIP(), []int{1} 122 } 123 124 func (x *ReplicationTask) GetAuthDbRev() int64 { 125 if x != nil { 126 return x.AuthDbRev 127 } 128 return 0 129 } 130 131 var File_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto protoreflect.FileDescriptor 132 133 var file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDesc = []byte{ 134 0x0a, 0x39, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 135 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 136 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x70, 0x62, 0x2f, 137 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x61, 0x75, 0x74, 138 0x68, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x33, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x63, 0x65, 139 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1e, 0x0a, 0x0b, 140 0x61, 0x75, 0x74, 0x68, 0x5f, 0x64, 0x62, 0x5f, 0x72, 0x65, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 141 0x03, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x44, 0x62, 0x52, 0x65, 0x76, 0x22, 0x31, 0x0a, 0x0f, 142 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 143 0x1e, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x64, 0x62, 0x5f, 0x72, 0x65, 0x76, 0x18, 0x01, 144 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x44, 0x62, 0x52, 0x65, 0x76, 0x42, 145 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 146 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x72, 147 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x70, 0x62, 148 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 149 } 150 151 var ( 152 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescOnce sync.Once 153 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescData = file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDesc 154 ) 155 156 func file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescGZIP() []byte { 157 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescOnce.Do(func() { 158 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescData) 159 }) 160 return file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDescData 161 } 162 163 var file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 164 var file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_goTypes = []interface{}{ 165 (*ProcessChangeTask)(nil), // 0: auth.tasks.ProcessChangeTask 166 (*ReplicationTask)(nil), // 1: auth.tasks.ReplicationTask 167 } 168 var file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_depIdxs = []int32{ 169 0, // [0:0] is the sub-list for method output_type 170 0, // [0:0] is the sub-list for method input_type 171 0, // [0:0] is the sub-list for extension type_name 172 0, // [0:0] is the sub-list for extension extendee 173 0, // [0:0] is the sub-list for field type_name 174 } 175 176 func init() { file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_init() } 177 func file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_init() { 178 if File_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto != nil { 179 return 180 } 181 if !protoimpl.UnsafeEnabled { 182 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 183 switch v := v.(*ProcessChangeTask); i { 184 case 0: 185 return &v.state 186 case 1: 187 return &v.sizeCache 188 case 2: 189 return &v.unknownFields 190 default: 191 return nil 192 } 193 } 194 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 195 switch v := v.(*ReplicationTask); i { 196 case 0: 197 return &v.state 198 case 1: 199 return &v.sizeCache 200 case 2: 201 return &v.unknownFields 202 default: 203 return nil 204 } 205 } 206 } 207 type x struct{} 208 out := protoimpl.TypeBuilder{ 209 File: protoimpl.DescBuilder{ 210 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 211 RawDescriptor: file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDesc, 212 NumEnums: 0, 213 NumMessages: 2, 214 NumExtensions: 0, 215 NumServices: 0, 216 }, 217 GoTypes: file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_goTypes, 218 DependencyIndexes: file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_depIdxs, 219 MessageInfos: file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_msgTypes, 220 }.Build() 221 File_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto = out.File 222 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_rawDesc = nil 223 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_goTypes = nil 224 file_go_chromium_org_luci_auth_service_api_taskspb_tasks_proto_depIdxs = nil 225 }