github.com/InjectiveLabs/sdk-go@v1.53.0/exchange/auction_rpc/pb/goadesign_goagen_injective_auction_rpc.pb.go (about) 1 // Code generated with goa v3.7.0, DO NOT EDIT. 2 // 3 // InjectiveAuctionRPC 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_auction_rpc.proto 13 14 package injective_auction_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 AuctionEndpointRequest struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 // The auction round number. -1 for latest. 36 Round int64 `protobuf:"zigzag64,1,opt,name=round,proto3" json:"round,omitempty"` 37 } 38 39 func (x *AuctionEndpointRequest) Reset() { 40 *x = AuctionEndpointRequest{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *AuctionEndpointRequest) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*AuctionEndpointRequest) ProtoMessage() {} 53 54 func (x *AuctionEndpointRequest) ProtoReflect() protoreflect.Message { 55 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use AuctionEndpointRequest.ProtoReflect.Descriptor instead. 67 func (*AuctionEndpointRequest) Descriptor() ([]byte, []int) { 68 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *AuctionEndpointRequest) GetRound() int64 { 72 if x != nil { 73 return x.Round 74 } 75 return 0 76 } 77 78 type AuctionEndpointResponse struct { 79 state protoimpl.MessageState 80 sizeCache protoimpl.SizeCache 81 unknownFields protoimpl.UnknownFields 82 83 // The auction 84 Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"` 85 // Bids of the auction 86 Bids []*Bid `protobuf:"bytes,2,rep,name=bids,proto3" json:"bids,omitempty"` 87 } 88 89 func (x *AuctionEndpointResponse) Reset() { 90 *x = AuctionEndpointResponse{} 91 if protoimpl.UnsafeEnabled { 92 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[1] 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 94 ms.StoreMessageInfo(mi) 95 } 96 } 97 98 func (x *AuctionEndpointResponse) String() string { 99 return protoimpl.X.MessageStringOf(x) 100 } 101 102 func (*AuctionEndpointResponse) ProtoMessage() {} 103 104 func (x *AuctionEndpointResponse) ProtoReflect() protoreflect.Message { 105 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[1] 106 if protoimpl.UnsafeEnabled && x != nil { 107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 108 if ms.LoadMessageInfo() == nil { 109 ms.StoreMessageInfo(mi) 110 } 111 return ms 112 } 113 return mi.MessageOf(x) 114 } 115 116 // Deprecated: Use AuctionEndpointResponse.ProtoReflect.Descriptor instead. 117 func (*AuctionEndpointResponse) Descriptor() ([]byte, []int) { 118 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{1} 119 } 120 121 func (x *AuctionEndpointResponse) GetAuction() *Auction { 122 if x != nil { 123 return x.Auction 124 } 125 return nil 126 } 127 128 func (x *AuctionEndpointResponse) GetBids() []*Bid { 129 if x != nil { 130 return x.Bids 131 } 132 return nil 133 } 134 135 type Auction struct { 136 state protoimpl.MessageState 137 sizeCache protoimpl.SizeCache 138 unknownFields protoimpl.UnknownFields 139 140 // Account address of the auction winner 141 Winner string `protobuf:"bytes,1,opt,name=winner,proto3" json:"winner,omitempty"` 142 // Coins in the basket 143 Basket []*Coin `protobuf:"bytes,2,rep,name=basket,proto3" json:"basket,omitempty"` 144 WinningBidAmount string `protobuf:"bytes,3,opt,name=winning_bid_amount,json=winningBidAmount,proto3" json:"winning_bid_amount,omitempty"` 145 Round uint64 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` 146 // Auction end timestamp in UNIX millis. 147 EndTimestamp int64 `protobuf:"zigzag64,5,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"` 148 // UpdatedAt timestamp in UNIX millis. 149 UpdatedAt int64 `protobuf:"zigzag64,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 150 } 151 152 func (x *Auction) Reset() { 153 *x = Auction{} 154 if protoimpl.UnsafeEnabled { 155 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[2] 156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 157 ms.StoreMessageInfo(mi) 158 } 159 } 160 161 func (x *Auction) String() string { 162 return protoimpl.X.MessageStringOf(x) 163 } 164 165 func (*Auction) ProtoMessage() {} 166 167 func (x *Auction) ProtoReflect() protoreflect.Message { 168 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[2] 169 if protoimpl.UnsafeEnabled && x != nil { 170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 171 if ms.LoadMessageInfo() == nil { 172 ms.StoreMessageInfo(mi) 173 } 174 return ms 175 } 176 return mi.MessageOf(x) 177 } 178 179 // Deprecated: Use Auction.ProtoReflect.Descriptor instead. 180 func (*Auction) Descriptor() ([]byte, []int) { 181 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{2} 182 } 183 184 func (x *Auction) GetWinner() string { 185 if x != nil { 186 return x.Winner 187 } 188 return "" 189 } 190 191 func (x *Auction) GetBasket() []*Coin { 192 if x != nil { 193 return x.Basket 194 } 195 return nil 196 } 197 198 func (x *Auction) GetWinningBidAmount() string { 199 if x != nil { 200 return x.WinningBidAmount 201 } 202 return "" 203 } 204 205 func (x *Auction) GetRound() uint64 { 206 if x != nil { 207 return x.Round 208 } 209 return 0 210 } 211 212 func (x *Auction) GetEndTimestamp() int64 { 213 if x != nil { 214 return x.EndTimestamp 215 } 216 return 0 217 } 218 219 func (x *Auction) GetUpdatedAt() int64 { 220 if x != nil { 221 return x.UpdatedAt 222 } 223 return 0 224 } 225 226 type Coin struct { 227 state protoimpl.MessageState 228 sizeCache protoimpl.SizeCache 229 unknownFields protoimpl.UnknownFields 230 231 // Denom of the coin 232 Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` 233 Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` 234 } 235 236 func (x *Coin) Reset() { 237 *x = Coin{} 238 if protoimpl.UnsafeEnabled { 239 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[3] 240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 241 ms.StoreMessageInfo(mi) 242 } 243 } 244 245 func (x *Coin) String() string { 246 return protoimpl.X.MessageStringOf(x) 247 } 248 249 func (*Coin) ProtoMessage() {} 250 251 func (x *Coin) ProtoReflect() protoreflect.Message { 252 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[3] 253 if protoimpl.UnsafeEnabled && x != nil { 254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 255 if ms.LoadMessageInfo() == nil { 256 ms.StoreMessageInfo(mi) 257 } 258 return ms 259 } 260 return mi.MessageOf(x) 261 } 262 263 // Deprecated: Use Coin.ProtoReflect.Descriptor instead. 264 func (*Coin) Descriptor() ([]byte, []int) { 265 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{3} 266 } 267 268 func (x *Coin) GetDenom() string { 269 if x != nil { 270 return x.Denom 271 } 272 return "" 273 } 274 275 func (x *Coin) GetAmount() string { 276 if x != nil { 277 return x.Amount 278 } 279 return "" 280 } 281 282 type Bid struct { 283 state protoimpl.MessageState 284 sizeCache protoimpl.SizeCache 285 unknownFields protoimpl.UnknownFields 286 287 // Account address of the bidder 288 Bidder string `protobuf:"bytes,1,opt,name=bidder,proto3" json:"bidder,omitempty"` 289 Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` 290 // Bid timestamp in UNIX millis. 291 Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 292 } 293 294 func (x *Bid) Reset() { 295 *x = Bid{} 296 if protoimpl.UnsafeEnabled { 297 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[4] 298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 299 ms.StoreMessageInfo(mi) 300 } 301 } 302 303 func (x *Bid) String() string { 304 return protoimpl.X.MessageStringOf(x) 305 } 306 307 func (*Bid) ProtoMessage() {} 308 309 func (x *Bid) ProtoReflect() protoreflect.Message { 310 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[4] 311 if protoimpl.UnsafeEnabled && x != nil { 312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 313 if ms.LoadMessageInfo() == nil { 314 ms.StoreMessageInfo(mi) 315 } 316 return ms 317 } 318 return mi.MessageOf(x) 319 } 320 321 // Deprecated: Use Bid.ProtoReflect.Descriptor instead. 322 func (*Bid) Descriptor() ([]byte, []int) { 323 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{4} 324 } 325 326 func (x *Bid) GetBidder() string { 327 if x != nil { 328 return x.Bidder 329 } 330 return "" 331 } 332 333 func (x *Bid) GetAmount() string { 334 if x != nil { 335 return x.Amount 336 } 337 return "" 338 } 339 340 func (x *Bid) GetTimestamp() int64 { 341 if x != nil { 342 return x.Timestamp 343 } 344 return 0 345 } 346 347 type AuctionsRequest struct { 348 state protoimpl.MessageState 349 sizeCache protoimpl.SizeCache 350 unknownFields protoimpl.UnknownFields 351 } 352 353 func (x *AuctionsRequest) Reset() { 354 *x = AuctionsRequest{} 355 if protoimpl.UnsafeEnabled { 356 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[5] 357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 358 ms.StoreMessageInfo(mi) 359 } 360 } 361 362 func (x *AuctionsRequest) String() string { 363 return protoimpl.X.MessageStringOf(x) 364 } 365 366 func (*AuctionsRequest) ProtoMessage() {} 367 368 func (x *AuctionsRequest) ProtoReflect() protoreflect.Message { 369 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[5] 370 if protoimpl.UnsafeEnabled && x != nil { 371 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 372 if ms.LoadMessageInfo() == nil { 373 ms.StoreMessageInfo(mi) 374 } 375 return ms 376 } 377 return mi.MessageOf(x) 378 } 379 380 // Deprecated: Use AuctionsRequest.ProtoReflect.Descriptor instead. 381 func (*AuctionsRequest) Descriptor() ([]byte, []int) { 382 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{5} 383 } 384 385 type AuctionsResponse struct { 386 state protoimpl.MessageState 387 sizeCache protoimpl.SizeCache 388 unknownFields protoimpl.UnknownFields 389 390 // The historical auctions 391 Auctions []*Auction `protobuf:"bytes,1,rep,name=auctions,proto3" json:"auctions,omitempty"` 392 } 393 394 func (x *AuctionsResponse) Reset() { 395 *x = AuctionsResponse{} 396 if protoimpl.UnsafeEnabled { 397 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[6] 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 ms.StoreMessageInfo(mi) 400 } 401 } 402 403 func (x *AuctionsResponse) String() string { 404 return protoimpl.X.MessageStringOf(x) 405 } 406 407 func (*AuctionsResponse) ProtoMessage() {} 408 409 func (x *AuctionsResponse) ProtoReflect() protoreflect.Message { 410 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[6] 411 if protoimpl.UnsafeEnabled && x != nil { 412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 413 if ms.LoadMessageInfo() == nil { 414 ms.StoreMessageInfo(mi) 415 } 416 return ms 417 } 418 return mi.MessageOf(x) 419 } 420 421 // Deprecated: Use AuctionsResponse.ProtoReflect.Descriptor instead. 422 func (*AuctionsResponse) Descriptor() ([]byte, []int) { 423 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{6} 424 } 425 426 func (x *AuctionsResponse) GetAuctions() []*Auction { 427 if x != nil { 428 return x.Auctions 429 } 430 return nil 431 } 432 433 type StreamBidsRequest struct { 434 state protoimpl.MessageState 435 sizeCache protoimpl.SizeCache 436 unknownFields protoimpl.UnknownFields 437 } 438 439 func (x *StreamBidsRequest) Reset() { 440 *x = StreamBidsRequest{} 441 if protoimpl.UnsafeEnabled { 442 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[7] 443 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 444 ms.StoreMessageInfo(mi) 445 } 446 } 447 448 func (x *StreamBidsRequest) String() string { 449 return protoimpl.X.MessageStringOf(x) 450 } 451 452 func (*StreamBidsRequest) ProtoMessage() {} 453 454 func (x *StreamBidsRequest) ProtoReflect() protoreflect.Message { 455 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[7] 456 if protoimpl.UnsafeEnabled && x != nil { 457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 458 if ms.LoadMessageInfo() == nil { 459 ms.StoreMessageInfo(mi) 460 } 461 return ms 462 } 463 return mi.MessageOf(x) 464 } 465 466 // Deprecated: Use StreamBidsRequest.ProtoReflect.Descriptor instead. 467 func (*StreamBidsRequest) Descriptor() ([]byte, []int) { 468 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{7} 469 } 470 471 type StreamBidsResponse struct { 472 state protoimpl.MessageState 473 sizeCache protoimpl.SizeCache 474 unknownFields protoimpl.UnknownFields 475 476 // Account address of the bidder 477 Bidder string `protobuf:"bytes,1,opt,name=bidder,proto3" json:"bidder,omitempty"` 478 BidAmount string `protobuf:"bytes,2,opt,name=bid_amount,json=bidAmount,proto3" json:"bid_amount,omitempty"` 479 Round uint64 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` 480 // Operation timestamp in UNIX millis. 481 Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 482 } 483 484 func (x *StreamBidsResponse) Reset() { 485 *x = StreamBidsResponse{} 486 if protoimpl.UnsafeEnabled { 487 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[8] 488 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 489 ms.StoreMessageInfo(mi) 490 } 491 } 492 493 func (x *StreamBidsResponse) String() string { 494 return protoimpl.X.MessageStringOf(x) 495 } 496 497 func (*StreamBidsResponse) ProtoMessage() {} 498 499 func (x *StreamBidsResponse) ProtoReflect() protoreflect.Message { 500 mi := &file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[8] 501 if protoimpl.UnsafeEnabled && x != nil { 502 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 503 if ms.LoadMessageInfo() == nil { 504 ms.StoreMessageInfo(mi) 505 } 506 return ms 507 } 508 return mi.MessageOf(x) 509 } 510 511 // Deprecated: Use StreamBidsResponse.ProtoReflect.Descriptor instead. 512 func (*StreamBidsResponse) Descriptor() ([]byte, []int) { 513 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP(), []int{8} 514 } 515 516 func (x *StreamBidsResponse) GetBidder() string { 517 if x != nil { 518 return x.Bidder 519 } 520 return "" 521 } 522 523 func (x *StreamBidsResponse) GetBidAmount() string { 524 if x != nil { 525 return x.BidAmount 526 } 527 return "" 528 } 529 530 func (x *StreamBidsResponse) GetRound() uint64 { 531 if x != nil { 532 return x.Round 533 } 534 return 0 535 } 536 537 func (x *StreamBidsResponse) GetTimestamp() int64 { 538 if x != nil { 539 return x.Timestamp 540 } 541 return 0 542 } 543 544 var File_goadesign_goagen_injective_auction_rpc_proto protoreflect.FileDescriptor 545 546 var file_goadesign_goagen_injective_auction_rpc_proto_rawDesc = []byte{ 547 0x0a, 0x2c, 0x67, 0x6f, 0x61, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x67, 0x6f, 0x61, 0x67, 548 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 549 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 550 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 551 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x22, 0x2e, 0x0a, 0x16, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 552 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 553 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x05, 554 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x17, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 555 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 556 0x65, 0x12, 0x38, 0x0a, 0x07, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 557 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 558 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, 559 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x04, 0x62, 560 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 561 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x70, 562 0x63, 0x2e, 0x42, 0x69, 0x64, 0x52, 0x04, 0x62, 0x69, 0x64, 0x73, 0x22, 0xde, 0x01, 0x0a, 0x07, 563 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 564 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x12, 565 0x33, 0x0a, 0x06, 0x62, 0x61, 0x73, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 566 0x1b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 567 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x06, 0x62, 0x61, 568 0x73, 0x6b, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x77, 0x69, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 569 0x62, 0x69, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 570 0x52, 0x10, 0x77, 0x69, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x42, 0x69, 0x64, 0x41, 0x6d, 0x6f, 0x75, 571 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 572 0x04, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 573 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 574 0x0c, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1d, 0x0a, 575 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 576 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x34, 0x0a, 0x04, 577 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 578 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 579 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 580 0x6e, 0x74, 0x22, 0x53, 0x0a, 0x03, 0x42, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x64, 581 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x69, 0x64, 0x64, 0x65, 582 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 583 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 584 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 585 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x11, 0x0a, 0x0f, 0x41, 0x75, 0x63, 0x74, 0x69, 586 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x10, 0x41, 0x75, 587 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 588 0x0a, 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 589 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 590 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 591 0x52, 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x74, 592 0x72, 0x65, 0x61, 0x6d, 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 593 0x7f, 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, 0x73, 594 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x18, 595 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 596 0x0a, 0x62, 0x69, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 597 0x09, 0x52, 0x09, 0x62, 0x69, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 598 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x72, 0x6f, 0x75, 599 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 600 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 601 0x32, 0xc9, 0x02, 0x0a, 0x13, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x75, 602 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x50, 0x43, 0x12, 0x70, 0x0a, 0x0f, 0x41, 0x75, 0x63, 0x74, 603 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2d, 0x2e, 0x69, 0x6e, 604 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 605 0x72, 0x70, 0x63, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 606 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 607 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 608 0x70, 0x63, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 609 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x08, 0x41, 0x75, 610 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 611 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 612 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 613 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 0x69, 614 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 615 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x65, 0x61, 616 0x6d, 0x42, 0x69, 0x64, 0x73, 0x12, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 617 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 618 0x72, 0x65, 0x61, 0x6d, 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 619 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 620 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x69, 621 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x1a, 0x5a, 0x18, 622 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x63, 0x74, 0x69, 623 0x6f, 0x6e, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 624 } 625 626 var ( 627 file_goadesign_goagen_injective_auction_rpc_proto_rawDescOnce sync.Once 628 file_goadesign_goagen_injective_auction_rpc_proto_rawDescData = file_goadesign_goagen_injective_auction_rpc_proto_rawDesc 629 ) 630 631 func file_goadesign_goagen_injective_auction_rpc_proto_rawDescGZIP() []byte { 632 file_goadesign_goagen_injective_auction_rpc_proto_rawDescOnce.Do(func() { 633 file_goadesign_goagen_injective_auction_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_goadesign_goagen_injective_auction_rpc_proto_rawDescData) 634 }) 635 return file_goadesign_goagen_injective_auction_rpc_proto_rawDescData 636 } 637 638 var file_goadesign_goagen_injective_auction_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 639 var file_goadesign_goagen_injective_auction_rpc_proto_goTypes = []interface{}{ 640 (*AuctionEndpointRequest)(nil), // 0: injective_auction_rpc.AuctionEndpointRequest 641 (*AuctionEndpointResponse)(nil), // 1: injective_auction_rpc.AuctionEndpointResponse 642 (*Auction)(nil), // 2: injective_auction_rpc.Auction 643 (*Coin)(nil), // 3: injective_auction_rpc.Coin 644 (*Bid)(nil), // 4: injective_auction_rpc.Bid 645 (*AuctionsRequest)(nil), // 5: injective_auction_rpc.AuctionsRequest 646 (*AuctionsResponse)(nil), // 6: injective_auction_rpc.AuctionsResponse 647 (*StreamBidsRequest)(nil), // 7: injective_auction_rpc.StreamBidsRequest 648 (*StreamBidsResponse)(nil), // 8: injective_auction_rpc.StreamBidsResponse 649 } 650 var file_goadesign_goagen_injective_auction_rpc_proto_depIdxs = []int32{ 651 2, // 0: injective_auction_rpc.AuctionEndpointResponse.auction:type_name -> injective_auction_rpc.Auction 652 4, // 1: injective_auction_rpc.AuctionEndpointResponse.bids:type_name -> injective_auction_rpc.Bid 653 3, // 2: injective_auction_rpc.Auction.basket:type_name -> injective_auction_rpc.Coin 654 2, // 3: injective_auction_rpc.AuctionsResponse.auctions:type_name -> injective_auction_rpc.Auction 655 0, // 4: injective_auction_rpc.InjectiveAuctionRPC.AuctionEndpoint:input_type -> injective_auction_rpc.AuctionEndpointRequest 656 5, // 5: injective_auction_rpc.InjectiveAuctionRPC.Auctions:input_type -> injective_auction_rpc.AuctionsRequest 657 7, // 6: injective_auction_rpc.InjectiveAuctionRPC.StreamBids:input_type -> injective_auction_rpc.StreamBidsRequest 658 1, // 7: injective_auction_rpc.InjectiveAuctionRPC.AuctionEndpoint:output_type -> injective_auction_rpc.AuctionEndpointResponse 659 6, // 8: injective_auction_rpc.InjectiveAuctionRPC.Auctions:output_type -> injective_auction_rpc.AuctionsResponse 660 8, // 9: injective_auction_rpc.InjectiveAuctionRPC.StreamBids:output_type -> injective_auction_rpc.StreamBidsResponse 661 7, // [7:10] is the sub-list for method output_type 662 4, // [4:7] is the sub-list for method input_type 663 4, // [4:4] is the sub-list for extension type_name 664 4, // [4:4] is the sub-list for extension extendee 665 0, // [0:4] is the sub-list for field type_name 666 } 667 668 func init() { file_goadesign_goagen_injective_auction_rpc_proto_init() } 669 func file_goadesign_goagen_injective_auction_rpc_proto_init() { 670 if File_goadesign_goagen_injective_auction_rpc_proto != nil { 671 return 672 } 673 if !protoimpl.UnsafeEnabled { 674 file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 675 switch v := v.(*AuctionEndpointRequest); i { 676 case 0: 677 return &v.state 678 case 1: 679 return &v.sizeCache 680 case 2: 681 return &v.unknownFields 682 default: 683 return nil 684 } 685 } 686 file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 687 switch v := v.(*AuctionEndpointResponse); i { 688 case 0: 689 return &v.state 690 case 1: 691 return &v.sizeCache 692 case 2: 693 return &v.unknownFields 694 default: 695 return nil 696 } 697 } 698 file_goadesign_goagen_injective_auction_rpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 699 switch v := v.(*Auction); 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_auction_rpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 711 switch v := v.(*Coin); 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_auction_rpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 723 switch v := v.(*Bid); 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_auction_rpc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 735 switch v := v.(*AuctionsRequest); 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_auction_rpc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 747 switch v := v.(*AuctionsResponse); 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_auction_rpc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 759 switch v := v.(*StreamBidsRequest); 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_auction_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 771 switch v := v.(*StreamBidsResponse); 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 } 783 type x struct{} 784 out := protoimpl.TypeBuilder{ 785 File: protoimpl.DescBuilder{ 786 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 787 RawDescriptor: file_goadesign_goagen_injective_auction_rpc_proto_rawDesc, 788 NumEnums: 0, 789 NumMessages: 9, 790 NumExtensions: 0, 791 NumServices: 1, 792 }, 793 GoTypes: file_goadesign_goagen_injective_auction_rpc_proto_goTypes, 794 DependencyIndexes: file_goadesign_goagen_injective_auction_rpc_proto_depIdxs, 795 MessageInfos: file_goadesign_goagen_injective_auction_rpc_proto_msgTypes, 796 }.Build() 797 File_goadesign_goagen_injective_auction_rpc_proto = out.File 798 file_goadesign_goagen_injective_auction_rpc_proto_rawDesc = nil 799 file_goadesign_goagen_injective_auction_rpc_proto_goTypes = nil 800 file_goadesign_goagen_injective_auction_rpc_proto_depIdxs = nil 801 }