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.
1393 lines
55 KiB
1393 lines
55 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.34.2
|
|
// protoc v5.27.1
|
|
// source: matchmaking/v1/virtually/contract.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 GetBotContractTradeRequest 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 *GetBotContractTradeRequest) Reset() {
|
|
*x = GetBotContractTradeRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBotContractTradeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBotContractTradeRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBotContractTradeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 GetBotContractTradeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBotContractTradeRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GetBotContractTradeRequest) GetStatus() int64 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBotContractTradeRequest) GetPageSize() int64 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBotContractTradeRequest) GetPageCount() int64 {
|
|
if x != nil {
|
|
return x.PageCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBotContractTradeRequest) GetState() int64 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetBotContractTradeReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
|
|
Data *BotContractTradeData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 返回结果
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // 返回消息提示
|
|
}
|
|
|
|
func (x *GetBotContractTradeReply) Reset() {
|
|
*x = GetBotContractTradeReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBotContractTradeReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBotContractTradeReply) ProtoMessage() {}
|
|
|
|
func (x *GetBotContractTradeReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 GetBotContractTradeReply.ProtoReflect.Descriptor instead.
|
|
func (*GetBotContractTradeReply) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetBotContractTradeReply) GetCode() int64 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBotContractTradeReply) GetData() *BotContractTradeData {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetBotContractTradeReply) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BotContractTradeData 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 []*BotContractTrade `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // 返回结果
|
|
TotalCount int64 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` // 总数据
|
|
}
|
|
|
|
func (x *BotContractTradeData) Reset() {
|
|
*x = BotContractTradeData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BotContractTradeData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BotContractTradeData) ProtoMessage() {}
|
|
|
|
func (x *BotContractTradeData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 BotContractTradeData.ProtoReflect.Descriptor instead.
|
|
func (*BotContractTradeData) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *BotContractTradeData) GetPageSize() int64 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotContractTradeData) GetPageCount() int64 {
|
|
if x != nil {
|
|
return x.PageCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotContractTradeData) GetData() []*BotContractTrade {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotContractTradeData) GetTotalCount() int64 {
|
|
if x != nil {
|
|
return x.TotalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BotContractTrade struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OrderId string `protobuf:"bytes,1,opt,name=orderId,proto3" json:"orderId,omitempty"` // 订单ID
|
|
ContractId string `protobuf:"bytes,2,opt,name=contractId,proto3" json:"contractId,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 *BotContractTrade) Reset() {
|
|
*x = BotContractTrade{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BotContractTrade) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BotContractTrade) ProtoMessage() {}
|
|
|
|
func (x *BotContractTrade) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 BotContractTrade.ProtoReflect.Descriptor instead.
|
|
func (*BotContractTrade) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *BotContractTrade) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetContractId() string {
|
|
if x != nil {
|
|
return x.ContractId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetTradeType() int64 {
|
|
if x != nil {
|
|
return x.TradeType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotContractTrade) GetDealType() int64 {
|
|
if x != nil {
|
|
return x.DealType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotContractTrade) GetLimitPrice() string {
|
|
if x != nil {
|
|
return x.LimitPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetMarketPrice() string {
|
|
if x != nil {
|
|
return x.MarketPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetDealPrice() string {
|
|
if x != nil {
|
|
return x.DealPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetClosingPrice() string {
|
|
if x != nil {
|
|
return x.ClosingPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetOrderNumber() string {
|
|
if x != nil {
|
|
return x.OrderNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetStopType() int64 {
|
|
if x != nil {
|
|
return x.StopType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotContractTrade) GetStopLossPrice() string {
|
|
if x != nil {
|
|
return x.StopLossPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetStopWinPrice() string {
|
|
if x != nil {
|
|
return x.StopWinPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetServiceCost() string {
|
|
if x != nil {
|
|
return x.ServiceCost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetEarnestMoney() string {
|
|
if x != nil {
|
|
return x.EarnestMoney
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetOrderMoney() string {
|
|
if x != nil {
|
|
return x.OrderMoney
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetStatus() int64 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BotContractTrade) GetCreateTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotContractTrade) GetUpdateTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotContractTrade) GetOpenTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.OpenTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotContractTrade) GetClosingTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ClosingTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BotContractTrade) GetClosingCost() string {
|
|
if x != nil {
|
|
return x.ClosingCost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetFaceValue() string {
|
|
if x != nil {
|
|
return x.FaceValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetOvernightCost() string {
|
|
if x != nil {
|
|
return x.OvernightCost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetPryNum() string {
|
|
if x != nil {
|
|
return x.PryNum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetKeepDecimal() string {
|
|
if x != nil {
|
|
return x.KeepDecimal
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetSecondTime() string {
|
|
if x != nil {
|
|
return x.SecondTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BotContractTrade) GetState() int64 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ContractRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ContractId string `protobuf:"bytes,1,opt,name=contractId,proto3" json:"contractId,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 *ContractRequest) Reset() {
|
|
*x = ContractRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ContractRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContractRequest) ProtoMessage() {}
|
|
|
|
func (x *ContractRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 ContractRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContractRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ContractRequest) GetContractId() string {
|
|
if x != nil {
|
|
return x.ContractId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetTradeType() int64 {
|
|
if x != nil {
|
|
return x.TradeType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContractRequest) GetDealType() int64 {
|
|
if x != nil {
|
|
return x.DealType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContractRequest) GetLimitPrice() string {
|
|
if x != nil {
|
|
return x.LimitPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetMarketPrice() string {
|
|
if x != nil {
|
|
return x.MarketPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetOrderAmount() string {
|
|
if x != nil {
|
|
return x.OrderAmount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetOrderNumber() string {
|
|
if x != nil {
|
|
return x.OrderNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetEarnestMoney() string {
|
|
if x != nil {
|
|
return x.EarnestMoney
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetServiceCost() string {
|
|
if x != nil {
|
|
return x.ServiceCost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetStopType() int64 {
|
|
if x != nil {
|
|
return x.StopType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContractRequest) GetStopLossPrice() string {
|
|
if x != nil {
|
|
return x.StopLossPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetStopWinPrice() string {
|
|
if x != nil {
|
|
return x.StopWinPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetPryNum() string {
|
|
if x != nil {
|
|
return x.PryNum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContractRequest) GetTime() int64 {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ContractReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
|
|
Data *ContractResult `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 返回结果
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // 返回消息提示
|
|
}
|
|
|
|
func (x *ContractReply) Reset() {
|
|
*x = ContractReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ContractReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContractReply) ProtoMessage() {}
|
|
|
|
func (x *ContractReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 ContractReply.ProtoReflect.Descriptor instead.
|
|
func (*ContractReply) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ContractReply) GetCode() int64 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContractReply) GetData() *ContractResult {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContractReply) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContractResult 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 *ContractResult) Reset() {
|
|
*x = ContractResult{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ContractResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContractResult) ProtoMessage() {}
|
|
|
|
func (x *ContractResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 ContractResult.ProtoReflect.Descriptor instead.
|
|
func (*ContractResult) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ContractResult) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateContractRequest 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 *UpdateContractRequest) Reset() {
|
|
*x = UpdateContractRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateContractRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateContractRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateContractRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 UpdateContractRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateContractRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UpdateContractRequest) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateContractRequest) GetStopType() int64 {
|
|
if x != nil {
|
|
return x.StopType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateContractRequest) GetStopLossPrice() string {
|
|
if x != nil {
|
|
return x.StopLossPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateContractRequest) GetStopWinPrice() string {
|
|
if x != nil {
|
|
return x.StopWinPrice
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelContractRequest 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 *CancelContractRequest) Reset() {
|
|
*x = CancelContractRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CancelContractRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelContractRequest) ProtoMessage() {}
|
|
|
|
func (x *CancelContractRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 CancelContractRequest.ProtoReflect.Descriptor instead.
|
|
func (*CancelContractRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CancelContractRequest) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AllContractRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AllContractRequest) Reset() {
|
|
*x = AllContractRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AllContractRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AllContractRequest) ProtoMessage() {}
|
|
|
|
func (x *AllContractRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 AllContractRequest.ProtoReflect.Descriptor instead.
|
|
func (*AllContractRequest) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type AllContractReply 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 *AllContractReply) Reset() {
|
|
*x = AllContractReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_matchmaking_v1_virtually_contract_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AllContractReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AllContractReply) ProtoMessage() {}
|
|
|
|
func (x *AllContractReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_matchmaking_v1_virtually_contract_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 AllContractReply.ProtoReflect.Descriptor instead.
|
|
func (*AllContractReply) Descriptor() ([]byte, []int) {
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *AllContractReply) GetCode() int64 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AllContractReply) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AllContractReply) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_matchmaking_v1_virtually_contract_proto protoreflect.FileDescriptor
|
|
|
|
var file_matchmaking_v1_virtually_contract_proto_rawDesc = []byte{
|
|
0x0a, 0x27, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31,
|
|
0x2f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x6c, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72,
|
|
0x61, 0x63, 0x74, 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, 0x84, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74,
|
|
0x42, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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,
|
|
0x82, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
|
0x63, 0x74, 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, 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24,
|
|
0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x42, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0xa6, 0x01, 0x0a, 0x14, 0x42, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x72, 0x61, 0x63, 0x74, 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, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
|
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b,
|
|
0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
|
0x63, 0x74, 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, 0xd4, 0x07,
|
|
0x0a, 0x10, 0x42, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x1e, 0x0a, 0x0a,
|
|
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0xc9, 0x03, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f,
|
|
0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x71, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x32, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e,
|
|
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x2a, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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,
|
|
0x97, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
|
0x63, 0x74, 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, 0x31, 0x0a, 0x15, 0x43, 0x61, 0x6e,
|
|
0x63, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x14, 0x0a, 0x12,
|
|
0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x22, 0x54, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
|
0x74, 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, 0xdd, 0x06, 0x0a, 0x08, 0x43, 0x6f, 0x6e,
|
|
0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x95, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74,
|
|
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x2a, 0x2e,
|
|
0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47,
|
|
0x65, 0x74, 0x42, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x72, 0x61,
|
|
0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x61, 0x74, 0x63,
|
|
0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f,
|
|
0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65,
|
|
0x70, 0x6c, 0x79, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d,
|
|
0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f,
|
|
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x85, 0x01,
|
|
0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4f,
|
|
0x72, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69,
|
|
0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52,
|
|
0x65, 0x70, 0x6c, 0x79, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22,
|
|
0x24, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
|
0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x92, 0x01, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
|
0x63, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x72, 0x64,
|
|
0x65, 0x72, 0x12, 0x25, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67,
|
|
0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
|
0x63, 0x74, 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, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
|
0x61, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a,
|
|
0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x72, 0x61, 0x63, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x75, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x86, 0x01, 0x0a, 0x10, 0x43,
|
|
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
0x25, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x3a, 0x01, 0x2a,
|
|
0x22, 0x21, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
|
0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
|
0x41, 0x6c, 0x6c, 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, 0x41, 0x6c, 0x6c,
|
|
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x20, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6c,
|
|
0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x6f,
|
|
0x72, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x63, 0x6f,
|
|
0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
|
0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x25, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61,
|
|
0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x43, 0x6f,
|
|
0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x43,
|
|
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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,
|
|
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
|
0x74, 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_virtually_contract_proto_rawDescOnce sync.Once
|
|
file_matchmaking_v1_virtually_contract_proto_rawDescData = file_matchmaking_v1_virtually_contract_proto_rawDesc
|
|
)
|
|
|
|
func file_matchmaking_v1_virtually_contract_proto_rawDescGZIP() []byte {
|
|
file_matchmaking_v1_virtually_contract_proto_rawDescOnce.Do(func() {
|
|
file_matchmaking_v1_virtually_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_matchmaking_v1_virtually_contract_proto_rawDescData)
|
|
})
|
|
return file_matchmaking_v1_virtually_contract_proto_rawDescData
|
|
}
|
|
|
|
var file_matchmaking_v1_virtually_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
var file_matchmaking_v1_virtually_contract_proto_goTypes = []any{
|
|
(*GetBotContractTradeRequest)(nil), // 0: matchmaking.v1.GetBotContractTradeRequest
|
|
(*GetBotContractTradeReply)(nil), // 1: matchmaking.v1.GetBotContractTradeReply
|
|
(*BotContractTradeData)(nil), // 2: matchmaking.v1.BotContractTradeData
|
|
(*BotContractTrade)(nil), // 3: matchmaking.v1.BotContractTrade
|
|
(*ContractRequest)(nil), // 4: matchmaking.v1.ContractRequest
|
|
(*ContractReply)(nil), // 5: matchmaking.v1.ContractReply
|
|
(*ContractResult)(nil), // 6: matchmaking.v1.ContractResult
|
|
(*UpdateContractRequest)(nil), // 7: matchmaking.v1.UpdateContractRequest
|
|
(*CancelContractRequest)(nil), // 8: matchmaking.v1.CancelContractRequest
|
|
(*AllContractRequest)(nil), // 9: matchmaking.v1.AllContractRequest
|
|
(*AllContractReply)(nil), // 10: matchmaking.v1.AllContractReply
|
|
(*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
|
|
}
|
|
var file_matchmaking_v1_virtually_contract_proto_depIdxs = []int32{
|
|
2, // 0: matchmaking.v1.GetBotContractTradeReply.data:type_name -> matchmaking.v1.BotContractTradeData
|
|
3, // 1: matchmaking.v1.BotContractTradeData.data:type_name -> matchmaking.v1.BotContractTrade
|
|
11, // 2: matchmaking.v1.BotContractTrade.createTime:type_name -> google.protobuf.Timestamp
|
|
11, // 3: matchmaking.v1.BotContractTrade.updateTime:type_name -> google.protobuf.Timestamp
|
|
11, // 4: matchmaking.v1.BotContractTrade.openTime:type_name -> google.protobuf.Timestamp
|
|
11, // 5: matchmaking.v1.BotContractTrade.closingTime:type_name -> google.protobuf.Timestamp
|
|
6, // 6: matchmaking.v1.ContractReply.data:type_name -> matchmaking.v1.ContractResult
|
|
0, // 7: matchmaking.v1.Contract.GetBotContractTrade:input_type -> matchmaking.v1.GetBotContractTradeRequest
|
|
4, // 8: matchmaking.v1.Contract.ContractPlaceOrder:input_type -> matchmaking.v1.ContractRequest
|
|
7, // 9: matchmaking.v1.Contract.ContractUpdatePlaceOrder:input_type -> matchmaking.v1.UpdateContractRequest
|
|
8, // 10: matchmaking.v1.Contract.ContractPosition:input_type -> matchmaking.v1.CancelContractRequest
|
|
9, // 11: matchmaking.v1.Contract.ContractAllPosition:input_type -> matchmaking.v1.AllContractRequest
|
|
8, // 12: matchmaking.v1.Contract.ContractCancel:input_type -> matchmaking.v1.CancelContractRequest
|
|
1, // 13: matchmaking.v1.Contract.GetBotContractTrade:output_type -> matchmaking.v1.GetBotContractTradeReply
|
|
5, // 14: matchmaking.v1.Contract.ContractPlaceOrder:output_type -> matchmaking.v1.ContractReply
|
|
5, // 15: matchmaking.v1.Contract.ContractUpdatePlaceOrder:output_type -> matchmaking.v1.ContractReply
|
|
5, // 16: matchmaking.v1.Contract.ContractPosition:output_type -> matchmaking.v1.ContractReply
|
|
10, // 17: matchmaking.v1.Contract.ContractAllPosition:output_type -> matchmaking.v1.AllContractReply
|
|
5, // 18: matchmaking.v1.Contract.ContractCancel:output_type -> matchmaking.v1.ContractReply
|
|
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_virtually_contract_proto_init() }
|
|
func file_matchmaking_v1_virtually_contract_proto_init() {
|
|
if File_matchmaking_v1_virtually_contract_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
|
switch v := v.(*GetBotContractTradeRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
|
switch v := v.(*GetBotContractTradeReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
|
switch v := v.(*BotContractTradeData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
|
switch v := v.(*BotContractTrade); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ContractRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ContractReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ContractResult); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
|
switch v := v.(*UpdateContractRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
|
switch v := v.(*CancelContractRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AllContractRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_matchmaking_v1_virtually_contract_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AllContractReply); 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_virtually_contract_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 11,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_matchmaking_v1_virtually_contract_proto_goTypes,
|
|
DependencyIndexes: file_matchmaking_v1_virtually_contract_proto_depIdxs,
|
|
MessageInfos: file_matchmaking_v1_virtually_contract_proto_msgTypes,
|
|
}.Build()
|
|
File_matchmaking_v1_virtually_contract_proto = out.File
|
|
file_matchmaking_v1_virtually_contract_proto_rawDesc = nil
|
|
file_matchmaking_v1_virtually_contract_proto_goTypes = nil
|
|
file_matchmaking_v1_virtually_contract_proto_depIdxs = nil
|
|
}
|
|
|