// Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/trader.proto

package bitesla_srv_trader

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

type Status int32

const (
	Status_STOP  Status = 0
	Status_START Status = 1
)

var Status_name = map[int32]string{
	0: "STOP",
	1: "START",
}

var Status_value = map[string]int32{
	"STOP":  0,
	"START": 1,
}

func (x Status) String() string {
	return proto.EnumName(Status_name, int32(x))
}

func (Status) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_2edf40fce82c1271, []int{0}
}

type Language int32

const (
	Language_GOLANG Language = 0
	Language_PYTHON Language = 1
)

var Language_name = map[int32]string{
	0: "GOLANG",
	1: "PYTHON",
}

var Language_value = map[string]int32{
	"GOLANG": 0,
	"PYTHON": 1,
}

func (x Language) String() string {
	return proto.EnumName(Language_name, int32(x))
}

func (Language) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_2edf40fce82c1271, []int{1}
}

type TraderInfo struct {
	CurrentLoginUserID   int64    `protobuf:"varint,1,opt,name=currentLoginUserID,proto3" json:"currentLoginUserID,omitempty"`
	ExchangeId           int64    `protobuf:"varint,2,opt,name=exchangeId,proto3" json:"exchangeId,omitempty"`
	StrategyId           int64    `protobuf:"varint,3,opt,name=strategyId,proto3" json:"strategyId,omitempty"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Status               int32    `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	Description          string   `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	CreateTime           int64    `protobuf:"varint,7,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime           int64    `protobuf:"varint,8,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	Page                 int32    `protobuf:"varint,9,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int32    `protobuf:"varint,10,opt,name=size,proto3" json:"size,omitempty"`
	TraderId             int64    `protobuf:"varint,11,opt,name=traderId,proto3" json:"traderId,omitempty"`
	ApiKey               string   `protobuf:"bytes,13,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
	ApiSecret            string   `protobuf:"bytes,14,opt,name=apiSecret,proto3" json:"apiSecret,omitempty"`
	Token                string   `protobuf:"bytes,15,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *TraderInfo) Reset()         { *m = TraderInfo{} }
func (m *TraderInfo) String() string { return proto.CompactTextString(m) }
func (*TraderInfo) ProtoMessage()    {}
func (*TraderInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_2edf40fce82c1271, []int{0}
}

func (m *TraderInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_TraderInfo.Unmarshal(m, b)
}
func (m *TraderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_TraderInfo.Marshal(b, m, deterministic)
}
func (m *TraderInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_TraderInfo.Merge(m, src)
}
func (m *TraderInfo) XXX_Size() int {
	return xxx_messageInfo_TraderInfo.Size(m)
}
func (m *TraderInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_TraderInfo.DiscardUnknown(m)
}

var xxx_messageInfo_TraderInfo proto.InternalMessageInfo

func (m *TraderInfo) GetCurrentLoginUserID() int64 {
	if m != nil {
		return m.CurrentLoginUserID
	}
	return 0
}

func (m *TraderInfo) GetExchangeId() int64 {
	if m != nil {
		return m.ExchangeId
	}
	return 0
}

func (m *TraderInfo) GetStrategyId() int64 {
	if m != nil {
		return m.StrategyId
	}
	return 0
}

func (m *TraderInfo) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *TraderInfo) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *TraderInfo) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func (m *TraderInfo) GetCreateTime() int64 {
	if m != nil {
		return m.CreateTime
	}
	return 0
}

func (m *TraderInfo) GetUpdateTime() int64 {
	if m != nil {
		return m.UpdateTime
	}
	return 0
}

func (m *TraderInfo) GetPage() int32 {
	if m != nil {
		return m.Page
	}
	return 0
}

func (m *TraderInfo) GetSize() int32 {
	if m != nil {
		return m.Size
	}
	return 0
}

func (m *TraderInfo) GetTraderId() int64 {
	if m != nil {
		return m.TraderId
	}
	return 0
}

func (m *TraderInfo) GetApiKey() string {
	if m != nil {
		return m.ApiKey
	}
	return ""
}

func (m *TraderInfo) GetApiSecret() string {
	if m != nil {
		return m.ApiSecret
	}
	return ""
}

func (m *TraderInfo) GetToken() string {
	if m != nil {
		return m.Token
	}
	return ""
}

type TraderInfos struct {
	TraderInfos          []*TraderInfo `protobuf:"bytes,1,rep,name=traderInfos,proto3" json:"traderInfos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (m *TraderInfos) Reset()         { *m = TraderInfos{} }
func (m *TraderInfos) String() string { return proto.CompactTextString(m) }
func (*TraderInfos) ProtoMessage()    {}
func (*TraderInfos) Descriptor() ([]byte, []int) {
	return fileDescriptor_2edf40fce82c1271, []int{1}
}

func (m *TraderInfos) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_TraderInfos.Unmarshal(m, b)
}
func (m *TraderInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_TraderInfos.Marshal(b, m, deterministic)
}
func (m *TraderInfos) XXX_Merge(src proto.Message) {
	xxx_messageInfo_TraderInfos.Merge(m, src)
}
func (m *TraderInfos) XXX_Size() int {
	return xxx_messageInfo_TraderInfos.Size(m)
}
func (m *TraderInfos) XXX_DiscardUnknown() {
	xxx_messageInfo_TraderInfos.DiscardUnknown(m)
}

