mirror of
				https://github.com/3ybactuk/marketplace-go-service-project.git
				synced 2025-10-31 06:23:44 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			828 lines
		
	
	
		
			28 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			828 lines
		
	
	
		
			28 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Code generated by protoc-gen-go. DO NOT EDIT.
 | |
| // versions:
 | |
| // 	protoc-gen-go v1.28.1
 | |
| // 	protoc        v6.31.1
 | |
| // source: loms/v1/loms.proto
 | |
| 
 | |
| package loms
 | |
| 
 | |
| import (
 | |
| 	_ "github.com/envoyproxy/protoc-gen-validate/validate"
 | |
| 	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
 | |
| 	_ "google.golang.org/genproto/googleapis/api/annotations"
 | |
| 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 | |
| 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 | |
| 	emptypb "google.golang.org/protobuf/types/known/emptypb"
 | |
| 	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 OrderStatus int32
 | |
| 
 | |
| const (
 | |
| 	OrderStatus_ORDER_STATUS_UNSPECIFIED      OrderStatus = 0
 | |
| 	OrderStatus_ORDER_STATUS_NEW              OrderStatus = 1
 | |
| 	OrderStatus_ORDER_STATUS_AWAITING_PAYMENT OrderStatus = 2
 | |
| 	OrderStatus_ORDER_STATUS_FAILED           OrderStatus = 3
 | |
| 	OrderStatus_ORDER_STATUS_PAYED            OrderStatus = 4
 | |
| 	OrderStatus_ORDER_STATUS_CANCELLED        OrderStatus = 5
 | |
| )
 | |
| 
 | |
| // Enum value maps for OrderStatus.
 | |
| var (
 | |
| 	OrderStatus_name = map[int32]string{
 | |
| 		0: "ORDER_STATUS_UNSPECIFIED",
 | |
| 		1: "ORDER_STATUS_NEW",
 | |
| 		2: "ORDER_STATUS_AWAITING_PAYMENT",
 | |
| 		3: "ORDER_STATUS_FAILED",
 | |
| 		4: "ORDER_STATUS_PAYED",
 | |
| 		5: "ORDER_STATUS_CANCELLED",
 | |
| 	}
 | |
| 	OrderStatus_value = map[string]int32{
 | |
| 		"ORDER_STATUS_UNSPECIFIED":      0,
 | |
| 		"ORDER_STATUS_NEW":              1,
 | |
| 		"ORDER_STATUS_AWAITING_PAYMENT": 2,
 | |
| 		"ORDER_STATUS_FAILED":           3,
 | |
| 		"ORDER_STATUS_PAYED":            4,
 | |
| 		"ORDER_STATUS_CANCELLED":        5,
 | |
| 	}
 | |
| )
 | |
| 
 | |
| func (x OrderStatus) Enum() *OrderStatus {
 | |
| 	p := new(OrderStatus)
 | |
| 	*p = x
 | |
| 	return p
 | |
| }
 | |
| 
 | |
| func (x OrderStatus) String() string {
 | |
| 	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
 | |
| }
 | |
| 
 | |
| func (OrderStatus) Descriptor() protoreflect.EnumDescriptor {
 | |
| 	return file_loms_v1_loms_proto_enumTypes[0].Descriptor()
 | |
| }
 | |
| 
 | |
| func (OrderStatus) Type() protoreflect.EnumType {
 | |
| 	return &file_loms_v1_loms_proto_enumTypes[0]
 | |
| }
 | |
| 
 | |
| func (x OrderStatus) Number() protoreflect.EnumNumber {
 | |
| 	return protoreflect.EnumNumber(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use OrderStatus.Descriptor instead.
 | |
| func (OrderStatus) EnumDescriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{0}
 | |
| }
 | |
| 
 | |
| type OrderItem struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Sku   int64  `protobuf:"varint,1,opt,name=sku,proto3" json:"sku,omitempty"`
 | |
| 	Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *OrderItem) Reset() {
 | |
| 	*x = OrderItem{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[0]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *OrderItem) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*OrderItem) ProtoMessage() {}
 | |
| 
 | |
| func (x *OrderItem) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 OrderItem.ProtoReflect.Descriptor instead.
 | |
| func (*OrderItem) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{0}
 | |
| }
 | |
| 
 | |
