You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1383 lines
53 KiB
1383 lines
53 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.34.2
|
|
// protoc v5.27.1
|
|
// source: matchmaking/v1/forex/forex.proto
|
|
|
|
package v1
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type GetBotForexTradeRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 状态码
|
|
PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // 每页显示条数
|
|
PageCount int64 `protobuf:"varint,3,opt,name=pageCount,proto3" json:"pageCount,omitempty"` // 开始的位置
|
|
State int64 `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"` // 订单类型
|
|
}
|
|
|
|
func (x *GetBotForexTradeRequest) Reset() {
|
|
*x = GetBotForexTradeRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBotForexTradeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBotForexTradeRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBotForexTradeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBotForexTradeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBotForexTradeRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GetBotForexTradeRequest) GetStatus() int64 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBotForexTradeRequest) GetPageSize() int64 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBotForexTradeRequest) GetPageCount() int64 {
|
|
if x != nil {
|
|
return x.PageCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBotForexTradeRequest) GetState() int64 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetBotForexTradeReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
|
|
Data *BotForexTradeData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 返回结果
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // 返回消息提示
|
|
}
|
|
|
|
func (x *GetBotForexTradeReply) Reset() {
|
|
*x = GetBotForexTradeReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBotForexTradeReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBotForexTradeReply) ProtoMessage() {}
|
|
|
|
func (x *GetBotForexTradeReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBotForexTradeReply.ProtoReflect.Descriptor instead.
|
|
func (*GetBotForexTradeReply) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetBotForexTradeReply) GetCode() int64 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBotForexTradeReply) GetData() *BotForexTradeData {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetBotForexTradeReply) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BotForexTradeData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PageSize int64 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // 每页显示条数
|
|
PageCount int64 `protobuf:"varint,2,opt,name=pageCount,proto3" json:"pageCount,omitempty"` // 开始的位置
|
|
Data []*BotForexTrade `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // 返回结果
|
|
TotalCount int64 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` // 总数据
|
|
}
|
|
|
|
func (x *BotForexTradeData) Reset() {
|
|
*x = BotForexTradeData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BotForexTradeData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BotForexTradeData) ProtoMessage() {}
|
|
|
|
func (x *BotForexTradeData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BotForexTradeData.ProtoReflect.Descriptor instead.
|
|
func (*BotForexTradeData) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *BotForexTradeData) GetPageSize() int64 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotForexTradeData) GetPageCount() int64 {
|
|
if x != nil {
|
|
return x.PageCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotForexTradeData) GetData() []*BotForexTrade {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotForexTradeData) GetTotalCount() int64 {
|
|
if x != nil {
|
|
return x.TotalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BotForexTrade struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OrderId string `protobuf:"bytes,1,opt,name=orderId,proto3" json:"orderId,omitempty"` // 订单ID
|
|
ForexId string `protobuf:"bytes,2,opt,name=forexId,proto3" json:"forexId,omitempty"` // 外汇ID
|
|
TradeType int64 `protobuf:"varint,3,opt,name=tradeType,proto3" json:"tradeType,omitempty"` // 交易类型
|
|
DealType int64 `protobuf:"varint,4,opt,name=dealType,proto3" json:"dealType,omitempty"` // 交易方式
|
|
LimitPrice string `protobuf:"bytes,5,opt,name=limitPrice,proto3" json:"limitPrice,omitempty"` // 限价
|
|
MarketPrice string `protobuf:"bytes,6,opt,name=marketPrice,proto3" json:"marketPrice,omitempty"` // 市价
|
|
DealPrice string `protobuf:"bytes,7,opt,name=dealPrice,proto3" json:"dealPrice,omitempty"` // 开仓价
|
|
ClosingPrice string `protobuf:"bytes,8,opt,name=closingPrice,proto3" json:"closingPrice,omitempty"` // 平仓价
|
|
OrderNumber string `protobuf:"bytes,9,opt,name=orderNumber,proto3" json:"orderNumber,omitempty"` // 订单数量
|
|
StopType int64 `protobuf:"varint,10,opt,name=stopType,proto3" json:"stopType,omitempty"` // 止盈止损状态
|
|
StopLossPrice string `protobuf:"bytes,11,opt,name=stopLossPrice,proto3" json:"stopLossPrice,omitempty"` // 止损
|
|
StopWinPrice string `protobuf:"bytes,12,opt,name=stopWinPrice,proto3" json:"stopWinPrice,omitempty"` // 止盈
|
|
ServiceCost string `protobuf:"bytes,13,opt,name=serviceCost,proto3" json:"serviceCost,omitempty"` // 开仓手续费
|
|
EarnestMoney string `protobuf:"bytes,14,opt,name=earnestMoney,proto3" json:"earnestMoney,omitempty"` // 保证金
|
|
OrderMoney string `protobuf:"bytes,15,opt,name=orderMoney,proto3" json:"orderMoney,omitempty"` // 订单总额
|
|
Status int64 `protobuf:"varint,16,opt,name=status,proto3" json:"status,omitempty"` // 订单状态
|
|
CreateTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=createTime,proto3" json:"createTime,omitempty"` // 订单创建时间
|
|
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=updateTime,proto3" json:"updateTime,omitempty"` // 订单更新时间
|
|
OpenTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=openTime,proto3" json:"openTime,omitempty"` // 订单开仓时间
|
|
ClosingTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=closingTime,proto3" json:"closingTime,omitempty"` // 订单平仓时间
|
|
ClosingCost string `protobuf:"bytes,21,opt,name=closingCost,proto3" json:"closingCost,omitempty"` // 平仓手续费
|
|
FaceValue string `protobuf:"bytes,22,opt,name=faceValue,proto3" json:"faceValue,omitempty"` // 面值
|
|
OvernightCost string `protobuf:"bytes,23,opt,name=overnightCost,proto3" json:"overnightCost,omitempty"` // 过夜手续费
|
|
PryNum string `protobuf:"bytes,24,opt,name=pryNum,proto3" json:"pryNum,omitempty"` // 杠杆值
|
|
KeepDecimal string `protobuf:"bytes,25,opt,name=keepDecimal,proto3" json:"keepDecimal,omitempty"` // 保留小数位
|
|
SecondTime string `protobuf:"bytes,26,opt,name=secondTime,proto3" json:"secondTime,omitempty"` // 秒外汇时间
|
|
State int64 `protobuf:"varint,27,opt,name=state,proto3" json:"state,omitempty"` // 订单类型
|
|
}
|
|
|
|
func (x *BotForexTrade) Reset() {
|
|
*x = BotForexTrade{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BotForexTrade) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BotForexTrade) ProtoMessage() {}
|
|
|
|
func (x *BotForexTrade) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BotForexTrade.ProtoReflect.Descriptor instead.
|
|
func (*BotForexTrade) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *BotForexTrade) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetForexId() string {
|
|
if x != nil {
|
|
return x.ForexId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetTradeType() int64 {
|
|
if x != nil {
|
|
return x.TradeType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotForexTrade) GetDealType() int64 {
|
|
if x != nil {
|
|
return x.DealType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotForexTrade) GetLimitPrice() string {
|
|
if x != nil {
|
|
return x.LimitPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetMarketPrice() string {
|
|
if x != nil {
|
|
return x.MarketPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetDealPrice() string {
|
|
if x != nil {
|
|
return x.DealPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetClosingPrice() string {
|
|
if x != nil {
|
|
return x.ClosingPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetOrderNumber() string {
|
|
if x != nil {
|
|
return x.OrderNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetStopType() int64 {
|
|
if x != nil {
|
|
return x.StopType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotForexTrade) GetStopLossPrice() string {
|
|
if x != nil {
|
|
return x.StopLossPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetStopWinPrice() string {
|
|
if x != nil {
|
|
return x.StopWinPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetServiceCost() string {
|
|
if x != nil {
|
|
return x.ServiceCost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetEarnestMoney() string {
|
|
if x != nil {
|
|
return x.EarnestMoney
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetOrderMoney() string {
|
|
if x != nil {
|
|
return x.OrderMoney
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetStatus() int64 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotForexTrade) GetCreateTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotForexTrade) GetUpdateTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotForexTrade) GetOpenTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.OpenTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotForexTrade) GetClosingTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ClosingTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotForexTrade) GetClosingCost() string {
|
|
if x != nil {
|
|
return x.ClosingCost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetFaceValue() string {
|
|
if x != nil {
|
|
return x.FaceValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetOvernightCost() string {
|
|
if x != nil {
|
|
return x.OvernightCost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetPryNum() string {
|
|
if x != nil {
|
|
return x.PryNum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetKeepDecimal() string {
|
|
if x != nil {
|
|
return x.KeepDecimal
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetSecondTime() string {
|
|
if x != nil {
|
|
return x.SecondTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotForexTrade) GetState() int64 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ForexRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ForexId string `protobuf:"bytes,1,opt,name=forexId,proto3" json:"forexId,omitempty"` // 交易对
|
|
TradeType int64 `protobuf:"varint,2,opt,name=tradeType,proto3" json:"tradeType,omitempty"` // 交易类型:1买入,2卖出
|
|
DealType int64 `protobuf:"varint,3,opt,name=dealType,proto3" json:"dealType,omitempty"` // 委托方式:1限价,2市价
|
|
LimitPrice string `protobuf:"bytes,4,opt,name=limitPrice,proto3" json:"limitPrice,omitempty"` // 限价
|
|
MarketPrice string `protobuf:"bytes,5,opt,name=marketPrice,proto3" json:"marketPrice,omitempty"` // 市价
|
|
OrderAmount string `protobuf:"bytes,6,opt,name=orderAmount,proto3" json:"orderAmount,omitempty"` // 订单金额
|
|
OrderNumber string `protobuf:"bytes,7,opt,name=orderNumber,proto3" json:"orderNumber,omitempty"` // 订单数量
|
|
EarnestMoney string `protobuf:"bytes,8,opt,name=earnestMoney,proto3" json:"earnestMoney,omitempty"` // 保证金
|
|
ServiceCost string `protobuf:"bytes,9,opt,name=serviceCost,proto3" json:"serviceCost,omitempty"` // 手续费
|
|
StopType int64 `protobuf:"varint,10,opt,name=stopType,proto3" json:"stopType,omitempty"` // 止损止盈设置:0无设置,1止损止盈
|
|
StopLossPrice string `protobuf:"bytes,11,opt,name=stopLossPrice,proto3" json:"stopLossPrice,omitempty"` // 止损
|
|
StopWinPrice string `protobuf:"bytes,12,opt,name=stopWinPrice,proto3" json:"stopWinPrice,omitempty"` // 止盈
|
|
PryNum string `protobuf:"bytes,13,opt,name=pryNum,proto3" json:"pryNum,omitempty"` //杠杆
|
|
Time int64 `protobuf:"varint,14,opt,name=time,proto3" json:"time,omitempty"` // 秒外汇时间
|
|
}
|
|
|
|
func (x *ForexRequest) Reset() {
|
|
*x = ForexRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForexRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForexRequest) ProtoMessage() {}
|
|
|
|
func (x *ForexRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForexRequest.ProtoReflect.Descriptor instead.
|
|
func (*ForexRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ForexRequest) GetForexId() string {
|
|
if x != nil {
|
|
return x.ForexId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetTradeType() int64 {
|
|
if x != nil {
|
|
return x.TradeType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForexRequest) GetDealType() int64 {
|
|
if x != nil {
|
|
return x.DealType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForexRequest) GetLimitPrice() string {
|
|
if x != nil {
|
|
return x.LimitPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetMarketPrice() string {
|
|
if x != nil {
|
|
return x.MarketPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetOrderAmount() string {
|
|
if x != nil {
|
|
return x.OrderAmount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetOrderNumber() string {
|
|
if x != nil {
|
|
return x.OrderNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetEarnestMoney() string {
|
|
if x != nil {
|
|
return x.EarnestMoney
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetServiceCost() string {
|
|
if x != nil {
|
|
return x.ServiceCost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetStopType() int64 {
|
|
if x != nil {
|
|
return x.StopType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForexRequest) GetStopLossPrice() string {
|
|
if x != nil {
|
|
return x.StopLossPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetStopWinPrice() string {
|
|
if x != nil {
|
|
return x.StopWinPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetPryNum() string {
|
|
if x != nil {
|
|
return x.PryNum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForexRequest) GetTime() int64 {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ForexReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
|
|
Data *ForexResult `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 返回结果
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // 返回消息提示
|
|
}
|
|
|
|
func (x *ForexReply) Reset() {
|
|
*x = ForexReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForexReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForexReply) ProtoMessage() {}
|
|
|
|
func (x *ForexReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForexReply.ProtoReflect.Descriptor instead.
|
|
func (*ForexReply) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ForexReply) GetCode() int64 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForexReply) GetData() *ForexResult {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ForexReply) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ForexResult struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OrderId string `protobuf:"bytes,1,opt,name=orderId,proto3" json:"orderId,omitempty"` // 订单Id
|
|
}
|
|
|
|
func (x *ForexResult) Reset() {
|
|
*x = ForexResult{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForexResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForexResult) ProtoMessage() {}
|
|
|
|
func (x *ForexResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForexResult.ProtoReflect.Descriptor instead.
|
|
func (*ForexResult) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ForexResult) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateForexRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OrderId string `protobuf:"bytes,1,opt,name=orderId,proto3" json:"orderId,omitempty"` // 订单Id
|
|
StopType int64 `protobuf:"varint,2,opt,name=stopType,proto3" json:"stopType,omitempty"` // 止盈止损
|
|
StopLossPrice string `protobuf:"bytes,3,opt,name=stopLossPrice,proto3" json:"stopLossPrice,omitempty"` // 止损
|
|
StopWinPrice string `protobuf:"bytes,4,opt,name=stopWinPrice,proto3" json:"stopWinPrice,omitempty"` // 止盈
|
|
}
|
|
|
|
func (x *UpdateForexRequest) Reset() {
|
|
*x = UpdateForexRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateForexRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateForexRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateForexRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateForexRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateForexRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UpdateForexRequest) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateForexRequest) GetStopType() int64 {
|
|
if x != nil {
|
|
return x.StopType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateForexRequest) GetStopLossPrice() string {
|
|
if x != nil {
|
|
return x.StopLossPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateForexRequest) GetStopWinPrice() string {
|
|
if x != nil {
|
|
return x.StopWinPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelForexRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OrderId string `protobuf:"bytes,1,opt,name=orderId,proto3" json:"orderId,omitempty"` // 订单ID
|
|
}
|
|
|
|
func (x *CancelForexRequest) Reset() {
|
|
*x = CancelForexRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CancelForexRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelForexRequest) ProtoMessage() {}
|
|
|
|
func (x *CancelForexRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelForexRequest.ProtoReflect.Descriptor instead.
|
|
func (*CancelForexRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CancelForexRequest) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AllForexRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AllForexRequest) Reset() {
|
|
*x = AllForexRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AllForexRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AllForexRequest) ProtoMessage() {}
|
|
|
|
func (x *AllForexRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AllForexRequest.ProtoReflect.Descriptor instead.
|
|
func (*AllForexRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type AllForexReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
|
|
Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 返回结果
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // 返回消息提示
|
|
}
|
|
|
|
func (x *AllForexReply) Reset() {
|
|
*x = AllForexReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AllForexReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AllForexReply) ProtoMessage() {}
|
|
|
|
func (x *AllForexReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_forex_forex_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AllForexReply.ProtoReflect.Descriptor instead.
|
|
func (*AllForexReply) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *AllForexReply) GetCode() int64 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AllForexReply) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AllForexReply) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_matchmaking_v1_forex_forex_proto protoreflect.FileDescriptor
|
|
|
|
var file_matchmaking_v1_forex_forex_proto_rawDesc = []byte{
|
|
0x0a, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31,
|
|
0x2f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x2f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x12, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e,
|
|
0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
|
|
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x46, 0x6f, 0x72, 0x65,
|
|
0x78, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a,
|
|
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
|
|
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x7c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x46,
|
|
0x6f, 0x72, 0x65, 0x78, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12,
|
|
0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f,
|
|
0x64, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x21, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x42, 0x6f, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44,
|
|
0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
|
|
0x61, 0x67, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x11, 0x42, 0x6f, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x78,
|
|
0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67,
|
|
0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67,
|
|
0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x43, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x42, 0x6f, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x54, 0x72, 0x61, 0x64, 0x65,
|
|
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61,
|
|
0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xcb, 0x07, 0x0a, 0x0d, 0x42, 0x6f, 0x74, 0x46, 0x6f,
|
|
0x72, 0x65, 0x78, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65,
|
|
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72,
|
|
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09,
|
|
0x74, 0x72, 0x61, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x09, 0x74, 0x72, 0x61, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65,
|
|
0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65,
|
|
0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x50,
|
|
0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x6d, 0x69,
|
|
0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
|
|
0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x72,
|
|
0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x61, 0x6c,
|
|
0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x61,
|
|
0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e,
|
|
0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c,
|
|
0x6f, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x72,
|
|
0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x73, 0x74, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
|
0x73, 0x74, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x70,
|
|
0x4c, 0x6f, 0x73, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0d, 0x73, 0x74, 0x6f, 0x70, 0x4c, 0x6f, 0x73, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x22,
|
|
0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x57, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0c,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x57, 0x69, 0x6e, 0x50, 0x72, 0x69,
|
|
0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x73,
|
|
0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
0x43, 0x6f, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x74, 0x4d,
|
|
0x6f, 0x6e, 0x65, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x61, 0x72, 0x6e,
|
|
0x65, 0x73, 0x74, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65,
|
|
0x72, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72,
|
|
0x64, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x11,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
|
0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0a,
|
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6e,
|
|
0x54, 0x69, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65,
|
|
0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18,
|
|
0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
0x70, 0x52, 0x0b, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20,
|
|
0x0a, 0x0b, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x73, 0x74, 0x18, 0x15, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x73, 0x74,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x66, 0x61, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x16, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x61, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x24,
|
|
0x0a, 0x0d, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x18,
|
|
0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x69, 0x67, 0x68, 0x74,
|
|
0x43, 0x6f, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x18,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b,
|
|
0x6b, 0x65, 0x65, 0x70, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x18, 0x19, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0b, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x12, 0x1e,
|
|
0x0a, 0x0a, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x1a, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14,
|
|
0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73,
|
|
0x74, 0x61, 0x74, 0x65, 0x22, 0xc0, 0x03, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x49, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x49, 0x64, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x09, 0x74, 0x72, 0x61, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a,
|
|
0x08, 0x64, 0x65, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x08, 0x64, 0x65, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x6d,
|
|
0x69, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c,
|
|
0x69, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x61, 0x72,
|
|
0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
|
0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6f,
|
|
0x72, 0x64, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a,
|
|
0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
|
|
0x22, 0x0a, 0x0c, 0x65, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x74, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x74, 0x4d, 0x6f,
|
|
0x6e, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f,
|
|
0x73, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
0x65, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x79, 0x70,
|
|
0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x79, 0x70,
|
|
0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x4c, 0x6f, 0x73, 0x73, 0x50, 0x72, 0x69,
|
|
0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x4c, 0x6f,
|
|
0x73, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x57,
|
|
0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,
|
|
0x74, 0x6f, 0x70, 0x57, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70,
|
|
0x72, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x79,
|
|
0x4e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x6b, 0x0a, 0x0a, 0x46, 0x6f, 0x72, 0x65, 0x78,
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74,
|
|
0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d,
|
|
0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65,
|
|
0x73, 0x75, 0x6c, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x22, 0x27, 0x0a, 0x0b, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65, 0x73,
|
|
0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x94, 0x01,
|
|
0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x74,
|
|
0x6f, 0x70, 0x4c, 0x6f, 0x73, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x4c, 0x6f, 0x73, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65,
|
|
0x12, 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x57, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x57, 0x69, 0x6e, 0x50,
|
|
0x72, 0x69, 0x63, 0x65, 0x22, 0x2e, 0x0a, 0x12, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x46, 0x6f,
|
|
0x72, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72,
|
|
0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64,
|
|
0x65, 0x72, 0x49, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x41, 0x6c, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x78,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x0d, 0x41, 0x6c, 0x6c, 0x46, 0x6f,
|
|
0x72, 0x65, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
|
0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xfc, 0x05, 0x0a, 0x05, 0x46,
|
|
0x6f, 0x72, 0x65, 0x78, 0x12, 0x86, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x46,
|
|
0x6f, 0x72, 0x65, 0x78, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x27, 0x2e, 0x6d, 0x61, 0x74, 0x63,
|
|
0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f,
|
|
0x74, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67,
|
|
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x54,
|
|
0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02,
|
|
0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x6f, 0x72,
|
|
0x65, 0x78, 0x2f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x76, 0x0a,
|
|
0x0f, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
|
0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a,
|
|
0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93,
|
|
0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x6f,
|
|
0x72, 0x65, 0x78, 0x2f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x83, 0x01, 0x0a, 0x15, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x55,
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12,
|
|
0x22, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e,
|
|
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
|
|
0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x6f, 0x72, 0x64,
|
|
0x65, 0x72, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x2f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x5f, 0x75,
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x77, 0x0a, 0x0d, 0x46,
|
|
0x6f, 0x72, 0x65, 0x78, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x6d,
|
|
0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61,
|
|
0x6e, 0x63, 0x65, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x1a, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x26, 0x82, 0xd3,
|
|
0xe4, 0x93, 0x02, 0x20, 0x3a, 0x01, 0x2a, 0x22, 0x1b, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f,
|
|
0x66, 0x6f, 0x72, 0x65, 0x78, 0x2f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x5f, 0x70, 0x6f, 0x73, 0x69,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7e, 0x0a, 0x10, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x41, 0x6c, 0x6c,
|
|
0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68,
|
|
0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x46, 0x6f, 0x72,
|
|
0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x74, 0x63,
|
|
0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x46, 0x6f,
|
|
0x72, 0x65, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24,
|
|
0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x6f, 0x72, 0x65,
|
|
0x78, 0x2f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x6f, 0x73, 0x69,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x73, 0x0a, 0x0b, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x43, 0x61, 0x6e,
|
|
0x63, 0x65, 0x6c, 0x12, 0x22, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e,
|
|
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x78,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d,
|
|
0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x78, 0x52, 0x65,
|
|
0x70, 0x6c, 0x79, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19,
|
|
0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x78, 0x2f, 0x66, 0x6f, 0x72,
|
|
0x65, 0x78, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x42, 0x2a, 0x5a, 0x28, 0x6d, 0x61, 0x74,
|
|
0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f,
|
|
0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2f,
|
|
0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_matchmaking_v1_forex_forex_proto_rawDescOnce sync.Once
|
|
file_matchmaking_v1_forex_forex_proto_rawDescData = file_matchmaking_v1_forex_forex_proto_rawDesc
|
|
)
|
|
|
|
func file_matchmaking_v1_forex_forex_proto_rawDescGZIP() []byte {
|
|
file_matchmaking_v1_forex_forex_proto_rawDescOnce.Do(func() {
|
|
file_matchmaking_v1_forex_forex_proto_rawDescData = protoimpl.X.CompressGZIP(file_matchmaking_v1_forex_forex_proto_rawDescData)
|
|
})
|
|
return file_matchmaking_v1_forex_forex_proto_rawDescData
|
|
}
|
|
|
|
var file_matchmaking_v1_forex_forex_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
var file_matchmaking_v1_forex_forex_proto_goTypes = []any{
|
|
(*GetBotForexTradeRequest)(nil), // 0: matchmaking.v1.GetBotForexTradeRequest
|
|
(*GetBotForexTradeReply)(nil), // 1: matchmaking.v1.GetBotForexTradeReply
|
|
(*BotForexTradeData)(nil), // 2: matchmaking.v1.BotForexTradeData
|
|
(*BotForexTrade)(nil), // 3: matchmaking.v1.BotForexTrade
|
|
(*ForexRequest)(nil), // 4: matchmaking.v1.ForexRequest
|
|
(*ForexReply)(nil), // 5: matchmaking.v1.ForexReply
|
|
(*ForexResult)(nil), // 6: matchmaking.v1.ForexResult
|
|
(*UpdateForexRequest)(nil), // 7: matchmaking.v1.UpdateForexRequest
|
|
(*CancelForexRequest)(nil), // 8: matchmaking.v1.CancelForexRequest
|
|
(*AllForexRequest)(nil), // 9: matchmaking.v1.AllForexRequest
|
|
(*AllForexReply)(nil), // 10: matchmaking.v1.AllForexReply
|
|
(*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
|
|
}
|
|
var file_matchmaking_v1_forex_forex_proto_depIdxs = []int32{
|
|
2, // 0: matchmaking.v1.GetBotForexTradeReply.data:type_name -> matchmaking.v1.BotForexTradeData
|
|
3, // 1: matchmaking.v1.BotForexTradeData.data:type_name -> matchmaking.v1.BotForexTrade
|
|
11, // 2: matchmaking.v1.BotForexTrade.createTime:type_name -> google.protobuf.Timestamp
|
|
11, // 3: matchmaking.v1.BotForexTrade.updateTime:type_name -> google.protobuf.Timestamp
|
|
11, // 4: matchmaking.v1.BotForexTrade.openTime:type_name -> google.protobuf.Timestamp
|
|
11, // 5: matchmaking.v1.BotForexTrade.closingTime:type_name -> google.protobuf.Timestamp
|
|
6, // 6: matchmaking.v1.ForexReply.data:type_name -> matchmaking.v1.ForexResult
|
|
0, // 7: matchmaking.v1.Forex.GetBotForexTrade:input_type -> matchmaking.v1.GetBotForexTradeRequest
|
|
4, // 8: matchmaking.v1.Forex.ForexPlaceOrder:input_type -> matchmaking.v1.ForexRequest
|
|
7, // 9: matchmaking.v1.Forex.ForexUpdatePlaceOrder:input_type -> matchmaking.v1.UpdateForexRequest
|
|
8, // 10: matchmaking.v1.Forex.ForexPosition:input_type -> matchmaking.v1.CancelForexRequest
|
|
9, // 11: matchmaking.v1.Forex.ForexAllPosition:input_type -> matchmaking.v1.AllForexRequest
|
|
8, // 12: matchmaking.v1.Forex.ForexCancel:input_type -> matchmaking.v1.CancelForexRequest
|
|
1, // 13: matchmaking.v1.Forex.GetBotForexTrade:output_type -> matchmaking.v1.GetBotForexTradeReply
|
|
5, // 14: matchmaking.v1.Forex.ForexPlaceOrder:output_type -> matchmaking.v1.ForexReply
|
|
5, // 15: matchmaking.v1.Forex.ForexUpdatePlaceOrder:output_type -> matchmaking.v1.ForexReply
|
|
5, // 16: matchmaking.v1.Forex.ForexPosition:output_type -> matchmaking.v1.ForexReply
|
|
10, // 17: matchmaking.v1.Forex.ForexAllPosition:output_type -> matchmaking.v1.AllForexReply
|
|
5, // 18: matchmaking.v1.Forex.ForexCancel:output_type -> matchmaking.v1.ForexReply
|
|
13, // [13:19] is the sub-list for method output_type
|
|
7, // [7:13] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_matchmaking_v1_forex_forex_proto_init() }
|
|
func file_matchmaking_v1_forex_forex_proto_init() {
|
|
if File_matchmaking_v1_forex_forex_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
|
switch v := v.(*GetBotForexTradeRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
|
switch v := v.(*GetBotForexTradeReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
|
switch v := v.(*BotForexTradeData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
|
switch v := v.(*BotForexTrade); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ForexRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ForexReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ForexResult); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
|
switch v := v.(*UpdateForexRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
|
switch v := v.(*CancelForexRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AllForexRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_forex_forex_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AllForexReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_matchmaking_v1_forex_forex_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 11,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_matchmaking_v1_forex_forex_proto_goTypes,
|
|
DependencyIndexes: file_matchmaking_v1_forex_forex_proto_depIdxs,
|
|
MessageInfos: file_matchmaking_v1_forex_forex_proto_msgTypes,
|
|
}.Build()
|
|
File_matchmaking_v1_forex_forex_proto = out.File
|
|
file_matchmaking_v1_forex_forex_proto_rawDesc = nil
|
|
file_matchmaking_v1_forex_forex_proto_goTypes = nil
|
|
file_matchmaking_v1_forex_forex_proto_depIdxs = nil
|
|
}
|
|
|