var xxx_messageInfo_TraderInfos proto.InternalMessageInfo

func (m *TraderInfos) GetTraderInfos() []*TraderInfo {
	if m != nil {
		return m.TraderInfos
	}
	return nil
}

type StrategyInfo struct {
	CurrentLoginUserID   int64    `protobuf:"varint,1,opt,name=currentLoginUserID,proto3" json:"currentLoginUserID,omitempty"`
	StrategyId           int64    `protobuf:"varint,2,opt,name=strategyId,proto3" json:"strategyId,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Script               string   `protobuf:"bytes,5,opt,name=script,proto3" json:"script,omitempty"`
	Page                 int32    `protobuf:"varint,6,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int32    `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	CreateTime           int64    `protobuf:"varint,8,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime           int64    `protobuf:"varint,9,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	Language             int32    `protobuf:"varint,10,opt,name=language,proto3" json:"language,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *StrategyInfo) Reset()         { *m = StrategyInfo{} }
func (m *StrategyInfo) String() string { return proto.CompactTextString(m) }
func (*StrategyInfo) ProtoMessage()    {}
func (*StrategyInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_2edf40fce82c1271, []int{2}
}

func (m *StrategyInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StrategyInfo.Unmarshal(m, b)
}
func (m *StrategyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StrategyInfo.Marshal(b, m, deterministic)
}
func (m *StrategyInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StrategyInfo.Merge(m, src)
}
func (m *StrategyInfo) XXX_Size() int {
	return xxx_messageInfo_StrategyInfo.Size(m)
}
func (m *StrategyInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_StrategyInfo.DiscardUnknown(m)
}

var xxx_messageInfo_StrategyInfo proto.InternalMessageInfo

func (m *StrategyInfo) GetCurrentLoginUserID() int64 {
	if m != nil {
		return m.CurrentLoginUserID
	}
	return 0
}

func (m *StrategyInfo) GetStrategyId() int64 {
	if m != nil {
		return m.StrategyId
	}
	return 0
}

func (m *StrategyInfo) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *StrategyInfo) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func (m *StrategyInfo) GetScript() string {
	if m != nil {
		return m.Script
	}
	return ""
}

func (m *StrategyInfo) GetPage() int32 {
	if m != nil {
		return m.Page
	}
	return 0
}

func (m *StrategyInfo) GetSize() int32 {
	if m != nil {
		return m.Size
	}
	return 0
}

func (m *StrategyInfo) GetCreateTime() int64 {
	if m != nil {
		return m.CreateTime
	}
	return 0
}

func (m *StrategyInfo) GetUpdateTime() int64 {
	if m != nil {
		return m.UpdateTime
	}
	return 0
}

func (m *StrategyInfo) GetLanguage() int32 {
	if m != nil {
		return m.Language
	}
	return 0
}

func init() {
	proto.RegisterEnum("bitesla.srv.trader.Status", Status_name, Status_value)
	proto.RegisterEnum("bitesla.srv.trader.Language", Language_name, Language_value)
	proto.RegisterType((*TraderInfo)(nil), "bitesla.srv.trader.TraderInfo")
	proto.RegisterType((*TraderInfos)(nil), "bitesla.srv.trader.TraderInfos")
	proto.RegisterType((*StrategyInfo)(nil), "bitesla.srv.trader.StrategyInfo")
}

func init() { proto.RegisterFile("proto/trader.proto", fileDescriptor_2edf40fce82c1271) }

var fileDescriptor_2edf40fce82c1271 = []byte{
	// 516 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 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