| func (x *OrderItem) GetSku() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Sku
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *OrderItem) GetCount() uint32 {
 | |
| 	if x != nil {
 | |
| 		return x.Count
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type OrderCreateRequest struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	UserId int64        `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
 | |
| 	Items  []*OrderItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *OrderCreateRequest) Reset() {
 | |
| 	*x = OrderCreateRequest{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[1]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *OrderCreateRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*OrderCreateRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *OrderCreateRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 OrderCreateRequest.ProtoReflect.Descriptor instead.
 | |
| func (*OrderCreateRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{1}
 | |
| }
 | |
| 
 | |
| func (x *OrderCreateRequest) GetUserId() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.UserId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *OrderCreateRequest) GetItems() []*OrderItem {
 | |
| 	if x != nil {
 | |
| 		return x.Items
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type OrderCreateResponse struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	OrderId int64 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *OrderCreateResponse) Reset() {
 | |
| 	*x = OrderCreateResponse{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[2]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *OrderCreateResponse) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*OrderCreateResponse) ProtoMessage() {}
 | |
| 
 | |
| func (x *OrderCreateResponse) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 OrderCreateResponse.ProtoReflect.Descriptor instead.
 | |
| func (*OrderCreateResponse) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{2}
 | |
| }
 | |
| 
 | |
| func (x *OrderCreateResponse) GetOrderId() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.OrderId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type OrderInfoRequest struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	OrderId int64 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *OrderInfoRequest) Reset() {
 | |
| 	*x = OrderInfoRequest{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[3]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *OrderInfoRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*OrderInfoRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *OrderInfoRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 OrderInfoRequest.ProtoReflect.Descriptor instead.
 | |
| func (*OrderInfoRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{3}
 | |
| }
 | |
| 
 | |
| func (x *OrderInfoRequest) GetOrderId() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.OrderId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type OrderInfoResponse struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Status string       `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
 | |
| 	UserId int64        `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
 | |
| 	Items  []*OrderItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *OrderInfoResponse) Reset() {
 | |
| 	*x = OrderInfoResponse{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[4]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *OrderInfoResponse) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*OrderInfoResponse) ProtoMessage() {}
 | |
| 
 | |
| func (x *OrderInfoResponse) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 OrderInfoResponse.ProtoReflect.Descriptor instead.
 | |
| func (*OrderInfoResponse) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{4}
 | |
| }
 | |
| 
 | |
| func (x *OrderInfoResponse) GetStatus() string {
 | |
| 	if x != nil {
 | |
| 		return x.Status
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *OrderInfoResponse) GetUserId() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.UserId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *OrderInfoResponse) GetItems() []*OrderItem {
 | |
| 	if x != nil {
 | |
| 		return x.Items
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type OrderPayRequest struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	OrderId int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *OrderPayRequest) Reset() {
 | |
| 	*x = OrderPayRequest{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[5]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *OrderPayRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*OrderPayRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *OrderPayRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 OrderPayRequest.ProtoReflect.Descriptor instead.
 | |
| func (*OrderPayRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{5}
 | |
| }
 | |
| 
 | |
| func (x *OrderPayRequest) GetOrderId() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.OrderId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type OrderCancelRequest struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	OrderId int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *OrderCancelRequest) Reset() {
 | |
| 	*x = OrderCancelRequest{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[6]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *OrderCancelRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*OrderCancelRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *OrderCancelRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 OrderCancelRequest.ProtoReflect.Descriptor instead.
 | |
| func (*OrderCancelRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{6}
 | |
| }
 | |
| 
 | |
| func (x *OrderCancelRequest) GetOrderId() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.OrderId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type StocksInfoRequest struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Sku int64 `protobuf:"varint,1,opt,name=sku,proto3" json:"sku,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *StocksInfoRequest) Reset() {
 | |
| 	*x = StocksInfoRequest{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[7]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *StocksInfoRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*StocksInfoRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *StocksInfoRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 StocksInfoRequest.ProtoReflect.Descriptor instead.
 | |
| func (*StocksInfoRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{7}
 | |
| }
 | |
| 
 | |
| func (x *StocksInfoRequest) GetSku() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Sku
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type StocksInfoResponse struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *StocksInfoResponse) Reset() {
 | |
| 	*x = StocksInfoResponse{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_loms_v1_loms_proto_msgTypes[8]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *StocksInfoResponse) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*StocksInfoResponse) ProtoMessage() {}
 | |
| 
 | |
| func (x *StocksInfoResponse) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_loms_v1_loms_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 StocksInfoResponse.ProtoReflect.Descriptor instead.
 | |
| func (*StocksInfoResponse) Descriptor() ([]byte, []int) {
 | |
| 	return file_loms_v1_loms_proto_rawDescGZIP(), []int{8}
 | |
| }
 | |
| 
 | |
| func (x *StocksInfoResponse) GetCount() uint32 {
 | |
| 	if x != nil {
 | |
| 		return x.Count
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| var File_loms_v1_loms_proto protoreflect.FileDescriptor
 | |
| 
 | |
| var file_loms_v1_loms_proto_rawDesc = []byte{
 | |
| 	0x0a, 0x12, 0x6c, 0x6f, 0x6d, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x6d, 0x73, 0x2e, 0x70,
 | |
| 	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
 | |
| 	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
 | |
| 	0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
 | |
| 	0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
 | |
| 	0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f,
 | |
| 	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
 | |
| 	0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x09, 0x4f, 0x72, 0x64, 0x65,
 | |
| 	0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x19, 0x0a, 0x03, 0x73, 0x6b, 0x75, 0x18, 0x01, 0x20, 0x01,
 | |
| 	0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x03, 0x73, 0x6b, 0x75,
 | |
| 	0x12, 0x1d, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42,
 | |
| 	0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x20, 0x00, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22,
 | |
| 	0x62, 0x0a, 0x12, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65,
 | |
| 	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
 | |
| 	0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52,
 | |
| 	0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
 | |
| 	0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x74,
 | |
| 	0x65, 0x6d, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x05, 0x69, 0x74,
 | |
| 	0x65, 0x6d, 0x73, 0x22, 0x2f, 0x0a, 0x13, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61,
 | |
| 	0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72,
 | |
| 	0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x72, 0x64,
 | |
| 	0x65, 0x72, 0x49, 0x64, 0x22, 0x35, 0x0a, 0x10, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66,
 | |
| 	0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65,
 | |
| 	0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02,
 | |
| 	0x20, 0x00, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x11, 0x4f,
 | |
| 	0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
 | |
| 	0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
 | |
| 	0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72,
 | |
| 	0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
 | |
| 	0x64, 0x12, 0x20, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
 | |
| 	0x32, 0x0a, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74,
 | |
| 	0x65, 0x6d, 0x73, 0x22, 0x35, 0x0a, 0x0f, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x79, 0x52,
 | |
| 	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f,
 | |
| 	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20,
 | |
| 	0x00, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x38, 0x0a, 0x12, 0x4f, 0x72,
 | |
| 	0x64, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
 | |
| 	0x12, 0x22, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
 | |
| 	0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x07, 0x6f, 0x72, 0x64,
 | |
| 	0x65, 0x72, 0x49, 0x64, 0x22, 0x2e, 0x0a, 0x11, 0x53, 0x74, 0x6f, 0x63, 0x6b, 0x73, 0x49, 0x6e,
 | |
| 	0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x73, 0x6b, 0x75,
 | |
| 	0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52,
 | |
| 	0x03, 0x73, 0x6b, 0x75, 0x22, 0x2a, 0x0a, 0x12, 0x53, 0x74, 0x6f, 0x63, 0x6b, 0x73, 0x49, 0x6e,
 | |
| 	0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f,
 | |
| 	0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
 | |
| 	0x2a, 0xb1, 0x01, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
 | |
| 	0x12, 0x1c, 0x0a, 0x18, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,
 | |
| 	0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14,
 | |
| 	0x0a, 0x10, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e,
 | |
| 	0x45, 0x57, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x53, 0x54,
 | |
| 	0x41, 0x54, 0x55, 0x53, 0x5f, 0x41, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x41,
 | |
| 	0x59, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x52, 0x44, 0x45, 0x52,
 | |
| 	0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03,
 | |
| 	0x12, 0x16, 0x0a, 0x12, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,
 | |
| 	0x5f, 0x50, 0x41, 0x59, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x4f, 0x52, 0x44, 0x45,
 | |
| 	0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c,
 | |
| 	0x45, 0x44, 0x10, 0x05, 0x32, 0xc2, 0x04, 0x0a, 0x04, 0x4c, 0x4f, 0x4d, 0x53, 0x12, 0x52, 0x0a,
 | |
| 	0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x13, 0x2e, 0x4f,
 | |
| 	0x72, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 | |
| 	0x74, 0x1a, 0x14, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
 | |
| 	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x22,
 | |
| 	0x0d, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x3a, 0x01,
 | |
| 	0x2a, 0x12, 0x47, 0x0a, 0x09, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x11,
 | |
| 	0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 | |
| 	0x74, 0x1a, 0x12, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
 | |
| 	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0d, 0x12, 0x0b, 0x2f,
 | |
| 	0x6f, 0x72, 0x64, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x08, 0x4f, 0x72,
 | |
| 	0x64, 0x65, 0x72, 0x50, 0x61, 0x79, 0x12, 0x10, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61,
 | |
| 	0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
 | |
| 	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
 | |
| 	0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x22, 0x0a, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72,
 | |
| 	0x2f, 0x70, 0x61, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x54, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72,
 | |
| 	0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x13, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x61,
 | |
| 	0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
 | |
| 	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
 | |
| 	0x70, 0x74, 0x79, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x22, 0x0d, 0x2f, 0x6f, 0x72,
 | |
| 	0x64, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x3a, 0x01, 0x2a, 0x12, 0x4a, 0x0a,
 | |
| 	0x0a, 0x53, 0x74, 0x6f, 0x63, 0x6b, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x2e, 0x53, 0x74,
 | |
| 	0x6f, 0x63, 0x6b, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
 | |
| 	0x13, 0x2e, 0x53, 0x74, 0x6f, 0x63, 0x6b, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,
 | |
| 	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0d, 0x12, 0x0b, 0x2f, 0x73,
 | |
| 	0x74, 0x6f, 0x63, 0x6b, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x1a, 0xad, 0x01, 0x92, 0x41, 0xa9, 0x01,
 | |
| 	0x12, 0x0c, 0x4c, 0x4f, 0x4d, 0x53, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x98,
 | |
| 	0x01, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x75, 0x74, 0x20, 0x6d, 0x6f, 0x72, 0x65,
 | |
| 	0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65,
 | |
| 	0x77, 0x61, 0x79, 0x12, 0x74, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74,
 | |
| 	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f,
 | |
| 	0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65,
 | |
| 	0x77, 0x61, 0x79, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x2f, 0x65, 0x78,
 | |
| 	0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
 | |
| 	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2f,
 | |
| 	0x61, 0x5f, 0x62, 0x69, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x65, 0x76, 0x65, 0x72, 0x79, 0x74, 0x68,
 | |
| 	0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x61, 0x5a, 0x1d, 0x72, 0x6f, 0x75,
 | |
| 	0x74, 0x65, 0x32, 0x35, 0x36, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f,
 | |
| 	0x6d, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x6d, 0x73, 0x92, 0x41, 0x3f, 0x12, 0x15, 0x0a,
 | |
| 	0x0c, 0x4c, 0x4f, 0x4d, 0x53, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x32, 0x05, 0x31,
 | |
| 	0x2e, 0x30, 0x2e, 0x30, 0x2a, 0x02, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63,
 | |
| 	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c,
 | |
| 	0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72,
 | |
| 	0x6f, 0x74, 0x6f, 0x33,
 | |
| }
 | |
| 
 | |
| var (
 | |
| 	file_loms_v1_loms_proto_rawDescOnce sync.Once
 | |
| 	file_loms_v1_loms_proto_rawDescData = file_loms_v1_loms_proto_rawDesc
 | |
| )
 | |
| 
 | |
| func file_loms_v1_loms_proto_rawDescGZIP() []byte {
 | |
| 	file_loms_v1_loms_proto_rawDescOnce.Do(func() {
 | |
| 		file_loms_v1_loms_proto_rawDescData = protoimpl.X.CompressGZIP(file_loms_v1_loms_proto_rawDescData)
 | |
| 	})
 | |
| 	return file_loms_v1_loms_proto_rawDescData
 | |
| }
 | |
| 
 | |
| var file_loms_v1_loms_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
 | |
| var file_loms_v1_loms_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
 | |
| var file_loms_v1_loms_proto_goTypes = []interface{}{
 | |
| 	(OrderStatus)(0),            // 0: OrderStatus
 | |
| 	(*OrderItem)(nil),           // 1: OrderItem
 | |
| 	(*OrderCreateRequest)(nil),  // 2: OrderCreateRequest
 | |
| 	(*OrderCreateResponse)(nil), // 3: OrderCreateResponse
 | |
| 	(*OrderInfoRequest)(nil),    // 4: OrderInfoRequest
 | |
| 	(*OrderInfoResponse)(nil),   // 5: OrderInfoResponse
 | |
| 	(*OrderPayRequest)(nil),     // 6: OrderPayRequest
 | |
| 	(*OrderCancelRequest)(nil),  // 7: OrderCancelRequest
 | |
| 	(*StocksInfoRequest)(nil),   // 8: StocksInfoRequest
 | |
| 	(*StocksInfoResponse)(nil),  // 9: StocksInfoResponse
 | |
| 	(*emptypb.Empty)(nil),       // 10: google.protobuf.Empty
 | |
| }
 | |
| var file_loms_v1_loms_proto_depIdxs = []int32{
 | |
| 	1,  // 0: OrderCreateRequest.items:type_name -> OrderItem
 | |
| 	1,  // 1: OrderInfoResponse.items:type_name -> OrderItem
 | |
| 	2,  // 2: LOMS.OrderCreate:input_type -> OrderCreateRequest
 | |
| 	4,  // 3: LOMS.OrderInfo:input_type -> OrderInfoRequest
 | |
| 	6,  // 4: LOMS.OrderPay:input_type -> OrderPayRequest
 | |
| 	7,  // 5: LOMS.OrderCancel:input_type -> OrderCancelRequest
 | |
| 	8,  // 6: LOMS.StocksInfo:input_type -> StocksInfoRequest
 | |
| 	3,  // 7: LOMS.OrderCreate:output_type -> OrderCreateResponse
 | |
| 	5,  // 8: LOMS.OrderInfo:output_type -> OrderInfoResponse
 | |
| 	10, // 9: LOMS.OrderPay:output_type -> google.protobuf.Empty
 | |
| 	10, // 10: LOMS.OrderCancel:output_type -> google.protobuf.Empty
 | |
| 	9,  // 11: LOMS.StocksInfo:output_type -> StocksInfoResponse
 | |
| 	7,  // [7:12] is the sub-list for method output_type
 | |
| 	2,  // [2:7] is the sub-list for method input_type
 | |
| 	2,  // [2:2] is the sub-list for extension type_name
 | |
| 	2,  // [2:2] is the sub-list for extension extendee
 | |
| 	0,  // [0:2] is the sub-list for field type_name
 | |
| }
 | |
| 
 | |
| func init() { file_loms_v1_loms_proto_init() }
 | |
| func file_loms_v1_loms_proto_init() {
 | |
| 	if File_loms_v1_loms_proto != nil {
 | |
| 		return
 | |
| 	}
 | |
| 	if !protoimpl.UnsafeEnabled {
 | |
| 		file_loms_v1_loms_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*OrderItem); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_loms_v1_loms_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*OrderCreateRequest); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_loms_v1_loms_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*OrderCreateResponse); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_loms_v1_loms_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*OrderInfoRequest); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_loms_v1_loms_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*OrderInfoResponse); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_loms_v1_loms_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*OrderPayRequest); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_loms_v1_loms_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*OrderCancelRequest); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_loms_v1_loms_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*StocksInfoRequest); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_loms_v1_loms_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*StocksInfoResponse); 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_loms_v1_loms_proto_rawDesc,
 | |
| 			NumEnums:      1,
 | |
| 			NumMessages:   9,
 | |
| 			NumExtensions: 0,
 | |
| 			NumServices:   1,
 | |
| 		},
 | |
| 		GoTypes:           file_loms_v1_loms_proto_goTypes,
 | |
| 		DependencyIndexes: file_loms_v1_loms_proto_depIdxs,
 | |
| 		EnumInfos:         file_loms_v1_loms_proto_enumTypes,
 | |
| 		MessageInfos:      file_loms_v1_loms_proto_msgTypes,
 | |
| 	}.Build()
 | |
| 	File_loms_v1_loms_proto = out.File
 | |
| 	file_loms_v1_loms_proto_rawDesc = nil
 | |
| 	file_loms_v1_loms_proto_goTypes = nil
 | |
| 	file_loms_v1_loms_proto_depIdxs = nil
 | |
| }
 | 
