github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/reputation/grpc/types.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.21.9 5 // source: reputation/grpc/types.proto 6 7 package reputation 8 9 import ( 10 grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // NeoFS unique peer identifier is a 33 byte long compressed public key of the 25 // node, the same as the one stored in the network map. 26 // 27 // String presentation is a 28 // [base58](https://tools.ietf.org/html/draft-msporny-base58-02) encoded string. 29 // 30 // JSON value will be data encoded as a string using standard base64 31 // encoding with paddings. Either 32 // [standard](https://tools.ietf.org/html/rfc4648#section-4) or 33 // [URL-safe](https://tools.ietf.org/html/rfc4648#section-5) base64 encoding 34 // with/without paddings are accepted. 35 type PeerID struct { 36 state protoimpl.MessageState 37 sizeCache protoimpl.SizeCache 38 unknownFields protoimpl.UnknownFields 39 40 // Peer node's public key 41 PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` 42 } 43 44 func (x *PeerID) Reset() { 45 *x = PeerID{} 46 if protoimpl.UnsafeEnabled { 47 mi := &file_reputation_grpc_types_proto_msgTypes[0] 48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 49 ms.StoreMessageInfo(mi) 50 } 51 } 52 53 func (x *PeerID) String() string { 54 return protoimpl.X.MessageStringOf(x) 55 } 56 57 func (*PeerID) ProtoMessage() {} 58 59 func (x *PeerID) ProtoReflect() protoreflect.Message { 60 mi := &file_reputation_grpc_types_proto_msgTypes[0] 61 if protoimpl.UnsafeEnabled && x != nil { 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 63 if ms.LoadMessageInfo() == nil { 64 ms.StoreMessageInfo(mi) 65 } 66 return ms 67 } 68 return mi.MessageOf(x) 69 } 70 71 // Deprecated: Use PeerID.ProtoReflect.Descriptor instead. 72 func (*PeerID) Descriptor() ([]byte, []int) { 73 return file_reputation_grpc_types_proto_rawDescGZIP(), []int{0} 74 } 75 76 func (x *PeerID) GetPublicKey() []byte { 77 if x != nil { 78 return x.PublicKey 79 } 80 return nil 81 } 82 83 // Trust level to a NeoFS network peer. 84 type Trust struct { 85 state protoimpl.MessageState 86 sizeCache protoimpl.SizeCache 87 unknownFields protoimpl.UnknownFields 88 89 // Identifier of the trusted peer 90 Peer *PeerID `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` 91 // Trust level in [0:1] range 92 Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` 93 } 94 95 func (x *Trust) Reset() { 96 *x = Trust{} 97 if protoimpl.UnsafeEnabled { 98 mi := &file_reputation_grpc_types_proto_msgTypes[1] 99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 100 ms.StoreMessageInfo(mi) 101 } 102 } 103 104 func (x *Trust) String() string { 105 return protoimpl.X.MessageStringOf(x) 106 } 107 108 func (*Trust) ProtoMessage() {} 109 110 func (x *Trust) ProtoReflect() protoreflect.Message { 111 mi := &file_reputation_grpc_types_proto_msgTypes[1] 112 if protoimpl.UnsafeEnabled && x != nil { 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 if ms.LoadMessageInfo() == nil { 115 ms.StoreMessageInfo(mi) 116 } 117 return ms 118 } 119 return mi.MessageOf(x) 120 } 121 122 // Deprecated: Use Trust.ProtoReflect.Descriptor instead. 123 func (*Trust) Descriptor() ([]byte, []int) { 124 return file_reputation_grpc_types_proto_rawDescGZIP(), []int{1} 125 } 126 127 func (x *Trust) GetPeer() *PeerID { 128 if x != nil { 129 return x.Peer 130 } 131 return nil 132 } 133 134 func (x *Trust) GetValue() float64 { 135 if x != nil { 136 return x.Value 137 } 138 return 0 139 } 140 141 // Trust level of a peer to a peer. 142 type PeerToPeerTrust struct { 143 state protoimpl.MessageState 144 sizeCache protoimpl.SizeCache 145 unknownFields protoimpl.UnknownFields 146 147 // Identifier of the trusting peer 148 TrustingPeer *PeerID `protobuf:"bytes,1,opt,name=trusting_peer,json=trustingPeer,proto3" json:"trusting_peer,omitempty"` 149 // Trust level 150 Trust *Trust `protobuf:"bytes,2,opt,name=trust,proto3" json:"trust,omitempty"` 151 } 152 153 func (x *PeerToPeerTrust) Reset() { 154 *x = PeerToPeerTrust{} 155 if protoimpl.UnsafeEnabled { 156 mi := &file_reputation_grpc_types_proto_msgTypes[2] 157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 158 ms.StoreMessageInfo(mi) 159 } 160 } 161 162 func (x *PeerToPeerTrust) String() string { 163 return protoimpl.X.MessageStringOf(x) 164 } 165 166 func (*PeerToPeerTrust) ProtoMessage() {} 167 168 func (x *PeerToPeerTrust) ProtoReflect() protoreflect.Message { 169 mi := &file_reputation_grpc_types_proto_msgTypes[2] 170 if protoimpl.UnsafeEnabled && x != nil { 171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 172 if ms.LoadMessageInfo() == nil { 173 ms.StoreMessageInfo(mi) 174 } 175 return ms 176 } 177 return mi.MessageOf(x) 178 } 179 180 // Deprecated: Use PeerToPeerTrust.ProtoReflect.Descriptor instead. 181 func (*PeerToPeerTrust) Descriptor() ([]byte, []int) { 182 return file_reputation_grpc_types_proto_rawDescGZIP(), []int{2} 183 } 184 185 func (x *PeerToPeerTrust) GetTrustingPeer() *PeerID { 186 if x != nil { 187 return x.TrustingPeer 188 } 189 return nil 190 } 191 192 func (x *PeerToPeerTrust) GetTrust() *Trust { 193 if x != nil { 194 return x.Trust 195 } 196 return nil 197 } 198 199 // Global trust level to NeoFS node. 200 type GlobalTrust struct { 201 state protoimpl.MessageState 202 sizeCache protoimpl.SizeCache 203 unknownFields protoimpl.UnknownFields 204 205 // Message format version. Effectively, the version of API library used to create 206 // the message. 207 Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 208 // Message body 209 Body *GlobalTrust_Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` 210 // Signature of the binary `body` field by the manager. 211 Signature *grpc.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` 212 } 213 214 func (x *GlobalTrust) Reset() { 215 *x = GlobalTrust{} 216 if protoimpl.UnsafeEnabled { 217 mi := &file_reputation_grpc_types_proto_msgTypes[3] 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 ms.StoreMessageInfo(mi) 220 } 221 } 222 223 func (x *GlobalTrust) String() string { 224 return protoimpl.X.MessageStringOf(x) 225 } 226 227 func (*GlobalTrust) ProtoMessage() {} 228 229 func (x *GlobalTrust) ProtoReflect() protoreflect.Message { 230 mi := &file_reputation_grpc_types_proto_msgTypes[3] 231 if protoimpl.UnsafeEnabled && x != nil { 232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 233 if ms.LoadMessageInfo() == nil { 234 ms.StoreMessageInfo(mi) 235 } 236 return ms 237 } 238 return mi.MessageOf(x) 239 } 240 241 // Deprecated: Use GlobalTrust.ProtoReflect.Descriptor instead. 242 func (*GlobalTrust) Descriptor() ([]byte, []int) { 243 return file_reputation_grpc_types_proto_rawDescGZIP(), []int{3} 244 } 245 246 func (x *GlobalTrust) GetVersion() *grpc.Version { 247 if x != nil { 248 return x.Version 249 } 250 return nil 251 } 252 253 func (x *GlobalTrust) GetBody() *GlobalTrust_Body { 254 if x != nil { 255 return x.Body 256 } 257 return nil 258 } 259 260 func (x *GlobalTrust) GetSignature() *grpc.Signature { 261 if x != nil { 262 return x.Signature 263 } 264 return nil 265 } 266 267 // Message body structure. 268 type GlobalTrust_Body struct { 269 state protoimpl.MessageState 270 sizeCache protoimpl.SizeCache 271 unknownFields protoimpl.UnknownFields 272 273 // Node manager ID 274 Manager *PeerID `protobuf:"bytes,1,opt,name=manager,proto3" json:"manager,omitempty"` 275 // Global trust level 276 Trust *Trust `protobuf:"bytes,2,opt,name=trust,proto3" json:"trust,omitempty"` 277 } 278 279 func (x *GlobalTrust_Body) Reset() { 280 *x = GlobalTrust_Body{} 281 if protoimpl.UnsafeEnabled { 282 mi := &file_reputation_grpc_types_proto_msgTypes[4] 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 ms.StoreMessageInfo(mi) 285 } 286 } 287 288 func (x *GlobalTrust_Body) String() string { 289 return protoimpl.X.MessageStringOf(x) 290 } 291 292 func (*GlobalTrust_Body) ProtoMessage() {} 293 294 func (x *GlobalTrust_Body) ProtoReflect() protoreflect.Message { 295 mi := &file_reputation_grpc_types_proto_msgTypes[4] 296 if protoimpl.UnsafeEnabled && x != nil { 297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 298 if ms.LoadMessageInfo() == nil { 299 ms.StoreMessageInfo(mi) 300 } 301 return ms 302 } 303 return mi.MessageOf(x) 304 } 305 306 // Deprecated: Use GlobalTrust_Body.ProtoReflect.Descriptor instead. 307 func (*GlobalTrust_Body) Descriptor() ([]byte, []int) { 308 return file_reputation_grpc_types_proto_rawDescGZIP(), []int{3, 0} 309 } 310 311 func (x *GlobalTrust_Body) GetManager() *PeerID { 312 if x != nil { 313 return x.Manager 314 } 315 return nil 316 } 317 318 func (x *GlobalTrust_Body) GetTrust() *Trust { 319 if x != nil { 320 return x.Trust 321 } 322 return nil 323 } 324 325 var File_reputation_grpc_types_proto protoreflect.FileDescriptor 326 327 var file_reputation_grpc_types_proto_rawDesc = []byte{ 328 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 329 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x6e, 330 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 331 0x69, 0x6f, 0x6e, 0x1a, 0x15, 0x72, 0x65, 0x66, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 332 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x06, 0x50, 0x65, 333 0x65, 0x72, 0x49, 0x44, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 334 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 335 0x4b, 0x65, 0x79, 0x22, 0x4f, 0x0a, 0x05, 0x54, 0x72, 0x75, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 336 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6e, 0x65, 0x6f, 337 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 338 0x6e, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x44, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x12, 0x14, 339 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 340 0x61, 0x6c, 0x75, 0x65, 0x22, 0x87, 0x01, 0x0a, 0x0f, 0x50, 0x65, 0x65, 0x72, 0x54, 0x6f, 0x50, 341 0x65, 0x65, 0x72, 0x54, 0x72, 0x75, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x74, 0x72, 0x75, 0x73, 342 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 343 0x1c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 344 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x44, 0x52, 0x0c, 0x74, 345 0x72, 0x75, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x74, 346 0x72, 0x75, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x65, 0x6f, 347 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 348 0x6e, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x52, 0x05, 0x74, 0x72, 0x75, 0x73, 0x74, 0x22, 0xa8, 349 0x02, 0x0a, 0x0b, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x54, 0x72, 0x75, 0x73, 0x74, 0x12, 0x31, 350 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 351 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 352 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 353 0x6e, 0x12, 0x3a, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 354 0x26, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 355 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x54, 0x72, 0x75, 356 0x73, 0x74, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x37, 0x0a, 357 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 358 0x32, 0x19, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 359 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 360 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x71, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x36, 361 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 362 0x1c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 363 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x44, 0x52, 0x07, 0x6d, 364 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x72, 0x75, 0x73, 0x74, 0x18, 365 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 366 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x75, 367 0x73, 0x74, 0x52, 0x05, 0x74, 0x72, 0x75, 0x73, 0x74, 0x42, 0x67, 0x5a, 0x44, 0x67, 0x69, 0x74, 368 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 369 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 370 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 371 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 372 0x6e, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 373 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 374 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 375 } 376 377 var ( 378 file_reputation_grpc_types_proto_rawDescOnce sync.Once 379 file_reputation_grpc_types_proto_rawDescData = file_reputation_grpc_types_proto_rawDesc 380 ) 381 382 func file_reputation_grpc_types_proto_rawDescGZIP() []byte { 383 file_reputation_grpc_types_proto_rawDescOnce.Do(func() { 384 file_reputation_grpc_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_reputation_grpc_types_proto_rawDescData) 385 }) 386 return file_reputation_grpc_types_proto_rawDescData 387 } 388 389 var file_reputation_grpc_types_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 390 var file_reputation_grpc_types_proto_goTypes = []interface{}{ 391 (*PeerID)(nil), // 0: neo.fs.v2.reputation.PeerID 392 (*Trust)(nil), // 1: neo.fs.v2.reputation.Trust 393 (*PeerToPeerTrust)(nil), // 2: neo.fs.v2.reputation.PeerToPeerTrust 394 (*GlobalTrust)(nil), // 3: neo.fs.v2.reputation.GlobalTrust 395 (*GlobalTrust_Body)(nil), // 4: neo.fs.v2.reputation.GlobalTrust.Body 396 (*grpc.Version)(nil), // 5: neo.fs.v2.refs.Version 397 (*grpc.Signature)(nil), // 6: neo.fs.v2.refs.Signature 398 } 399 var file_reputation_grpc_types_proto_depIdxs = []int32{ 400 0, // 0: neo.fs.v2.reputation.Trust.peer:type_name -> neo.fs.v2.reputation.PeerID 401 0, // 1: neo.fs.v2.reputation.PeerToPeerTrust.trusting_peer:type_name -> neo.fs.v2.reputation.PeerID 402 1, // 2: neo.fs.v2.reputation.PeerToPeerTrust.trust:type_name -> neo.fs.v2.reputation.Trust 403 5, // 3: neo.fs.v2.reputation.GlobalTrust.version:type_name -> neo.fs.v2.refs.Version 404 4, // 4: neo.fs.v2.reputation.GlobalTrust.body:type_name -> neo.fs.v2.reputation.GlobalTrust.Body 405 6, // 5: neo.fs.v2.reputation.GlobalTrust.signature:type_name -> neo.fs.v2.refs.Signature 406 0, // 6: neo.fs.v2.reputation.GlobalTrust.Body.manager:type_name -> neo.fs.v2.reputation.PeerID 407 1, // 7: neo.fs.v2.reputation.GlobalTrust.Body.trust:type_name -> neo.fs.v2.reputation.Trust 408 8, // [8:8] is the sub-list for method output_type 409 8, // [8:8] is the sub-list for method input_type 410 8, // [8:8] is the sub-list for extension type_name 411 8, // [8:8] is the sub-list for extension extendee 412 0, // [0:8] is the sub-list for field type_name 413 } 414 415 func init() { file_reputation_grpc_types_proto_init() } 416 func file_reputation_grpc_types_proto_init() { 417 if File_reputation_grpc_types_proto != nil { 418 return 419 } 420 if !protoimpl.UnsafeEnabled { 421 file_reputation_grpc_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 422 switch v := v.(*PeerID); i { 423 case 0: 424 return &v.state 425 case 1: 426 return &v.sizeCache 427 case 2: 428 return &v.unknownFields 429 default: 430 return nil 431 } 432 } 433 file_reputation_grpc_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 434 switch v := v.(*Trust); i { 435 case 0: 436 return &v.state 437 case 1: 438 return &v.sizeCache 439 case 2: 440 return &v.unknownFields 441 default: 442 return nil 443 } 444 } 445 file_reputation_grpc_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 446 switch v := v.(*PeerToPeerTrust); i { 447 case 0: 448 return &v.state 449 case 1: 450 return &v.sizeCache 451 case 2: 452 return &v.unknownFields 453 default: 454 return nil 455 } 456 } 457 file_reputation_grpc_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 458 switch v := v.(*GlobalTrust); i { 459 case 0: 460 return &v.state 461 case 1: 462 return &v.sizeCache 463 case 2: 464 return &v.unknownFields 465 default: 466 return nil 467 } 468 } 469 file_reputation_grpc_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 470 switch v := v.(*GlobalTrust_Body); i { 471 case 0: 472 return &v.state 473 case 1: 474 return &v.sizeCache 475 case 2: 476 return &v.unknownFields 477 default: 478 return nil 479 } 480 } 481 } 482 type x struct{} 483 out := protoimpl.TypeBuilder{ 484 File: protoimpl.DescBuilder{ 485 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 486 RawDescriptor: file_reputation_grpc_types_proto_rawDesc, 487 NumEnums: 0, 488 NumMessages: 5, 489 NumExtensions: 0, 490 NumServices: 0, 491 }, 492 GoTypes: file_reputation_grpc_types_proto_goTypes, 493 DependencyIndexes: file_reputation_grpc_types_proto_depIdxs, 494 MessageInfos: file_reputation_grpc_types_proto_msgTypes, 495 }.Build() 496 File_reputation_grpc_types_proto = out.File 497 file_reputation_grpc_types_proto_rawDesc = nil 498 file_reputation_grpc_types_proto_goTypes = nil 499 file_reputation_grpc_types_proto_depIdxs = nil 500 }