code.vegaprotocol.io/vega@v0.79.0/protos/vega/data/v1/data.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: vega/data/v1/data.proto 6 7 package v1 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type ETHAddress struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 29 } 30 31 func (x *ETHAddress) Reset() { 32 *x = ETHAddress{} 33 if protoimpl.UnsafeEnabled { 34 mi := &file_vega_data_v1_data_proto_msgTypes[0] 35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 36 ms.StoreMessageInfo(mi) 37 } 38 } 39 40 func (x *ETHAddress) String() string { 41 return protoimpl.X.MessageStringOf(x) 42 } 43 44 func (*ETHAddress) ProtoMessage() {} 45 46 func (x *ETHAddress) ProtoReflect() protoreflect.Message { 47 mi := &file_vega_data_v1_data_proto_msgTypes[0] 48 if protoimpl.UnsafeEnabled && x != nil { 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 if ms.LoadMessageInfo() == nil { 51 ms.StoreMessageInfo(mi) 52 } 53 return ms 54 } 55 return mi.MessageOf(x) 56 } 57 58 // Deprecated: Use ETHAddress.ProtoReflect.Descriptor instead. 59 func (*ETHAddress) Descriptor() ([]byte, []int) { 60 return file_vega_data_v1_data_proto_rawDescGZIP(), []int{0} 61 } 62 63 func (x *ETHAddress) GetAddress() string { 64 if x != nil { 65 return x.Address 66 } 67 return "" 68 } 69 70 // PubKey is the public key that signed this data. 71 // Different public keys coming from different sources will be further separated. 72 type PubKey struct { 73 state protoimpl.MessageState 74 sizeCache protoimpl.SizeCache 75 unknownFields protoimpl.UnknownFields 76 77 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 78 } 79 80 func (x *PubKey) Reset() { 81 *x = PubKey{} 82 if protoimpl.UnsafeEnabled { 83 mi := &file_vega_data_v1_data_proto_msgTypes[1] 84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 85 ms.StoreMessageInfo(mi) 86 } 87 } 88 89 func (x *PubKey) String() string { 90 return protoimpl.X.MessageStringOf(x) 91 } 92 93 func (*PubKey) ProtoMessage() {} 94 95 func (x *PubKey) ProtoReflect() protoreflect.Message { 96 mi := &file_vega_data_v1_data_proto_msgTypes[1] 97 if protoimpl.UnsafeEnabled && x != nil { 98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 99 if ms.LoadMessageInfo() == nil { 100 ms.StoreMessageInfo(mi) 101 } 102 return ms 103 } 104 return mi.MessageOf(x) 105 } 106 107 // Deprecated: Use PubKey.ProtoReflect.Descriptor instead. 108 func (*PubKey) Descriptor() ([]byte, []int) { 109 return file_vega_data_v1_data_proto_rawDescGZIP(), []int{1} 110 } 111 112 func (x *PubKey) GetKey() string { 113 if x != nil { 114 return x.Key 115 } 116 return "" 117 } 118 119 type Signer struct { 120 state protoimpl.MessageState 121 sizeCache protoimpl.SizeCache 122 unknownFields protoimpl.UnknownFields 123 124 // Types that are assignable to Signer: 125 // 126 // *Signer_PubKey 127 // *Signer_EthAddress 128 Signer isSigner_Signer `protobuf_oneof:"signer"` 129 } 130 131 func (x *Signer) Reset() { 132 *x = Signer{} 133 if protoimpl.UnsafeEnabled { 134 mi := &file_vega_data_v1_data_proto_msgTypes[2] 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 ms.StoreMessageInfo(mi) 137 } 138 } 139 140 func (x *Signer) String() string { 141 return protoimpl.X.MessageStringOf(x) 142 } 143 144 func (*Signer) ProtoMessage() {} 145 146 func (x *Signer) ProtoReflect() protoreflect.Message { 147 mi := &file_vega_data_v1_data_proto_msgTypes[2] 148 if protoimpl.UnsafeEnabled && x != nil { 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 150 if ms.LoadMessageInfo() == nil { 151 ms.StoreMessageInfo(mi) 152 } 153 return ms 154 } 155 return mi.MessageOf(x) 156 } 157 158 // Deprecated: Use Signer.ProtoReflect.Descriptor instead. 159 func (*Signer) Descriptor() ([]byte, []int) { 160 return file_vega_data_v1_data_proto_rawDescGZIP(), []int{2} 161 } 162 163 func (m *Signer) GetSigner() isSigner_Signer { 164 if m != nil { 165 return m.Signer 166 } 167 return nil 168 } 169 170 func (x *Signer) GetPubKey() *PubKey { 171 if x, ok := x.GetSigner().(*Signer_PubKey); ok { 172 return x.PubKey 173 } 174 return nil 175 } 176 177 func (x *Signer) GetEthAddress() *ETHAddress { 178 if x, ok := x.GetSigner().(*Signer_EthAddress); ok { 179 return x.EthAddress 180 } 181 return nil 182 } 183 184 type isSigner_Signer interface { 185 isSigner_Signer() 186 } 187 188 type Signer_PubKey struct { 189 // List of authorized public keys that signed the data for this 190 // source. All the public keys in the data should be contained in these 191 // public keys. 192 PubKey *PubKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3,oneof"` 193 } 194 195 type Signer_EthAddress struct { 196 // In case of an open oracle - Ethereum address will be submitted. 197 EthAddress *ETHAddress `protobuf:"bytes,2,opt,name=eth_address,json=ethAddress,proto3,oneof"` 198 } 199 200 func (*Signer_PubKey) isSigner_Signer() {} 201 202 func (*Signer_EthAddress) isSigner_Signer() {} 203 204 // Property describes one property of data spec with a key with its value. 205 type Property struct { 206 state protoimpl.MessageState 207 sizeCache protoimpl.SizeCache 208 unknownFields protoimpl.UnknownFields 209 210 // Name of the property. 211 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 212 // Value of the property. 213 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 214 } 215 216 func (x *Property) Reset() { 217 *x = Property{} 218 if protoimpl.UnsafeEnabled { 219 mi := &file_vega_data_v1_data_proto_msgTypes[3] 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 ms.StoreMessageInfo(mi) 222 } 223 } 224 225 func (x *Property) String() string { 226 return protoimpl.X.MessageStringOf(x) 227 } 228 229 func (*Property) ProtoMessage() {} 230 231 func (x *Property) ProtoReflect() protoreflect.Message { 232 mi := &file_vega_data_v1_data_proto_msgTypes[3] 233 if protoimpl.UnsafeEnabled && x != nil { 234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 235 if ms.LoadMessageInfo() == nil { 236 ms.StoreMessageInfo(mi) 237 } 238 return ms 239 } 240 return mi.MessageOf(x) 241 } 242 243 // Deprecated: Use Property.ProtoReflect.Descriptor instead. 244 func (*Property) Descriptor() ([]byte, []int) { 245 return file_vega_data_v1_data_proto_rawDescGZIP(), []int{3} 246 } 247 248 func (x *Property) GetName() string { 249 if x != nil { 250 return x.Name 251 } 252 return "" 253 } 254 255 func (x *Property) GetValue() string { 256 if x != nil { 257 return x.Value 258 } 259 return "" 260 } 261 262 // Data describes valid source data that has been received by the node. 263 // It represents both matched and unmatched data. 264 type Data struct { 265 state protoimpl.MessageState 266 sizeCache protoimpl.SizeCache 267 unknownFields protoimpl.UnknownFields 268 269 Signers []*Signer `protobuf:"bytes,1,rep,name=signers,proto3" json:"signers,omitempty"` 270 // Data holds all the properties of the data 271 Data []*Property `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` 272 // `matched_specs_ids` lists all the specs that matched this data. 273 // When the array is empty, it means no spec matched this data. 274 MatchedSpecIds []string `protobuf:"bytes,3,rep,name=matched_spec_ids,json=matchedSpecIds,proto3" json:"matched_spec_ids,omitempty"` 275 // Timestamp in Unix nanoseconds for when the data was broadcast to the markets 276 // with a matching spec. It has no value when the data did not match any spec. 277 BroadcastAt int64 `protobuf:"varint,4,opt,name=broadcast_at,json=broadcastAt,proto3" json:"broadcast_at,omitempty"` 278 // Holds all metadata properties 279 MetaData []*Property `protobuf:"bytes,5,rep,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"` 280 // Error message if the data could not be sourced. 281 Error *string `protobuf:"bytes,6,opt,name=error,proto3,oneof" json:"error,omitempty"` 282 } 283 284 func (x *Data) Reset() { 285 *x = Data{} 286 if protoimpl.UnsafeEnabled { 287 mi := &file_vega_data_v1_data_proto_msgTypes[4] 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 289 ms.StoreMessageInfo(mi) 290 } 291 } 292 293 func (x *Data) String() string { 294 return protoimpl.X.MessageStringOf(x) 295 } 296 297 func (*Data) ProtoMessage() {} 298 299 func (x *Data) ProtoReflect() protoreflect.Message { 300 mi := &file_vega_data_v1_data_proto_msgTypes[4] 301 if protoimpl.UnsafeEnabled && x != nil { 302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 303 if ms.LoadMessageInfo() == nil { 304 ms.StoreMessageInfo(mi) 305 } 306 return ms 307 } 308 return mi.MessageOf(x) 309 } 310 311 // Deprecated: Use Data.ProtoReflect.Descriptor instead. 312 func (*Data) Descriptor() ([]byte, []int) { 313 return file_vega_data_v1_data_proto_rawDescGZIP(), []int{4} 314 } 315 316 func (x *Data) GetSigners() []*Signer { 317 if x != nil { 318 return x.Signers 319 } 320 return nil 321 } 322 323 func (x *Data) GetData() []*Property { 324 if x != nil { 325 return x.Data 326 } 327 return nil 328 } 329 330 func (x *Data) GetMatchedSpecIds() []string { 331 if x != nil { 332 return x.MatchedSpecIds 333 } 334 return nil 335 } 336 337 func (x *Data) GetBroadcastAt() int64 { 338 if x != nil { 339 return x.BroadcastAt 340 } 341 return 0 342 } 343 344 func (x *Data) GetMetaData() []*Property { 345 if x != nil { 346 return x.MetaData 347 } 348 return nil 349 } 350 351 func (x *Data) GetError() string { 352 if x != nil && x.Error != nil { 353 return *x.Error 354 } 355 return "" 356 } 357 358 type ExternalData struct { 359 state protoimpl.MessageState 360 sizeCache protoimpl.SizeCache 361 unknownFields protoimpl.UnknownFields 362 363 Data *Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 364 } 365 366 func (x *ExternalData) Reset() { 367 *x = ExternalData{} 368 if protoimpl.UnsafeEnabled { 369 mi := &file_vega_data_v1_data_proto_msgTypes[5] 370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 371 ms.StoreMessageInfo(mi) 372 } 373 } 374 375 func (x *ExternalData) String() string { 376 return protoimpl.X.MessageStringOf(x) 377 } 378 379 func (*ExternalData) ProtoMessage() {} 380 381 func (x *ExternalData) ProtoReflect() protoreflect.Message { 382 mi := &file_vega_data_v1_data_proto_msgTypes[5] 383 if protoimpl.UnsafeEnabled && x != nil { 384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 385 if ms.LoadMessageInfo() == nil { 386 ms.StoreMessageInfo(mi) 387 } 388 return ms 389 } 390 return mi.MessageOf(x) 391 } 392 393 // Deprecated: Use ExternalData.ProtoReflect.Descriptor instead. 394 func (*ExternalData) Descriptor() ([]byte, []int) { 395 return file_vega_data_v1_data_proto_rawDescGZIP(), []int{5} 396 } 397 398 func (x *ExternalData) GetData() *Data { 399 if x != nil { 400 return x.Data 401 } 402 return nil 403 } 404 405 var File_vega_data_v1_data_proto protoreflect.FileDescriptor 406 407 var file_vega_data_v1_data_proto_rawDesc = []byte{ 408 0x0a, 0x17, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x64, 409 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x76, 0x65, 0x67, 0x61, 0x2e, 410 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x22, 0x26, 0x0a, 0x0a, 0x45, 0x54, 0x48, 0x41, 0x64, 411 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 412 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 413 0x1a, 0x0a, 0x06, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 414 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x80, 0x01, 0x0a, 0x06, 415 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 416 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 417 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x00, 0x52, 418 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x74, 0x68, 0x5f, 0x61, 419 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 420 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x54, 0x48, 0x41, 421 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x74, 0x68, 0x41, 0x64, 0x64, 422 0x72, 0x65, 0x73, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x34, 423 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 424 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 425 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 426 0x61, 0x6c, 0x75, 0x65, 0x22, 0x89, 0x02, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 427 0x07, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 428 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 429 0x67, 0x6e, 0x65, 0x72, 0x52, 0x07, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 430 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x65, 431 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 432 0x72, 0x74, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x74, 433 0x63, 0x68, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 434 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x53, 0x70, 0x65, 0x63, 435 0x49, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 436 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x72, 0x6f, 0x61, 0x64, 437 0x63, 0x61, 0x73, 0x74, 0x41, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x64, 438 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x65, 0x67, 0x61, 439 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 440 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x05, 0x65, 441 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 442 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 443 0x22, 0x36, 0x0a, 0x0c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 444 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 445 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 446 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x2f, 0x5a, 0x2d, 0x63, 0x6f, 0x64, 0x65, 447 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x69, 0x6f, 448 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x76, 0x65, 0x67, 449 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 450 0x33, 451 } 452 453 var ( 454 file_vega_data_v1_data_proto_rawDescOnce sync.Once 455 file_vega_data_v1_data_proto_rawDescData = file_vega_data_v1_data_proto_rawDesc 456 ) 457 458 func file_vega_data_v1_data_proto_rawDescGZIP() []byte { 459 file_vega_data_v1_data_proto_rawDescOnce.Do(func() { 460 file_vega_data_v1_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_vega_data_v1_data_proto_rawDescData) 461 }) 462 return file_vega_data_v1_data_proto_rawDescData 463 } 464 465 var file_vega_data_v1_data_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 466 var file_vega_data_v1_data_proto_goTypes = []interface{}{ 467 (*ETHAddress)(nil), // 0: vega.data.v1.ETHAddress 468 (*PubKey)(nil), // 1: vega.data.v1.PubKey 469 (*Signer)(nil), // 2: vega.data.v1.Signer 470 (*Property)(nil), // 3: vega.data.v1.Property 471 (*Data)(nil), // 4: vega.data.v1.Data 472 (*ExternalData)(nil), // 5: vega.data.v1.ExternalData 473 } 474 var file_vega_data_v1_data_proto_depIdxs = []int32{ 475 1, // 0: vega.data.v1.Signer.pub_key:type_name -> vega.data.v1.PubKey 476 0, // 1: vega.data.v1.Signer.eth_address:type_name -> vega.data.v1.ETHAddress 477 2, // 2: vega.data.v1.Data.signers:type_name -> vega.data.v1.Signer 478 3, // 3: vega.data.v1.Data.data:type_name -> vega.data.v1.Property 479 3, // 4: vega.data.v1.Data.meta_data:type_name -> vega.data.v1.Property 480 4, // 5: vega.data.v1.ExternalData.data:type_name -> vega.data.v1.Data 481 6, // [6:6] is the sub-list for method output_type 482 6, // [6:6] is the sub-list for method input_type 483 6, // [6:6] is the sub-list for extension type_name 484 6, // [6:6] is the sub-list for extension extendee 485 0, // [0:6] is the sub-list for field type_name 486 } 487 488 func init() { file_vega_data_v1_data_proto_init() } 489 func file_vega_data_v1_data_proto_init() { 490 if File_vega_data_v1_data_proto != nil { 491 return 492 } 493 if !protoimpl.UnsafeEnabled { 494 file_vega_data_v1_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 495 switch v := v.(*ETHAddress); i { 496 case 0: 497 return &v.state 498 case 1: 499 return &v.sizeCache 500 case 2: 501 return &v.unknownFields 502 default: 503 return nil 504 } 505 } 506 file_vega_data_v1_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 507 switch v := v.(*PubKey); i { 508 case 0: 509 return &v.state 510 case 1: 511 return &v.sizeCache 512 case 2: 513 return &v.unknownFields 514 default: 515 return nil 516 } 517 } 518 file_vega_data_v1_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 519 switch v := v.(*Signer); i { 520 case 0: 521 return &v.state 522 case 1: 523 return &v.sizeCache 524 case 2: 525 return &v.unknownFields 526 default: 527 return nil 528 } 529 } 530 file_vega_data_v1_data_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 531 switch v := v.(*Property); i { 532 case 0: 533 return &v.state 534 case 1: 535 return &v.sizeCache 536 case 2: 537 return &v.unknownFields 538 default: 539 return nil 540 } 541 } 542 file_vega_data_v1_data_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 543 switch v := v.(*Data); i { 544 case 0: 545 return &v.state 546 case 1: 547 return &v.sizeCache 548 case 2: 549 return &v.unknownFields 550 default: 551 return nil 552 } 553 } 554 file_vega_data_v1_data_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 555 switch v := v.(*ExternalData); i { 556 case 0: 557 return &v.state 558 case 1: 559 return &v.sizeCache 560 case 2: 561 return &v.unknownFields 562 default: 563 return nil 564 } 565 } 566 } 567 file_vega_data_v1_data_proto_msgTypes[2].OneofWrappers = []interface{}{ 568 (*Signer_PubKey)(nil), 569 (*Signer_EthAddress)(nil), 570 } 571 file_vega_data_v1_data_proto_msgTypes[4].OneofWrappers = []interface{}{} 572 type x struct{} 573 out := protoimpl.TypeBuilder{ 574 File: protoimpl.DescBuilder{ 575 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 576 RawDescriptor: file_vega_data_v1_data_proto_rawDesc, 577 NumEnums: 0, 578 NumMessages: 6, 579 NumExtensions: 0, 580 NumServices: 0, 581 }, 582 GoTypes: file_vega_data_v1_data_proto_goTypes, 583 DependencyIndexes: file_vega_data_v1_data_proto_depIdxs, 584 MessageInfos: file_vega_data_v1_data_proto_msgTypes, 585 }.Build() 586 File_vega_data_v1_data_proto = out.File 587 file_vega_data_v1_data_proto_rawDesc = nil 588 file_vega_data_v1_data_proto_goTypes = nil 589 file_vega_data_v1_data_proto_depIdxs = nil 590 }