github.com/InjectiveLabs/sdk-go@v1.53.0/exchange/oracle_rpc/pb/goadesign_goagen_injective_oracle_rpc.pb.go (about) 1 // Code generated with goa v3.7.0, DO NOT EDIT. 2 // 3 // InjectiveOracleRPC protocol buffer definition 4 // 5 // Command: 6 // $ goa gen github.com/InjectiveLabs/injective-indexer/api/design -o ../ 7 8 // Code generated by protoc-gen-go. DO NOT EDIT. 9 // versions: 10 // protoc-gen-go v1.30.0 11 // protoc v3.19.4 12 // source: goadesign_goagen_injective_oracle_rpc.proto 13 14 package injective_oracle_rpcpb 15 16 import ( 17 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 18 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 19 reflect "reflect" 20 sync "sync" 21 ) 22 23 const ( 24 // Verify that this generated code is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 26 // Verify that runtime/protoimpl is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 28 ) 29 30 type OracleListRequest struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 } 35 36 func (x *OracleListRequest) Reset() { 37 *x = OracleListRequest{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *OracleListRequest) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*OracleListRequest) ProtoMessage() {} 50 51 func (x *OracleListRequest) ProtoReflect() protoreflect.Message { 52 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use OracleListRequest.ProtoReflect.Descriptor instead. 64 func (*OracleListRequest) Descriptor() ([]byte, []int) { 65 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{0} 66 } 67 68 type OracleListResponse struct { 69 state protoimpl.MessageState 70 sizeCache protoimpl.SizeCache 71 unknownFields protoimpl.UnknownFields 72 73 Oracles []*Oracle `protobuf:"bytes,1,rep,name=oracles,proto3" json:"oracles,omitempty"` 74 } 75 76 func (x *OracleListResponse) Reset() { 77 *x = OracleListResponse{} 78 if protoimpl.UnsafeEnabled { 79 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[1] 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 81 ms.StoreMessageInfo(mi) 82 } 83 } 84 85 func (x *OracleListResponse) String() string { 86 return protoimpl.X.MessageStringOf(x) 87 } 88 89 func (*OracleListResponse) ProtoMessage() {} 90 91 func (x *OracleListResponse) ProtoReflect() protoreflect.Message { 92 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[1] 93 if protoimpl.UnsafeEnabled && x != nil { 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 if ms.LoadMessageInfo() == nil { 96 ms.StoreMessageInfo(mi) 97 } 98 return ms 99 } 100 return mi.MessageOf(x) 101 } 102 103 // Deprecated: Use OracleListResponse.ProtoReflect.Descriptor instead. 104 func (*OracleListResponse) Descriptor() ([]byte, []int) { 105 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{1} 106 } 107 108 func (x *OracleListResponse) GetOracles() []*Oracle { 109 if x != nil { 110 return x.Oracles 111 } 112 return nil 113 } 114 115 type Oracle struct { 116 state protoimpl.MessageState 117 sizeCache protoimpl.SizeCache 118 unknownFields protoimpl.UnknownFields 119 120 // The symbol of the oracle asset. 121 Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` 122 // Oracle base currency 123 BaseSymbol string `protobuf:"bytes,2,opt,name=base_symbol,json=baseSymbol,proto3" json:"base_symbol,omitempty"` 124 // Oracle quote currency 125 QuoteSymbol string `protobuf:"bytes,3,opt,name=quote_symbol,json=quoteSymbol,proto3" json:"quote_symbol,omitempty"` 126 // Oracle Type 127 OracleType string `protobuf:"bytes,4,opt,name=oracle_type,json=oracleType,proto3" json:"oracle_type,omitempty"` 128 // The price of the oracle asset 129 Price string `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"` 130 } 131 132 func (x *Oracle) Reset() { 133 *x = Oracle{} 134 if protoimpl.UnsafeEnabled { 135 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[2] 136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 137 ms.StoreMessageInfo(mi) 138 } 139 } 140 141 func (x *Oracle) String() string { 142 return protoimpl.X.MessageStringOf(x) 143 } 144 145 func (*Oracle) ProtoMessage() {} 146 147 func (x *Oracle) ProtoReflect() protoreflect.Message { 148 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[2] 149 if protoimpl.UnsafeEnabled && x != nil { 150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 151 if ms.LoadMessageInfo() == nil { 152 ms.StoreMessageInfo(mi) 153 } 154 return ms 155 } 156 return mi.MessageOf(x) 157 } 158 159 // Deprecated: Use Oracle.ProtoReflect.Descriptor instead. 160 func (*Oracle) Descriptor() ([]byte, []int) { 161 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{2} 162 } 163 164 func (x *Oracle) GetSymbol() string { 165 if x != nil { 166 return x.Symbol 167 } 168 return "" 169 } 170 171 func (x *Oracle) GetBaseSymbol() string { 172 if x != nil { 173 return x.BaseSymbol 174 } 175 return "" 176 } 177 178 func (x *Oracle) GetQuoteSymbol() string { 179 if x != nil { 180 return x.QuoteSymbol 181 } 182 return "" 183 } 184 185 func (x *Oracle) GetOracleType() string { 186 if x != nil { 187 return x.OracleType 188 } 189 return "" 190 } 191 192 func (x *Oracle) GetPrice() string { 193 if x != nil { 194 return x.Price 195 } 196 return "" 197 } 198 199 type PriceRequest struct { 200 state protoimpl.MessageState 201 sizeCache protoimpl.SizeCache 202 unknownFields protoimpl.UnknownFields 203 204 // Oracle base currency 205 BaseSymbol string `protobuf:"bytes,1,opt,name=base_symbol,json=baseSymbol,proto3" json:"base_symbol,omitempty"` 206 // Oracle quote currency 207 QuoteSymbol string `protobuf:"bytes,2,opt,name=quote_symbol,json=quoteSymbol,proto3" json:"quote_symbol,omitempty"` 208 // Oracle Type 209 OracleType string `protobuf:"bytes,3,opt,name=oracle_type,json=oracleType,proto3" json:"oracle_type,omitempty"` 210 // OracleScaleFactor 211 OracleScaleFactor uint32 `protobuf:"varint,4,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"` 212 } 213 214 func (x *PriceRequest) Reset() { 215 *x = PriceRequest{} 216 if protoimpl.UnsafeEnabled { 217 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[3] 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 ms.StoreMessageInfo(mi) 220 } 221 } 222 223 func (x *PriceRequest) String() string { 224 return protoimpl.X.MessageStringOf(x) 225 } 226 227 func (*PriceRequest) ProtoMessage() {} 228 229 func (x *PriceRequest) ProtoReflect() protoreflect.Message { 230 mi := &file_goadesign_goagen_injective_oracle_rpc_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 PriceRequest.ProtoReflect.Descriptor instead. 242 func (*PriceRequest) Descriptor() ([]byte, []int) { 243 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{3} 244 } 245 246 func (x *PriceRequest) GetBaseSymbol() string { 247 if x != nil { 248 return x.BaseSymbol 249 } 250 return "" 251 } 252 253 func (x *PriceRequest) GetQuoteSymbol() string { 254 if x != nil { 255 return x.QuoteSymbol 256 } 257 return "" 258 } 259 260 func (x *PriceRequest) GetOracleType() string { 261 if x != nil { 262 return x.OracleType 263 } 264 return "" 265 } 266 267 func (x *PriceRequest) GetOracleScaleFactor() uint32 { 268 if x != nil { 269 return x.OracleScaleFactor 270 } 271 return 0 272 } 273 274 type PriceResponse struct { 275 state protoimpl.MessageState 276 sizeCache protoimpl.SizeCache 277 unknownFields protoimpl.UnknownFields 278 279 // The price of the oracle asset 280 Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` 281 } 282 283 func (x *PriceResponse) Reset() { 284 *x = PriceResponse{} 285 if protoimpl.UnsafeEnabled { 286 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[4] 287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 288 ms.StoreMessageInfo(mi) 289 } 290 } 291 292 func (x *PriceResponse) String() string { 293 return protoimpl.X.MessageStringOf(x) 294 } 295 296 func (*PriceResponse) ProtoMessage() {} 297 298 func (x *PriceResponse) ProtoReflect() protoreflect.Message { 299 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[4] 300 if protoimpl.UnsafeEnabled && x != nil { 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 if ms.LoadMessageInfo() == nil { 303 ms.StoreMessageInfo(mi) 304 } 305 return ms 306 } 307 return mi.MessageOf(x) 308 } 309 310 // Deprecated: Use PriceResponse.ProtoReflect.Descriptor instead. 311 func (*PriceResponse) Descriptor() ([]byte, []int) { 312 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{4} 313 } 314 315 func (x *PriceResponse) GetPrice() string { 316 if x != nil { 317 return x.Price 318 } 319 return "" 320 } 321 322 type StreamPricesRequest struct { 323 state protoimpl.MessageState 324 sizeCache protoimpl.SizeCache 325 unknownFields protoimpl.UnknownFields 326 327 // Oracle base currency 328 BaseSymbol string `protobuf:"bytes,1,opt,name=base_symbol,json=baseSymbol,proto3" json:"base_symbol,omitempty"` 329 // Oracle quote currency 330 QuoteSymbol string `protobuf:"bytes,2,opt,name=quote_symbol,json=quoteSymbol,proto3" json:"quote_symbol,omitempty"` 331 // Oracle Type 332 OracleType string `protobuf:"bytes,3,opt,name=oracle_type,json=oracleType,proto3" json:"oracle_type,omitempty"` 333 } 334 335 func (x *StreamPricesRequest) Reset() { 336 *x = StreamPricesRequest{} 337 if protoimpl.UnsafeEnabled { 338 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[5] 339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 340 ms.StoreMessageInfo(mi) 341 } 342 } 343 344 func (x *StreamPricesRequest) String() string { 345 return protoimpl.X.MessageStringOf(x) 346 } 347 348 func (*StreamPricesRequest) ProtoMessage() {} 349 350 func (x *StreamPricesRequest) ProtoReflect() protoreflect.Message { 351 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[5] 352 if protoimpl.UnsafeEnabled && x != nil { 353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 354 if ms.LoadMessageInfo() == nil { 355 ms.StoreMessageInfo(mi) 356 } 357 return ms 358 } 359 return mi.MessageOf(x) 360 } 361 362 // Deprecated: Use StreamPricesRequest.ProtoReflect.Descriptor instead. 363 func (*StreamPricesRequest) Descriptor() ([]byte, []int) { 364 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{5} 365 } 366 367 func (x *StreamPricesRequest) GetBaseSymbol() string { 368 if x != nil { 369 return x.BaseSymbol 370 } 371 return "" 372 } 373 374 func (x *StreamPricesRequest) GetQuoteSymbol() string { 375 if x != nil { 376 return x.QuoteSymbol 377 } 378 return "" 379 } 380 381 func (x *StreamPricesRequest) GetOracleType() string { 382 if x != nil { 383 return x.OracleType 384 } 385 return "" 386 } 387 388 type StreamPricesResponse struct { 389 state protoimpl.MessageState 390 sizeCache protoimpl.SizeCache 391 unknownFields protoimpl.UnknownFields 392 393 // The price of the oracle asset 394 Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` 395 // Operation timestamp in UNIX millis. 396 Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 397 } 398 399 func (x *StreamPricesResponse) Reset() { 400 *x = StreamPricesResponse{} 401 if protoimpl.UnsafeEnabled { 402 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[6] 403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 404 ms.StoreMessageInfo(mi) 405 } 406 } 407 408 func (x *StreamPricesResponse) String() string { 409 return protoimpl.X.MessageStringOf(x) 410 } 411 412 func (*StreamPricesResponse) ProtoMessage() {} 413 414 func (x *StreamPricesResponse) ProtoReflect() protoreflect.Message { 415 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[6] 416 if protoimpl.UnsafeEnabled && x != nil { 417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 418 if ms.LoadMessageInfo() == nil { 419 ms.StoreMessageInfo(mi) 420 } 421 return ms 422 } 423 return mi.MessageOf(x) 424 } 425 426 // Deprecated: Use StreamPricesResponse.ProtoReflect.Descriptor instead. 427 func (*StreamPricesResponse) Descriptor() ([]byte, []int) { 428 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{6} 429 } 430 431 func (x *StreamPricesResponse) GetPrice() string { 432 if x != nil { 433 return x.Price 434 } 435 return "" 436 } 437 438 func (x *StreamPricesResponse) GetTimestamp() int64 { 439 if x != nil { 440 return x.Timestamp 441 } 442 return 0 443 } 444 445 type StreamPricesByMarketsRequest struct { 446 state protoimpl.MessageState 447 sizeCache protoimpl.SizeCache 448 unknownFields protoimpl.UnknownFields 449 450 // marketIDs to stream price for, empty to listen for all prices 451 MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` 452 } 453 454 func (x *StreamPricesByMarketsRequest) Reset() { 455 *x = StreamPricesByMarketsRequest{} 456 if protoimpl.UnsafeEnabled { 457 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[7] 458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 459 ms.StoreMessageInfo(mi) 460 } 461 } 462 463 func (x *StreamPricesByMarketsRequest) String() string { 464 return protoimpl.X.MessageStringOf(x) 465 } 466 467 func (*StreamPricesByMarketsRequest) ProtoMessage() {} 468 469 func (x *StreamPricesByMarketsRequest) ProtoReflect() protoreflect.Message { 470 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[7] 471 if protoimpl.UnsafeEnabled && x != nil { 472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 473 if ms.LoadMessageInfo() == nil { 474 ms.StoreMessageInfo(mi) 475 } 476 return ms 477 } 478 return mi.MessageOf(x) 479 } 480 481 // Deprecated: Use StreamPricesByMarketsRequest.ProtoReflect.Descriptor instead. 482 func (*StreamPricesByMarketsRequest) Descriptor() ([]byte, []int) { 483 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{7} 484 } 485 486 func (x *StreamPricesByMarketsRequest) GetMarketIds() []string { 487 if x != nil { 488 return x.MarketIds 489 } 490 return nil 491 } 492 493 type StreamPricesByMarketsResponse struct { 494 state protoimpl.MessageState 495 sizeCache protoimpl.SizeCache 496 unknownFields protoimpl.UnknownFields 497 498 // The price of the oracle asset 499 Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` 500 // Operation timestamp in UNIX millis. 501 Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 502 // marketID that the price has been updated 503 MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 504 } 505 506 func (x *StreamPricesByMarketsResponse) Reset() { 507 *x = StreamPricesByMarketsResponse{} 508 if protoimpl.UnsafeEnabled { 509 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[8] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 ms.StoreMessageInfo(mi) 512 } 513 } 514 515 func (x *StreamPricesByMarketsResponse) String() string { 516 return protoimpl.X.MessageStringOf(x) 517 } 518 519 func (*StreamPricesByMarketsResponse) ProtoMessage() {} 520 521 func (x *StreamPricesByMarketsResponse) ProtoReflect() protoreflect.Message { 522 mi := &file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[8] 523 if protoimpl.UnsafeEnabled && x != nil { 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 525 if ms.LoadMessageInfo() == nil { 526 ms.StoreMessageInfo(mi) 527 } 528 return ms 529 } 530 return mi.MessageOf(x) 531 } 532 533 // Deprecated: Use StreamPricesByMarketsResponse.ProtoReflect.Descriptor instead. 534 func (*StreamPricesByMarketsResponse) Descriptor() ([]byte, []int) { 535 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP(), []int{8} 536 } 537 538 func (x *StreamPricesByMarketsResponse) GetPrice() string { 539 if x != nil { 540 return x.Price 541 } 542 return "" 543 } 544 545 func (x *StreamPricesByMarketsResponse) GetTimestamp() int64 { 546 if x != nil { 547 return x.Timestamp 548 } 549 return 0 550 } 551 552 func (x *StreamPricesByMarketsResponse) GetMarketId() string { 553 if x != nil { 554 return x.MarketId 555 } 556 return "" 557 } 558 559 var File_goadesign_goagen_injective_oracle_rpc_proto protoreflect.FileDescriptor 560 561 var file_goadesign_goagen_injective_oracle_rpc_proto_rawDesc = []byte{ 562 0x0a, 0x2b, 0x67, 0x6f, 0x61, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x67, 0x6f, 0x61, 0x67, 563 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 564 0x63, 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x69, 565 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 566 0x72, 0x70, 0x63, 0x22, 0x13, 0x0a, 0x11, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x4c, 0x69, 0x73, 567 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4c, 0x0a, 0x12, 0x4f, 0x72, 0x61, 0x63, 568 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 569 0x0a, 0x07, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 570 0x1c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 571 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x07, 0x6f, 572 0x72, 0x61, 0x63, 0x6c, 0x65, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x06, 0x4f, 0x72, 0x61, 0x63, 0x6c, 573 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 574 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x73, 575 0x65, 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 576 0x62, 0x61, 0x73, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 577 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 578 0x52, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x1f, 0x0a, 579 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 580 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 581 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 582 0x72, 0x69, 0x63, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x0c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 583 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x79, 584 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 585 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 586 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, 0x75, 587 0x6f, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x61, 588 0x63, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 589 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 590 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 591 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x53, 592 0x63, 0x61, 0x6c, 0x65, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x25, 0x0a, 0x0d, 0x50, 0x72, 593 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 594 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 595 0x65, 0x22, 0x7a, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 596 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x65, 597 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 598 0x61, 0x73, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x6f, 599 0x74, 0x65, 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 600 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 601 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 602 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4a, 0x0a, 603 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 604 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 605 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 606 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 607 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x3d, 0x0a, 0x1c, 0x53, 0x74, 0x72, 608 0x65, 0x61, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x42, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x65, 609 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 610 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 611 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0x70, 0x0a, 0x1d, 0x53, 0x74, 0x72, 0x65, 612 0x61, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x42, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 613 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 614 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 615 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 616 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 617 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 618 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x32, 0xb5, 0x03, 0x0a, 0x12, 0x49, 619 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x50, 620 0x43, 0x12, 0x5f, 0x0a, 0x0a, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 621 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 622 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x4c, 0x69, 0x73, 623 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 624 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 625 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 626 0x73, 0x65, 0x12, 0x50, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x69, 0x6e, 627 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x72, 628 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 629 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 630 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 631 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 632 0x69, 0x63, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 633 0x5f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 634 0x61, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 635 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 636 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x69, 637 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 638 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x42, 0x79, 639 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 640 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 641 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x42, 0x79, 0x4d, 0x61, 0x72, 642 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x69, 0x6e, 643 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x72, 644 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x42, 645 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 646 0x30, 0x01, 0x42, 0x19, 0x5a, 0x17, 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 647 0x5f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 648 0x72, 0x6f, 0x74, 0x6f, 0x33, 649 } 650 651 var ( 652 file_goadesign_goagen_injective_oracle_rpc_proto_rawDescOnce sync.Once 653 file_goadesign_goagen_injective_oracle_rpc_proto_rawDescData = file_goadesign_goagen_injective_oracle_rpc_proto_rawDesc 654 ) 655 656 func file_goadesign_goagen_injective_oracle_rpc_proto_rawDescGZIP() []byte { 657 file_goadesign_goagen_injective_oracle_rpc_proto_rawDescOnce.Do(func() { 658 file_goadesign_goagen_injective_oracle_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_goadesign_goagen_injective_oracle_rpc_proto_rawDescData) 659 }) 660 return file_goadesign_goagen_injective_oracle_rpc_proto_rawDescData 661 } 662 663 var file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 664 var file_goadesign_goagen_injective_oracle_rpc_proto_goTypes = []interface{}{ 665 (*OracleListRequest)(nil), // 0: injective_oracle_rpc.OracleListRequest 666 (*OracleListResponse)(nil), // 1: injective_oracle_rpc.OracleListResponse 667 (*Oracle)(nil), // 2: injective_oracle_rpc.Oracle 668 (*PriceRequest)(nil), // 3: injective_oracle_rpc.PriceRequest 669 (*PriceResponse)(nil), // 4: injective_oracle_rpc.PriceResponse 670 (*StreamPricesRequest)(nil), // 5: injective_oracle_rpc.StreamPricesRequest 671 (*StreamPricesResponse)(nil), // 6: injective_oracle_rpc.StreamPricesResponse 672 (*StreamPricesByMarketsRequest)(nil), // 7: injective_oracle_rpc.StreamPricesByMarketsRequest 673 (*StreamPricesByMarketsResponse)(nil), // 8: injective_oracle_rpc.StreamPricesByMarketsResponse 674 } 675 var file_goadesign_goagen_injective_oracle_rpc_proto_depIdxs = []int32{ 676 2, // 0: injective_oracle_rpc.OracleListResponse.oracles:type_name -> injective_oracle_rpc.Oracle 677 0, // 1: injective_oracle_rpc.InjectiveOracleRPC.OracleList:input_type -> injective_oracle_rpc.OracleListRequest 678 3, // 2: injective_oracle_rpc.InjectiveOracleRPC.Price:input_type -> injective_oracle_rpc.PriceRequest 679 5, // 3: injective_oracle_rpc.InjectiveOracleRPC.StreamPrices:input_type -> injective_oracle_rpc.StreamPricesRequest 680 7, // 4: injective_oracle_rpc.InjectiveOracleRPC.StreamPricesByMarkets:input_type -> injective_oracle_rpc.StreamPricesByMarketsRequest 681 1, // 5: injective_oracle_rpc.InjectiveOracleRPC.OracleList:output_type -> injective_oracle_rpc.OracleListResponse 682 4, // 6: injective_oracle_rpc.InjectiveOracleRPC.Price:output_type -> injective_oracle_rpc.PriceResponse 683 6, // 7: injective_oracle_rpc.InjectiveOracleRPC.StreamPrices:output_type -> injective_oracle_rpc.StreamPricesResponse 684 8, // 8: injective_oracle_rpc.InjectiveOracleRPC.StreamPricesByMarkets:output_type -> injective_oracle_rpc.StreamPricesByMarketsResponse 685 5, // [5:9] is the sub-list for method output_type 686 1, // [1:5] is the sub-list for method input_type 687 1, // [1:1] is the sub-list for extension type_name 688 1, // [1:1] is the sub-list for extension extendee 689 0, // [0:1] is the sub-list for field type_name 690 } 691 692 func init() { file_goadesign_goagen_injective_oracle_rpc_proto_init() } 693 func file_goadesign_goagen_injective_oracle_rpc_proto_init() { 694 if File_goadesign_goagen_injective_oracle_rpc_proto != nil { 695 return 696 } 697 if !protoimpl.UnsafeEnabled { 698 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 699 switch v := v.(*OracleListRequest); i { 700 case 0: 701 return &v.state 702 case 1: 703 return &v.sizeCache 704 case 2: 705 return &v.unknownFields 706 default: 707 return nil 708 } 709 } 710 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 711 switch v := v.(*OracleListResponse); i { 712 case 0: 713 return &v.state 714 case 1: 715 return &v.sizeCache 716 case 2: 717 return &v.unknownFields 718 default: 719 return nil 720 } 721 } 722 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 723 switch v := v.(*Oracle); i { 724 case 0: 725 return &v.state 726 case 1: 727 return &v.sizeCache 728 case 2: 729 return &v.unknownFields 730 default: 731 return nil 732 } 733 } 734 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 735 switch v := v.(*PriceRequest); i { 736 case 0: 737 return &v.state 738 case 1: 739 return &v.sizeCache 740 case 2: 741 return &v.unknownFields 742 default: 743 return nil 744 } 745 } 746 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 747 switch v := v.(*PriceResponse); i { 748 case 0: 749 return &v.state 750 case 1: 751 return &v.sizeCache 752 case 2: 753 return &v.unknownFields 754 default: 755 return nil 756 } 757 } 758 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 759 switch v := v.(*StreamPricesRequest); i { 760 case 0: 761 return &v.state 762 case 1: 763 return &v.sizeCache 764 case 2: 765 return &v.unknownFields 766 default: 767 return nil 768 } 769 } 770 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 771 switch v := v.(*StreamPricesResponse); i { 772 case 0: 773 return &v.state 774 case 1: 775 return &v.sizeCache 776 case 2: 777 return &v.unknownFields 778 default: 779 return nil 780 } 781 } 782 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 783 switch v := v.(*StreamPricesByMarketsRequest); i { 784 case 0: 785 return &v.state 786 case 1: 787 return &v.sizeCache 788 case 2: 789 return &v.unknownFields 790 default: 791 return nil 792 } 793 } 794 file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 795 switch v := v.(*StreamPricesByMarketsResponse); i { 796 case 0: 797 return &v.state 798 case 1: 799 return &v.sizeCache 800 case 2: 801 return &v.unknownFields 802 default: 803 return nil 804 } 805 } 806 } 807 type x struct{} 808 out := protoimpl.TypeBuilder{ 809 File: protoimpl.DescBuilder{ 810 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 811 RawDescriptor: file_goadesign_goagen_injective_oracle_rpc_proto_rawDesc, 812 NumEnums: 0, 813 NumMessages: 9, 814 NumExtensions: 0, 815 NumServices: 1, 816 }, 817 GoTypes: file_goadesign_goagen_injective_oracle_rpc_proto_goTypes, 818 DependencyIndexes: file_goadesign_goagen_injective_oracle_rpc_proto_depIdxs, 819 MessageInfos: file_goadesign_goagen_injective_oracle_rpc_proto_msgTypes, 820 }.Build() 821 File_goadesign_goagen_injective_oracle_rpc_proto = out.File 822 file_goadesign_goagen_injective_oracle_rpc_proto_rawDesc = nil 823 file_goadesign_goagen_injective_oracle_rpc_proto_goTypes = nil 824 file_goadesign_goagen_injective_oracle_rpc_proto_depIdxs = nil 825 }