// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v5.29.3
// source: alt/v1/common.proto

package altv1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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 Market int32

const (
	Market_MARKET_UNSPECIFIED Market = 0
	Market_MARKET_KR          Market = 1
	Market_MARKET_US          Market = 2
)

// Enum value maps for Market.
var (
	Market_name = map[int32]string{
		0: "MARKET_UNSPECIFIED",
		1: "MARKET_KR",
		2: "MARKET_US",
	}
	Market_value = map[string]int32{
		"MARKET_UNSPECIFIED": 0,
		"MARKET_KR":          1,
		"MARKET_US":          2,
	}
)

func (x Market) Enum() *Market {
	p := new(Market)
	*p = x
	return p
}

func (x Market) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Market) Descriptor() protoreflect.EnumDescriptor {
	return file_alt_v1_common_proto_enumTypes[0].Descriptor()
}

func (Market) Type() protoreflect.EnumType {
	return &file_alt_v1_common_proto_enumTypes[0]
}

func (x Market) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Market.Descriptor instead.
func (Market) EnumDescriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{0}
}

type Venue int32

const (
	Venue_VENUE_UNSPECIFIED Venue = 0
	Venue_VENUE_KRX         Venue = 1
	Venue_VENUE_NASDAQ      Venue = 2
	Venue_VENUE_NYSE        Venue = 3
)

// Enum value maps for Venue.
var (
	Venue_name = map[int32]string{
		0: "VENUE_UNSPECIFIED",
		1: "VENUE_KRX",
		2: "VENUE_NASDAQ",
		3: "VENUE_NYSE",
	}
	Venue_value = map[string]int32{
		"VENUE_UNSPECIFIED": 0,
		"VENUE_KRX":         1,
		"VENUE_NASDAQ":      2,
		"VENUE_NYSE":        3,
	}
)

func (x Venue) Enum() *Venue {
	p := new(Venue)
	*p = x
	return p
}

func (x Venue) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Venue) Descriptor() protoreflect.EnumDescriptor {
	return file_alt_v1_common_proto_enumTypes[1].Descriptor()
}

func (Venue) Type() protoreflect.EnumType {
	return &file_alt_v1_common_proto_enumTypes[1]
}

func (x Venue) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Venue.Descriptor instead.
func (Venue) EnumDescriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{1}
}

type Currency int32

const (
	Currency_CURRENCY_UNSPECIFIED Currency = 0
	Currency_CURRENCY_KRW         Currency = 1
	Currency_CURRENCY_USD         Currency = 2
)

// Enum value maps for Currency.
var (
	Currency_name = map[int32]string{
		0: "CURRENCY_UNSPECIFIED",
		1: "CURRENCY_KRW",
		2: "CURRENCY_USD",
	}
	Currency_value = map[string]int32{
		"CURRENCY_UNSPECIFIED": 0,
		"CURRENCY_KRW":         1,
		"CURRENCY_USD":         2,
	}
)

func (x Currency) Enum() *Currency {
	p := new(Currency)
	*p = x
	return p
}

func (x Currency) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Currency) Descriptor() protoreflect.EnumDescriptor {
	return file_alt_v1_common_proto_enumTypes[2].Descriptor()
}

func (Currency) Type() protoreflect.EnumType {
	return &file_alt_v1_common_proto_enumTypes[2]
}

func (x Currency) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Currency.Descriptor instead.
func (Currency) EnumDescriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{2}
}

type AssetType int32

const (
	AssetType_ASSET_TYPE_UNSPECIFIED AssetType = 0
	AssetType_ASSET_TYPE_EQUITY      AssetType = 1
	AssetType_ASSET_TYPE_ETF         AssetType = 2
)

// Enum value maps for AssetType.
var (
	AssetType_name = map[int32]string{
		0: "ASSET_TYPE_UNSPECIFIED",
		1: "ASSET_TYPE_EQUITY",
		2: "ASSET_TYPE_ETF",
	}
	AssetType_value = map[string]int32{
		"ASSET_TYPE_UNSPECIFIED": 0,
		"ASSET_TYPE_EQUITY":      1,
		"ASSET_TYPE_ETF":         2,
	}
)

func (x AssetType) Enum() *AssetType {
	p := new(AssetType)
	*p = x
	return p
}

func (x AssetType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AssetType) Descriptor() protoreflect.EnumDescriptor {
	return file_alt_v1_common_proto_enumTypes[3].Descriptor()
}

func (AssetType) Type() protoreflect.EnumType {
	return &file_alt_v1_common_proto_enumTypes[3]
}

func (x AssetType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AssetType.Descriptor instead.
func (AssetType) EnumDescriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{3}
}

type Timeframe int32

