github.com/amazechain/amc@v0.1.3/api/protocol/sync_pb/sync_pb.pb.go (about) 1 // Copyright 2022 The AmazeChain Authors 2 // This file is part of the AmazeChain library. 3 // 4 // The AmazeChain library is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU Lesser General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // The AmazeChain library is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU Lesser General Public License for more details. 13 // 14 // You should have received a copy of the GNU Lesser General Public License 15 // along with the AmazeChain library. If not, see <http://www.gnu.org/licenses/>. 16 17 // Code generated by protoc-gen-go. DO NOT EDIT. 18 // versions: 19 // protoc-gen-go v1.26.0 20 // protoc v3.20.0 21 // source: sync_pb.proto 22 23 package sync_pb 24 25 import ( 26 types_pb "github.com/amazechain/amc/api/protocol/types_pb" 27 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 28 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 29 reflect "reflect" 30 sync "sync" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 type HeadersByRangeRequest struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 StartBlockNumber *types_pb.H256 `protobuf:"bytes,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"` 46 Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 47 Step uint64 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` 48 } 49 50 func (x *HeadersByRangeRequest) Reset() { 51 *x = HeadersByRangeRequest{} 52 if protoimpl.UnsafeEnabled { 53 mi := &file_sync_pb_proto_msgTypes[0] 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 ms.StoreMessageInfo(mi) 56 } 57 } 58 59 func (x *HeadersByRangeRequest) String() string { 60 return protoimpl.X.MessageStringOf(x) 61 } 62 63 func (*HeadersByRangeRequest) ProtoMessage() {} 64 65 func (x *HeadersByRangeRequest) ProtoReflect() protoreflect.Message { 66 mi := &file_sync_pb_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 HeadersByRangeRequest.ProtoReflect.Descriptor instead. 78 func (*HeadersByRangeRequest) Descriptor() ([]byte, []int) { 79 return file_sync_pb_proto_rawDescGZIP(), []int{0} 80 } 81 82 func (x *HeadersByRangeRequest) GetStartBlockNumber() *types_pb.H256 { 83 if x != nil { 84 return x.StartBlockNumber 85 } 86 return nil 87 } 88 89 func (x *HeadersByRangeRequest) GetCount() uint64 { 90 if x != nil { 91 return x.Count 92 } 93 return 0 94 } 95 96 func (x *HeadersByRangeRequest) GetStep() uint64 { 97 if x != nil { 98 return x.Step 99 } 100 return 0 101 } 102 103 // todo 104 type Ping struct { 105 state protoimpl.MessageState 106 sizeCache protoimpl.SizeCache 107 unknownFields protoimpl.UnknownFields 108 109 SeqNumber uint64 `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"` 110 } 111 112 func (x *Ping) Reset() { 113 *x = Ping{} 114 if protoimpl.UnsafeEnabled { 115 mi := &file_sync_pb_proto_msgTypes[1] 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 ms.StoreMessageInfo(mi) 118 } 119 } 120 121 func (x *Ping) String() string { 122 return protoimpl.X.MessageStringOf(x) 123 } 124 125 func (*Ping) ProtoMessage() {} 126 127 func (x *Ping) ProtoReflect() protoreflect.Message { 128 mi := &file_sync_pb_proto_msgTypes[1] 129 if protoimpl.UnsafeEnabled && x != nil { 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 if ms.LoadMessageInfo() == nil { 132 ms.StoreMessageInfo(mi) 133 } 134 return ms 135 } 136 return mi.MessageOf(x) 137 } 138 139 // Deprecated: Use Ping.ProtoReflect.Descriptor instead. 140 func (*Ping) Descriptor() ([]byte, []int) { 141 return file_sync_pb_proto_rawDescGZIP(), []int{1} 142 } 143 144 func (x *Ping) GetSeqNumber() uint64 { 145 if x != nil { 146 return x.SeqNumber 147 } 148 return 0 149 } 150 151 // v2 152 type Status struct { 153 state protoimpl.MessageState 154 sizeCache protoimpl.SizeCache 155 unknownFields protoimpl.UnknownFields 156 157 // string version = 1; 158 GenesisHash *types_pb.H256 `protobuf:"bytes,1,opt,name=genesisHash,proto3" json:"genesisHash,omitempty"` 159 CurrentHeight *types_pb.H256 `protobuf:"bytes,2,opt,name=currentHeight,proto3" json:"currentHeight,omitempty"` 160 } 161 162 func (x *Status) Reset() { 163 *x = Status{} 164 if protoimpl.UnsafeEnabled { 165 mi := &file_sync_pb_proto_msgTypes[2] 166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 167 ms.StoreMessageInfo(mi) 168 } 169 } 170 171 func (x *Status) String() string { 172 return protoimpl.X.MessageStringOf(x) 173 } 174 175 func (*Status) ProtoMessage() {} 176 177 func (x *Status) ProtoReflect() protoreflect.Message { 178 mi := &file_sync_pb_proto_msgTypes[2] 179 if protoimpl.UnsafeEnabled && x != nil { 180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 181 if ms.LoadMessageInfo() == nil { 182 ms.StoreMessageInfo(mi) 183 } 184 return ms 185 } 186 return mi.MessageOf(x) 187 } 188 189 // Deprecated: Use Status.ProtoReflect.Descriptor instead. 190 func (*Status) Descriptor() ([]byte, []int) { 191 return file_sync_pb_proto_rawDescGZIP(), []int{2} 192 } 193 194 func (x *Status) GetGenesisHash() *types_pb.H256 { 195 if x != nil { 196 return x.GenesisHash 197 } 198 return nil 199 } 200 201 func (x *Status) GetCurrentHeight() *types_pb.H256 { 202 if x != nil { 203 return x.CurrentHeight 204 } 205 return nil 206 } 207 208 type ForkData struct { 209 state protoimpl.MessageState 210 sizeCache protoimpl.SizeCache 211 unknownFields protoimpl.UnknownFields 212 213 CurrentVersion *types_pb.H256 `protobuf:"bytes,1,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"` 214 GenesisValidatorsRoot *types_pb.H256 `protobuf:"bytes,2,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty"` 215 } 216 217 func (x *ForkData) Reset() { 218 *x = ForkData{} 219 if protoimpl.UnsafeEnabled { 220 mi := &file_sync_pb_proto_msgTypes[3] 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 ms.StoreMessageInfo(mi) 223 } 224 } 225 226 func (x *ForkData) String() string { 227 return protoimpl.X.MessageStringOf(x) 228 } 229 230 func (*ForkData) ProtoMessage() {} 231 232 func (x *ForkData) ProtoReflect() protoreflect.Message { 233 mi := &file_sync_pb_proto_msgTypes[3] 234 if protoimpl.UnsafeEnabled && x != nil { 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 if ms.LoadMessageInfo() == nil { 237 ms.StoreMessageInfo(mi) 238 } 239 return ms 240 } 241 return mi.MessageOf(x) 242 } 243 244 // Deprecated: Use ForkData.ProtoReflect.Descriptor instead. 245 func (*ForkData) Descriptor() ([]byte, []int) { 246 return file_sync_pb_proto_rawDescGZIP(), []int{3} 247 } 248 249 func (x *ForkData) GetCurrentVersion() *types_pb.H256 { 250 if x != nil { 251 return x.CurrentVersion 252 } 253 return nil 254 } 255 256 func (x *ForkData) GetGenesisValidatorsRoot() *types_pb.H256 { 257 if x != nil { 258 return x.GenesisValidatorsRoot 259 } 260 return nil 261 } 262 263 type BodiesByRangeRequest struct { 264 state protoimpl.MessageState 265 sizeCache protoimpl.SizeCache 266 unknownFields protoimpl.UnknownFields 267 268 StartBlockNumber *types_pb.H256 `protobuf:"bytes,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"` 269 Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 270 Step uint64 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` 271 } 272 273 func (x *BodiesByRangeRequest) Reset() { 274 *x = BodiesByRangeRequest{} 275 if protoimpl.UnsafeEnabled { 276 mi := &file_sync_pb_proto_msgTypes[4] 277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 278 ms.StoreMessageInfo(mi) 279 } 280 } 281 282 func (x *BodiesByRangeRequest) String() string { 283 return protoimpl.X.MessageStringOf(x) 284 } 285 286 func (*BodiesByRangeRequest) ProtoMessage() {} 287 288 func (x *BodiesByRangeRequest) ProtoReflect() protoreflect.Message { 289 mi := &file_sync_pb_proto_msgTypes[4] 290 if protoimpl.UnsafeEnabled && x != nil { 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 if ms.LoadMessageInfo() == nil { 293 ms.StoreMessageInfo(mi) 294 } 295 return ms 296 } 297 return mi.MessageOf(x) 298 } 299 300 // Deprecated: Use BodiesByRangeRequest.ProtoReflect.Descriptor instead. 301 func (*BodiesByRangeRequest) Descriptor() ([]byte, []int) { 302 return file_sync_pb_proto_rawDescGZIP(), []int{4} 303 } 304 305 func (x *BodiesByRangeRequest) GetStartBlockNumber() *types_pb.H256 { 306 if x != nil { 307 return x.StartBlockNumber 308 } 309 return nil 310 } 311 312 func (x *BodiesByRangeRequest) GetCount() uint64 { 313 if x != nil { 314 return x.Count 315 } 316 return 0 317 } 318 319 func (x *BodiesByRangeRequest) GetStep() uint64 { 320 if x != nil { 321 return x.Step 322 } 323 return 0 324 } 325 326 var File_sync_pb_proto protoreflect.FileDescriptor 327 328 var file_sync_pb_proto_rawDesc = []byte{ 329 0x0a, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 330 0x07, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x62, 0x70, 0x1a, 0x14, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 331 0x70, 0x62, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 332 0x0a, 0x15, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x42, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 333 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 334 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 335 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x32, 0x35, 336 0x36, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 337 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 338 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x65, 339 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x74, 0x65, 0x70, 0x22, 0x25, 0x0a, 340 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x71, 0x5f, 0x6e, 0x75, 0x6d, 341 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x65, 0x71, 0x4e, 0x75, 342 0x6d, 0x62, 0x65, 0x72, 0x22, 0x70, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x30, 343 0x0a, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x48, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 344 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x70, 0x62, 0x2e, 0x48, 345 0x32, 0x35, 0x36, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x48, 0x61, 0x73, 0x68, 346 0x12, 0x34, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 347 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 348 0x70, 0x62, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 349 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x08, 0x46, 0x6f, 0x72, 0x6b, 0x44, 350 0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x76, 351 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 352 0x79, 0x70, 0x65, 0x73, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x0e, 0x63, 0x75, 353 0x72, 0x72, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x17, 354 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 355 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 356 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x15, 0x67, 357 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 358 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7c, 0x0a, 0x14, 0x42, 0x6f, 0x64, 0x69, 0x65, 0x73, 0x42, 0x79, 359 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x10, 360 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 361 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x70, 362 0x62, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 363 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 364 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 365 0x0a, 0x04, 0x73, 0x74, 0x65, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x74, 366 0x65, 0x70, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 367 0x2f, 0x61, 0x6d, 0x61, 0x7a, 0x65, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x61, 0x6d, 0x63, 0x2f, 368 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x79, 0x6e, 369 0x63, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 370 } 371 372 var ( 373 file_sync_pb_proto_rawDescOnce sync.Once 374 file_sync_pb_proto_rawDescData = file_sync_pb_proto_rawDesc 375 ) 376 377 func file_sync_pb_proto_rawDescGZIP() []byte { 378 file_sync_pb_proto_rawDescOnce.Do(func() { 379 file_sync_pb_proto_rawDescData = protoimpl.X.CompressGZIP(file_sync_pb_proto_rawDescData) 380 }) 381 return file_sync_pb_proto_rawDescData 382 } 383 384 var file_sync_pb_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 385 var file_sync_pb_proto_goTypes = []interface{}{ 386 (*HeadersByRangeRequest)(nil), // 0: sync_bp.HeadersByRangeRequest 387 (*Ping)(nil), // 1: sync_bp.Ping 388 (*Status)(nil), // 2: sync_bp.Status 389 (*ForkData)(nil), // 3: sync_bp.ForkData 390 (*BodiesByRangeRequest)(nil), // 4: sync_bp.BodiesByRangeRequest 391 (*types_pb.H256)(nil), // 5: types_pb.H256 392 } 393 var file_sync_pb_proto_depIdxs = []int32{ 394 5, // 0: sync_bp.HeadersByRangeRequest.startBlockNumber:type_name -> types_pb.H256 395 5, // 1: sync_bp.Status.genesisHash:type_name -> types_pb.H256 396 5, // 2: sync_bp.Status.currentHeight:type_name -> types_pb.H256 397 5, // 3: sync_bp.ForkData.current_version:type_name -> types_pb.H256 398 5, // 4: sync_bp.ForkData.genesis_validators_root:type_name -> types_pb.H256 399 5, // 5: sync_bp.BodiesByRangeRequest.startBlockNumber:type_name -> types_pb.H256 400 6, // [6:6] is the sub-list for method output_type 401 6, // [6:6] is the sub-list for method input_type 402 6, // [6:6] is the sub-list for extension type_name 403 6, // [6:6] is the sub-list for extension extendee 404 0, // [0:6] is the sub-list for field type_name 405 } 406 407 func init() { file_sync_pb_proto_init() } 408 func file_sync_pb_proto_init() { 409 if File_sync_pb_proto != nil { 410 return 411 } 412 if !protoimpl.UnsafeEnabled { 413 file_sync_pb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 414 switch v := v.(*HeadersByRangeRequest); i { 415 case 0: 416 return &v.state 417 case 1: 418 return &v.sizeCache 419 case 2: 420 return &v.unknownFields 421 default: 422 return nil 423 } 424 } 425 file_sync_pb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 426 switch v := v.(*Ping); i { 427 case 0: 428 return &v.state 429 case 1: 430 return &v.sizeCache 431 case 2: 432 return &v.unknownFields 433 default: 434 return nil 435 } 436 } 437 file_sync_pb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 438 switch v := v.(*Status); i { 439 case 0: 440 return &v.state 441 case 1: 442 return &v.sizeCache 443 case 2: 444 return &v.unknownFields 445 default: 446 return nil 447 } 448 } 449 file_sync_pb_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 450 switch v := v.(*ForkData); i { 451 case 0: 452 return &v.state 453 case 1: 454 return &v.sizeCache 455 case 2: 456 return &v.unknownFields 457 default: 458 return nil 459 } 460 } 461 file_sync_pb_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 462 switch v := v.(*BodiesByRangeRequest); i { 463 case 0: 464 return &v.state 465 case 1: 466 return &v.sizeCache 467 case 2: 468 return &v.unknownFields 469 default: 470 return nil 471 } 472 } 473 } 474 type x struct{} 475 out := protoimpl.TypeBuilder{ 476 File: protoimpl.DescBuilder{ 477 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 478 RawDescriptor: file_sync_pb_proto_rawDesc, 479 NumEnums: 0, 480 NumMessages: 5, 481 NumExtensions: 0, 482 NumServices: 0, 483 }, 484 GoTypes: file_sync_pb_proto_goTypes, 485 DependencyIndexes: file_sync_pb_proto_depIdxs, 486 MessageInfos: file_sync_pb_proto_msgTypes, 487 }.Build() 488 File_sync_pb_proto = out.File 489 file_sync_pb_proto_rawDesc = nil 490 file_sync_pb_proto_goTypes = nil 491 file_sync_pb_proto_depIdxs = nil 492 }