const (
	Timeframe_TIMEFRAME_UNSPECIFIED Timeframe = 0
	Timeframe_TIMEFRAME_DAILY       Timeframe = 1
	Timeframe_TIMEFRAME_MINUTE_1    Timeframe = 2
	Timeframe_TIMEFRAME_MINUTE_5    Timeframe = 3
)

// Enum value maps for Timeframe.
var (
	Timeframe_name = map[int32]string{
		0: "TIMEFRAME_UNSPECIFIED",
		1: "TIMEFRAME_DAILY",
		2: "TIMEFRAME_MINUTE_1",
		3: "TIMEFRAME_MINUTE_5",
	}
	Timeframe_value = map[string]int32{
		"TIMEFRAME_UNSPECIFIED": 0,
		"TIMEFRAME_DAILY":       1,
		"TIMEFRAME_MINUTE_1":    2,
		"TIMEFRAME_MINUTE_5":    3,
	}
)

func (x Timeframe) Enum() *Timeframe {
	p := new(Timeframe)
	*p = x
	return p
}

func (x Timeframe) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Timeframe) Descriptor() protoreflect.EnumDescriptor {
	return file_alt_v1_common_proto_enumTypes[4].Descriptor()
}

func (Timeframe) Type() protoreflect.EnumType {
	return &file_alt_v1_common_proto_enumTypes[4]
}

func (x Timeframe) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Timeframe.Descriptor instead.
func (Timeframe) EnumDescriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{4}
}

type Decimal struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Value         string                 `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Decimal) Reset() {
	*x = Decimal{}
	mi := &file_alt_v1_common_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Decimal) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Decimal) ProtoMessage() {}

func (x *Decimal) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_common_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Decimal.ProtoReflect.Descriptor instead.
func (*Decimal) Descriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{0}
}

func (x *Decimal) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

type ErrorInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Code          string                 `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Message       string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ErrorInfo) Reset() {
	*x = ErrorInfo{}
	mi := &file_alt_v1_common_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ErrorInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ErrorInfo) ProtoMessage() {}

func (x *ErrorInfo) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_common_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ErrorInfo.ProtoReflect.Descriptor instead.
func (*ErrorInfo) Descriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{1}
}

func (x *ErrorInfo) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

func (x *ErrorInfo) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

type HelloRequest struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	ClientName         string                 `protobuf:"bytes,1,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
	ClientVersion      string                 `protobuf:"bytes,2,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	AltProtocolVersion string                 `protobuf:"bytes,3,opt,name=alt_protocol_version,json=altProtocolVersion,proto3" json:"alt_protocol_version,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *HelloRequest) Reset() {
	*x = HelloRequest{}
	mi := &file_alt_v1_common_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HelloRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HelloRequest) ProtoMessage() {}

func (x *HelloRequest) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_common_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) Descriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{2}
}

func (x *HelloRequest) GetClientName() string {
	if x != nil {
		return x.ClientName
	}
	return ""
}

func (x *HelloRequest) GetClientVersion() string {
	if x != nil {
		return x.ClientVersion
	}
	return ""
}

func (x *HelloRequest) GetAltProtocolVersion() string {
	if x != nil {
		return x.AltProtocolVersion
	}
	return ""
}

type HelloResponse struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	ServerName         string                 `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	ServerVersion      string                 `protobuf:"bytes,2,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	AltProtocolVersion string                 `protobuf:"bytes,3,opt,name=alt_protocol_version,json=altProtocolVersion,proto3" json:"alt_protocol_version,omitempty"`
	Capabilities       []string               `protobuf:"bytes,4,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *HelloResponse) Reset() {
	*x = HelloResponse{}
	mi := &file_alt_v1_common_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HelloResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HelloResponse) ProtoMessage() {}

func (x *HelloResponse) ProtoReflect() protoreflect.Message {
	mi := &file_alt_v1_common_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead.
func (*HelloResponse) Descriptor() ([]byte, []int) {
	return file_alt_v1_common_proto_rawDescGZIP(), []int{3}
}

func (x *HelloResponse) GetServerName() string {
	if x != nil {
		return x.ServerName
	}
	return ""
}

func (x *HelloResponse) GetServerVersion() string {
	if x != nil {
		return x.ServerVersion
	}
	return ""
}

func (x *HelloResponse) GetAltProtocolVersion() string {
	if x != nil {
		return x.AltProtocolVersion
	}
	return ""
}

func (x *HelloResponse) GetCapabilities() []string {
	if x != nil {
		return x.Capabilities
	}
	return nil
}

var File_alt_v1_common_proto protoreflect.FileDescriptor

const file_alt_v1_common_proto_rawDesc = "" +
	"\n" +
	"\x13alt/v1/common.proto\x12\x06alt.v1\"\x1f\n" +
	"\aDecimal\x12\x14\n" +
	"\x05value\x18\x01 \x01(\tR\x05value\"9\n" +
	"\tErrorInfo\x12\x12\n" +
	"\x04code\x18\x01 \x01(\tR\x04code\x12\x18\n" +
	"\amessage\x18\x02 \x01(\tR\amessage\"\x88\x01\n" +
	"\fHelloRequest\x12\x1f\n" +
	"\vclient_name\x18\x01 \x01(\tR\n" +
	"clientName\x12%\n" +
	"\x0eclient_version\x18\x02 \x01(\tR\rclientVersion\x120\n" +
	"\x14alt_protocol_version\x18\x03 \x01(\tR\x12altProtocolVersion\"\xad\x01\n" +
	"\rHelloResponse\x12\x1f\n" +
	"\vserver_name\x18\x01 \x01(\tR\n" +
	"serverName\x12%\n" +
	"\x0eserver_version\x18\x02 \x01(\tR\rserverVersion\x120\n" +
	"\x14alt_protocol_version\x18\x03 \x01(\tR\x12altProtocolVersion\x12\"\n" +
	"\fcapabilities\x18\x04 \x03(\tR\fcapabilities*>\n" +
	"\x06Market\x12\x16\n" +
	"\x12MARKET_UNSPECIFIED\x10\x00\x12\r\n" +
	"\tMARKET_KR\x10\x01\x12\r\n" +
	"\tMARKET_US\x10\x02*O\n" +
	"\x05Venue\x12\x15\n" +
	"\x11VENUE_UNSPECIFIED\x10\x00\x12\r\n" +
	"\tVENUE_KRX\x10\x01\x12\x10\n" +
	"\fVENUE_NASDAQ\x10\x02\x12\x0e\n" +
	"\n" +
	"VENUE_NYSE\x10\x03*H\n" +
	"\bCurrency\x12\x18\n" +
	"\x14CURRENCY_UNSPECIFIED\x10\x00\x12\x10\n" +
	"\fCURRENCY_KRW\x10\x01\x12\x10\n" +
	"\fCURRENCY_USD\x10\x02*R\n" +
	"\tAssetType\x12\x1a\n" +
	"\x16ASSET_TYPE_UNSPECIFIED\x10\x00\x12\x15\n" +
	"\x11ASSET_TYPE_EQUITY\x10\x01\x12\x12\n" +
	"\x0eASSET_TYPE_ETF\x10\x02*k\n" +
	"\tTimeframe\x12\x19\n" +
	"\x15TIMEFRAME_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fTIMEFRAME_DAILY\x10\x01\x12\x16\n" +
	"\x12TIMEFRAME_MINUTE_1\x10\x02\x12\x16\n" +
	"\x12TIMEFRAME_MINUTE_5\x10\x03BCZAgit.toki-labs.com/toki/alt/packages/contracts/gen/go/alt/v1;altv1b\x06proto3"

var (
	file_alt_v1_common_proto_rawDescOnce sync.Once
	file_alt_v1_common_proto_rawDescData []byte
)

func file_alt_v1_common_proto_rawDescGZIP() []byte {
	file_alt_v1_common_proto_rawDescOnce.Do(func() {
		file_alt_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_alt_v1_common_proto_rawDesc), len(file_alt_v1_common_proto_rawDesc)))
	})
	return file_alt_v1_common_proto_rawDescData
}

var file_alt_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
var file_alt_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_alt_v1_common_proto_goTypes = []any{
	(Market)(0),           // 0: alt.v1.Market
	(Venue)(0),            // 1: alt.v1.Venue
	(Currency)(0),         // 2: alt.v1.Currency
	(AssetType)(0),        // 3: alt.v1.AssetType
	(Timeframe)(0),        // 4: alt.v1.Timeframe
	(*Decimal)(nil),       // 5: alt.v1.Decimal
	(*ErrorInfo)(nil),     // 6: alt.v1.ErrorInfo
	(*HelloRequest)(nil),  // 7: alt.v1.HelloRequest
	(*HelloResponse)(nil), // 8: alt.v1.HelloResponse
}
var file_alt_v1_common_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_alt_v1_common_proto_init() }
func file_alt_v1_common_proto_init() {
	if File_alt_v1_common_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_alt_v1_common_proto_rawDesc), len(file_alt_v1_common_proto_rawDesc)),
			NumEnums:      5,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_alt_v1_common_proto_goTypes,
		DependencyIndexes: file_alt_v1_common_proto_depIdxs,
		EnumInfos:         file_alt_v1_common_proto_enumTypes,
		MessageInfos:      file_alt_v1_common_proto_msgTypes,
	}.Build()
	File_alt_v1_common_proto = out.File
	file_alt_v1_common_proto_goTypes = nil
	file_alt_v1_common_proto_depIdxs = nil
}
