Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterOrderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOrderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrderServiceClient) error
- func RegisterOrderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOrderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrderServiceServer) error
- func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)
- type CreateOrderRequest
- func (*CreateOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrderRequest) GetLimitPrice() string
- func (x *CreateOrderRequest) GetProductId() string
- func (x *CreateOrderRequest) GetQuantity() string
- func (x *CreateOrderRequest) GetSide() OrderSide
- func (x *CreateOrderRequest) GetTimeInForce() OrderTimeInForce
- func (x *CreateOrderRequest) GetType() OrderType
- func (*CreateOrderRequest) ProtoMessage()
- func (x *CreateOrderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrderRequest) Reset()
- func (x *CreateOrderRequest) String() string
- func (m *CreateOrderRequest) Validate() error
- func (m *CreateOrderRequest) ValidateAll() error
- type CreateOrderRequestMultiError
- type CreateOrderRequestValidationError
- func (e CreateOrderRequestValidationError) Cause() error
- func (e CreateOrderRequestValidationError) Error() string
- func (e CreateOrderRequestValidationError) ErrorName() string
- func (e CreateOrderRequestValidationError) Field() string
- func (e CreateOrderRequestValidationError) Key() bool
- func (e CreateOrderRequestValidationError) Reason() string
- type CreateOrderResponse
- func (*CreateOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrderResponse) GetAverageFilledPrice() string
- func (x *CreateOrderResponse) GetCommission() string
- func (x *CreateOrderResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateOrderResponse) GetExchangeFee() string
- func (x *CreateOrderResponse) GetFilledQuantity() string
- func (x *CreateOrderResponse) GetFilledValue() string
- func (x *CreateOrderResponse) GetLimitPrice() string
- func (x *CreateOrderResponse) GetOrderId() string
- func (x *CreateOrderResponse) GetOwnerId() string
- func (x *CreateOrderResponse) GetProductId() string
- func (x *CreateOrderResponse) GetQuantity() string
- func (x *CreateOrderResponse) GetSide() OrderSide
- func (x *CreateOrderResponse) GetStatus() OrderStatus
- func (x *CreateOrderResponse) GetTimeInForce() OrderTimeInForce
- func (x *CreateOrderResponse) GetType() OrderType
- func (x *CreateOrderResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*CreateOrderResponse) ProtoMessage()
- func (x *CreateOrderResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrderResponse) Reset()
- func (x *CreateOrderResponse) String() string
- func (m *CreateOrderResponse) Validate() error
- func (m *CreateOrderResponse) ValidateAll() error
- type CreateOrderResponseMultiError
- type CreateOrderResponseValidationError
- func (e CreateOrderResponseValidationError) Cause() error
- func (e CreateOrderResponseValidationError) Error() string
- func (e CreateOrderResponseValidationError) ErrorName() string
- func (e CreateOrderResponseValidationError) Field() string
- func (e CreateOrderResponseValidationError) Key() bool
- func (e CreateOrderResponseValidationError) Reason() string
- type ListOrdersRequest
- func (*ListOrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrdersRequest) GetCursor() string
- func (x *ListOrdersRequest) GetQuery() string
- func (x *ListOrdersRequest) GetSortDirection() SortDirection
- func (*ListOrdersRequest) ProtoMessage()
- func (x *ListOrdersRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrdersRequest) Reset()
- func (x *ListOrdersRequest) String() string
- func (m *ListOrdersRequest) Validate() error
- func (m *ListOrdersRequest) ValidateAll() error
- type ListOrdersRequestMultiError
- type ListOrdersRequestValidationError
- func (e ListOrdersRequestValidationError) Cause() error
- func (e ListOrdersRequestValidationError) Error() string
- func (e ListOrdersRequestValidationError) ErrorName() string
- func (e ListOrdersRequestValidationError) Field() string
- func (e ListOrdersRequestValidationError) Key() bool
- func (e ListOrdersRequestValidationError) Reason() string
- type ListOrdersResponse
- func (*ListOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrdersResponse) GetCount() int32
- func (x *ListOrdersResponse) GetData() []*ReadOrderResponse
- func (x *ListOrdersResponse) GetHasNext() bool
- func (x *ListOrdersResponse) GetNextCursor() string
- func (*ListOrdersResponse) ProtoMessage()
- func (x *ListOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrdersResponse) Reset()
- func (x *ListOrdersResponse) String() string
- func (m *ListOrdersResponse) Validate() error
- func (m *ListOrdersResponse) ValidateAll() error
- type ListOrdersResponseMultiError
- type ListOrdersResponseValidationError
- func (e ListOrdersResponseValidationError) Cause() error
- func (e ListOrdersResponseValidationError) Error() string
- func (e ListOrdersResponseValidationError) ErrorName() string
- func (e ListOrdersResponseValidationError) Field() string
- func (e ListOrdersResponseValidationError) Key() bool
- func (e ListOrdersResponseValidationError) Reason() string
- type OrderServiceClient
- type OrderServiceServer
- type OrderSide
- type OrderStatus
- func (OrderStatus) Descriptor() protoreflect.EnumDescriptor
- func (x OrderStatus) Enum() *OrderStatus
- func (OrderStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrderStatus) Number() protoreflect.EnumNumber
- func (x OrderStatus) String() string
- func (OrderStatus) Type() protoreflect.EnumType
- type OrderTimeInForce
- func (OrderTimeInForce) Descriptor() protoreflect.EnumDescriptor
- func (x OrderTimeInForce) Enum() *OrderTimeInForce
- func (OrderTimeInForce) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrderTimeInForce) Number() protoreflect.EnumNumber
- func (x OrderTimeInForce) String() string
- func (OrderTimeInForce) Type() protoreflect.EnumType
- type OrderType
- type ReadOrderRequest
- func (*ReadOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadOrderRequest) GetId() string
- func (*ReadOrderRequest) ProtoMessage()
- func (x *ReadOrderRequest) ProtoReflect() protoreflect.Message
- func (x *ReadOrderRequest) Reset()
- func (x *ReadOrderRequest) String() string
- func (m *ReadOrderRequest) Validate() error
- func (m *ReadOrderRequest) ValidateAll() error
- type ReadOrderRequestMultiError
- type ReadOrderRequestValidationError
- func (e ReadOrderRequestValidationError) Cause() error
- func (e ReadOrderRequestValidationError) Error() string
- func (e ReadOrderRequestValidationError) ErrorName() string
- func (e ReadOrderRequestValidationError) Field() string
- func (e ReadOrderRequestValidationError) Key() bool
- func (e ReadOrderRequestValidationError) Reason() string
- type ReadOrderResponse
- func (*ReadOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadOrderResponse) GetAverageFilledPrice() string
- func (x *ReadOrderResponse) GetCancelReason() string
- func (x *ReadOrderResponse) GetCommission() string
- func (x *ReadOrderResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *ReadOrderResponse) GetExchangeFee() string
- func (x *ReadOrderResponse) GetFailureReason() string
- func (x *ReadOrderResponse) GetFilledQuantity() string
- func (x *ReadOrderResponse) GetFilledValue() string
- func (x *ReadOrderResponse) GetLimitPrice() string
- func (x *ReadOrderResponse) GetOrderId() string
- func (x *ReadOrderResponse) GetOwnerId() string
- func (x *ReadOrderResponse) GetProductId() string
- func (x *ReadOrderResponse) GetQuantity() string
- func (x *ReadOrderResponse) GetSide() OrderSide
- func (x *ReadOrderResponse) GetStatus() OrderStatus
- func (x *ReadOrderResponse) GetTimeInForce() OrderTimeInForce
- func (x *ReadOrderResponse) GetType() OrderType
- func (x *ReadOrderResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*ReadOrderResponse) ProtoMessage()
- func (x *ReadOrderResponse) ProtoReflect() protoreflect.Message
- func (x *ReadOrderResponse) Reset()
- func (x *ReadOrderResponse) String() string
- func (m *ReadOrderResponse) Validate() error
- func (m *ReadOrderResponse) ValidateAll() error
- type ReadOrderResponseMultiError
- type ReadOrderResponseValidationError
- func (e ReadOrderResponseValidationError) Cause() error
- func (e ReadOrderResponseValidationError) Error() string
- func (e ReadOrderResponseValidationError) ErrorName() string
- func (e ReadOrderResponseValidationError) Field() string
- func (e ReadOrderResponseValidationError) Key() bool
- func (e ReadOrderResponseValidationError) Reason() string
- type SendVenueOrderCancelRequest
- func (*SendVenueOrderCancelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendVenueOrderCancelRequest) GetOrderId() string
- func (*SendVenueOrderCancelRequest) ProtoMessage()
- func (x *SendVenueOrderCancelRequest) ProtoReflect() protoreflect.Message
- func (x *SendVenueOrderCancelRequest) Reset()
- func (x *SendVenueOrderCancelRequest) String() string
- func (m *SendVenueOrderCancelRequest) Validate() error
- func (m *SendVenueOrderCancelRequest) ValidateAll() error
- type SendVenueOrderCancelRequestMultiError
- type SendVenueOrderCancelRequestValidationError
- func (e SendVenueOrderCancelRequestValidationError) Cause() error
- func (e SendVenueOrderCancelRequestValidationError) Error() string
- func (e SendVenueOrderCancelRequestValidationError) ErrorName() string
- func (e SendVenueOrderCancelRequestValidationError) Field() string
- func (e SendVenueOrderCancelRequestValidationError) Key() bool
- func (e SendVenueOrderCancelRequestValidationError) Reason() string
- type SendVenueOrderCancelResponse
- func (*SendVenueOrderCancelResponse) Descriptor() ([]byte, []int)deprecated
- func (*SendVenueOrderCancelResponse) ProtoMessage()
- func (x *SendVenueOrderCancelResponse) ProtoReflect() protoreflect.Message
- func (x *SendVenueOrderCancelResponse) Reset()
- func (x *SendVenueOrderCancelResponse) String() string
- func (m *SendVenueOrderCancelResponse) Validate() error
- func (m *SendVenueOrderCancelResponse) ValidateAll() error
- type SendVenueOrderCancelResponseMultiError
- type SendVenueOrderCancelResponseValidationError
- func (e SendVenueOrderCancelResponseValidationError) Cause() error
- func (e SendVenueOrderCancelResponseValidationError) Error() string
- func (e SendVenueOrderCancelResponseValidationError) ErrorName() string
- func (e SendVenueOrderCancelResponseValidationError) Field() string
- func (e SendVenueOrderCancelResponseValidationError) Key() bool
- func (e SendVenueOrderCancelResponseValidationError) Reason() string
- type SendVenueOrderRequest
- func (*SendVenueOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendVenueOrderRequest) GetOrderId() string
- func (*SendVenueOrderRequest) ProtoMessage()
- func (x *SendVenueOrderRequest) ProtoReflect() protoreflect.Message
- func (x *SendVenueOrderRequest) Reset()
- func (x *SendVenueOrderRequest) String() string
- func (m *SendVenueOrderRequest) Validate() error
- func (m *SendVenueOrderRequest) ValidateAll() error
- type SendVenueOrderRequestMultiError
- type SendVenueOrderRequestValidationError
- func (e SendVenueOrderRequestValidationError) Cause() error
- func (e SendVenueOrderRequestValidationError) Error() string
- func (e SendVenueOrderRequestValidationError) ErrorName() string
- func (e SendVenueOrderRequestValidationError) Field() string
- func (e SendVenueOrderRequestValidationError) Key() bool
- func (e SendVenueOrderRequestValidationError) Reason() string
- type SendVenueOrderResponse
- func (*SendVenueOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (*SendVenueOrderResponse) ProtoMessage()
- func (x *SendVenueOrderResponse) ProtoReflect() protoreflect.Message
- func (x *SendVenueOrderResponse) Reset()
- func (x *SendVenueOrderResponse) String() string
- func (m *SendVenueOrderResponse) Validate() error
- func (m *SendVenueOrderResponse) ValidateAll() error
- type SendVenueOrderResponseMultiError
- type SendVenueOrderResponseValidationError
- func (e SendVenueOrderResponseValidationError) Cause() error
- func (e SendVenueOrderResponseValidationError) Error() string
- func (e SendVenueOrderResponseValidationError) ErrorName() string
- func (e SendVenueOrderResponseValidationError) Field() string
- func (e SendVenueOrderResponseValidationError) Key() bool
- func (e SendVenueOrderResponseValidationError) Reason() string
- type SortDirection
- func (SortDirection) Descriptor() protoreflect.EnumDescriptor
- func (x SortDirection) Enum() *SortDirection
- func (SortDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x SortDirection) Number() protoreflect.EnumNumber
- func (x SortDirection) String() string
- func (SortDirection) Type() protoreflect.EnumType
- type UnimplementedOrderServiceServer
- func (UnimplementedOrderServiceServer) CreateOrder(context.Context, *CreateOrderRequest) (*CreateOrderResponse, error)
- func (UnimplementedOrderServiceServer) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
- func (UnimplementedOrderServiceServer) ReadOrder(context.Context, *ReadOrderRequest) (*ReadOrderResponse, error)
- func (UnimplementedOrderServiceServer) SendVenueOrder(context.Context, *SendVenueOrderRequest) (*SendVenueOrderResponse, error)
- func (UnimplementedOrderServiceServer) SendVenueOrderCancel(context.Context, *SendVenueOrderCancelRequest) (*SendVenueOrderCancelResponse, error)
- func (UnimplementedOrderServiceServer) UpdateOrder(context.Context, *UpdateOrderRequest) (*UpdateOrderResponse, error)
- func (UnimplementedOrderServiceServer) UpdateOrderFeed(context.Context, *UpdateOrderFeedRequest) (*UpdateOrderFeedResponse, error)
- type UnsafeOrderServiceServer
- type UpdateOrderFeedRequest
- func (*UpdateOrderFeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrderFeedRequest) GetAvgPx() string
- func (x *UpdateOrderFeedRequest) GetClientOrderId() string
- func (x *UpdateOrderFeedRequest) GetCumQty() string
- func (x *UpdateOrderFeedRequest) GetFees() string
- func (x *UpdateOrderFeedRequest) GetLeavesQty() string
- func (x *UpdateOrderFeedRequest) GetOrderId() string
- func (x *UpdateOrderFeedRequest) GetStatus() OrderStatus
- func (*UpdateOrderFeedRequest) ProtoMessage()
- func (x *UpdateOrderFeedRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrderFeedRequest) Reset()
- func (x *UpdateOrderFeedRequest) String() string
- func (m *UpdateOrderFeedRequest) Validate() error
- func (m *UpdateOrderFeedRequest) ValidateAll() error
- type UpdateOrderFeedRequestMultiError
- type UpdateOrderFeedRequestValidationError
- func (e UpdateOrderFeedRequestValidationError) Cause() error
- func (e UpdateOrderFeedRequestValidationError) Error() string
- func (e UpdateOrderFeedRequestValidationError) ErrorName() string
- func (e UpdateOrderFeedRequestValidationError) Field() string
- func (e UpdateOrderFeedRequestValidationError) Key() bool
- func (e UpdateOrderFeedRequestValidationError) Reason() string
- type UpdateOrderFeedResponse
- func (*UpdateOrderFeedResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateOrderFeedResponse) ProtoMessage()
- func (x *UpdateOrderFeedResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOrderFeedResponse) Reset()
- func (x *UpdateOrderFeedResponse) String() string
- func (m *UpdateOrderFeedResponse) Validate() error
- func (m *UpdateOrderFeedResponse) ValidateAll() error
- type UpdateOrderFeedResponseMultiError
- type UpdateOrderFeedResponseValidationError
- func (e UpdateOrderFeedResponseValidationError) Cause() error
- func (e UpdateOrderFeedResponseValidationError) Error() string
- func (e UpdateOrderFeedResponseValidationError) ErrorName() string
- func (e UpdateOrderFeedResponseValidationError) Field() string
- func (e UpdateOrderFeedResponseValidationError) Key() bool
- func (e UpdateOrderFeedResponseValidationError) Reason() string
- type UpdateOrderRequest
- func (*UpdateOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrderRequest) GetAverageFilledPrice() string
- func (x *UpdateOrderRequest) GetCancelReason() string
- func (x *UpdateOrderRequest) GetCommission() string
- func (x *UpdateOrderRequest) GetExchangeFee() string
- func (x *UpdateOrderRequest) GetFailureReason() string
- func (x *UpdateOrderRequest) GetFilledQuantity() string
- func (x *UpdateOrderRequest) GetFilledValue() string
- func (x *UpdateOrderRequest) GetOrderId() string
- func (x *UpdateOrderRequest) GetStatus() OrderStatus
- func (*UpdateOrderRequest) ProtoMessage()
- func (x *UpdateOrderRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrderRequest) Reset()
- func (x *UpdateOrderRequest) String() string
- func (m *UpdateOrderRequest) Validate() error
- func (m *UpdateOrderRequest) ValidateAll() error
- type UpdateOrderRequestMultiError
- type UpdateOrderRequestValidationError
- func (e UpdateOrderRequestValidationError) Cause() error
- func (e UpdateOrderRequestValidationError) Error() string
- func (e UpdateOrderRequestValidationError) ErrorName() string
- func (e UpdateOrderRequestValidationError) Field() string
- func (e UpdateOrderRequestValidationError) Key() bool
- func (e UpdateOrderRequestValidationError) Reason() string
- type UpdateOrderResponse
- func (*UpdateOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrderResponse) GetAverageFilledPrice() string
- func (x *UpdateOrderResponse) GetCancelReason() string
- func (x *UpdateOrderResponse) GetCommission() string
- func (x *UpdateOrderResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *UpdateOrderResponse) GetExchangeFee() string
- func (x *UpdateOrderResponse) GetFailureReason() string
- func (x *UpdateOrderResponse) GetFilledQuantity() string
- func (x *UpdateOrderResponse) GetFilledValue() string
- func (x *UpdateOrderResponse) GetLimitPrice() string
- func (x *UpdateOrderResponse) GetOrderId() string
- func (x *UpdateOrderResponse) GetOwnerId() string
- func (x *UpdateOrderResponse) GetProductId() string
- func (x *UpdateOrderResponse) GetQuantity() string
- func (x *UpdateOrderResponse) GetSide() OrderSide
- func (x *UpdateOrderResponse) GetStatus() OrderStatus
- func (x *UpdateOrderResponse) GetTimeInForce() OrderTimeInForce
- func (x *UpdateOrderResponse) GetType() OrderType
- func (x *UpdateOrderResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*UpdateOrderResponse) ProtoMessage()
- func (x *UpdateOrderResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOrderResponse) Reset()
- func (x *UpdateOrderResponse) String() string
- func (m *UpdateOrderResponse) Validate() error
- func (m *UpdateOrderResponse) ValidateAll() error
- type UpdateOrderResponseMultiError
- type UpdateOrderResponseValidationError
- func (e UpdateOrderResponseValidationError) Cause() error
- func (e UpdateOrderResponseValidationError) Error() string
- func (e UpdateOrderResponseValidationError) ErrorName() string
- func (e UpdateOrderResponseValidationError) Field() string
- func (e UpdateOrderResponseValidationError) Key() bool
- func (e UpdateOrderResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( OrderSide_name = map[int32]string{ 0: "ORDER_SIDE_UNSPECIFIED", 1: "ORDER_SIDE_BUY", 2: "ORDER_SIDE_SELL", } OrderSide_value = map[string]int32{ "ORDER_SIDE_UNSPECIFIED": 0, "ORDER_SIDE_BUY": 1, "ORDER_SIDE_SELL": 2, } )
Enum value maps for OrderSide.
var ( OrderType_name = map[int32]string{ 0: "ORDER_TYPE_UNSPECIFIED", 1: "ORDER_TYPE_MARKET", 2: "ORDER_TYPE_LIMIT", } OrderType_value = map[string]int32{ "ORDER_TYPE_UNSPECIFIED": 0, "ORDER_TYPE_MARKET": 1, "ORDER_TYPE_LIMIT": 2, } )
Enum value maps for OrderType.
var ( OrderTimeInForce_name = map[int32]string{ 0: "ORDER_TIME_IN_FORCE_UNSPECIFIED", 1: "ORDER_TIME_IN_FORCE_GOOD_UNTIL_DATETIME", 2: "ORDER_TIME_IN_FORCE_GOOD_UNTIL_CANCELLED", 3: "ORDER_TIME_IN_FORCE_IMMEDIATE_OR_CANCEL", 4: "ORDER_TIME_IN_FORCE_FILL_OR_KILL", } OrderTimeInForce_value = map[string]int32{ "ORDER_TIME_IN_FORCE_UNSPECIFIED": 0, "ORDER_TIME_IN_FORCE_GOOD_UNTIL_DATETIME": 1, "ORDER_TIME_IN_FORCE_GOOD_UNTIL_CANCELLED": 2, "ORDER_TIME_IN_FORCE_IMMEDIATE_OR_CANCEL": 3, "ORDER_TIME_IN_FORCE_FILL_OR_KILL": 4, } )
Enum value maps for OrderTimeInForce.
var ( OrderStatus_name = map[int32]string{ 0: "ORDER_STATUS_UNSPECIFIED", 1: "ORDER_STATUS_PENDING", 2: "ORDER_STATUS_OPEN", 3: "ORDER_STATUS_FILLED", 4: "ORDER_STATUS_CANCELLED", 5: "ORDER_STATUS_EXPIRED", 6: "ORDER_STATUS_FAILED", } OrderStatus_value = map[string]int32{ "ORDER_STATUS_UNSPECIFIED": 0, "ORDER_STATUS_PENDING": 1, "ORDER_STATUS_OPEN": 2, "ORDER_STATUS_FILLED": 3, "ORDER_STATUS_CANCELLED": 4, "ORDER_STATUS_EXPIRED": 5, "ORDER_STATUS_FAILED": 6, } )
Enum value maps for OrderStatus.
var ( SortDirection_name = map[int32]string{ 0: "SORT_DIRECTION_UNSPECIFIED", 1: "SORT_DIRECTION_ASC", 2: "SORT_DIRECTION_DESC", } SortDirection_value = map[string]int32{ "SORT_DIRECTION_UNSPECIFIED": 0, "SORT_DIRECTION_ASC": 1, "SORT_DIRECTION_DESC": 2, } )
Enum value maps for SortDirection.
var File_pkg_pbs_order_v1_order_proto protoreflect.FileDescriptor
var OrderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pkg.pbs.order.v1.OrderService", HandlerType: (*OrderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrder", Handler: _OrderService_CreateOrder_Handler, }, { MethodName: "ReadOrder", Handler: _OrderService_ReadOrder_Handler, }, { MethodName: "ListOrders", Handler: _OrderService_ListOrders_Handler, }, { MethodName: "UpdateOrder", Handler: _OrderService_UpdateOrder_Handler, }, { MethodName: "UpdateOrderFeed", Handler: _OrderService_UpdateOrderFeed_Handler, }, { MethodName: "SendVenueOrder", Handler: _OrderService_SendVenueOrder_Handler, }, { MethodName: "SendVenueOrderCancel", Handler: _OrderService_SendVenueOrderCancel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/pbs/order/v1/order.proto", }
OrderService_ServiceDesc is the grpc.ServiceDesc for OrderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOrderServiceHandler ¶
func RegisterOrderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterOrderServiceHandler registers the http handlers for service OrderService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOrderServiceHandlerClient ¶
func RegisterOrderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrderServiceClient) error
RegisterOrderServiceHandlerClient registers the http handlers for service OrderService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrderServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrderServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrderServiceClient" to call the correct interceptors.
func RegisterOrderServiceHandlerFromEndpoint ¶
func RegisterOrderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOrderServiceHandlerFromEndpoint is same as RegisterOrderServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOrderServiceHandlerServer ¶
func RegisterOrderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrderServiceServer) error
RegisterOrderServiceHandlerServer registers the http handlers for service OrderService to "mux". UnaryRPC :call OrderServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrderServiceHandlerFromEndpoint instead.
func RegisterOrderServiceServer ¶
func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)
Types ¶
type CreateOrderRequest ¶
type CreateOrderRequest struct { ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Side OrderSide `protobuf:"varint,2,opt,name=side,proto3,enum=pkg.pbs.order.v1.OrderSide" json:"side,omitempty"` Type OrderType `protobuf:"varint,3,opt,name=type,proto3,enum=pkg.pbs.order.v1.OrderType" json:"type,omitempty"` Quantity string `protobuf:"bytes,4,opt,name=quantity,proto3" json:"quantity,omitempty"` LimitPrice string `protobuf:"bytes,5,opt,name=limit_price,json=limitPrice,proto3" json:"limit_price,omitempty"` TimeInForce OrderTimeInForce `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateOrderRequest) Descriptor
deprecated
func (*CreateOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrderRequest.ProtoReflect.Descriptor instead.
func (*CreateOrderRequest) GetLimitPrice ¶
func (x *CreateOrderRequest) GetLimitPrice() string
func (*CreateOrderRequest) GetProductId ¶
func (x *CreateOrderRequest) GetProductId() string
func (*CreateOrderRequest) GetQuantity ¶
func (x *CreateOrderRequest) GetQuantity() string
func (*CreateOrderRequest) GetSide ¶
func (x *CreateOrderRequest) GetSide() OrderSide
func (*CreateOrderRequest) GetTimeInForce ¶
func (x *CreateOrderRequest) GetTimeInForce() OrderTimeInForce
func (*CreateOrderRequest) GetType ¶
func (x *CreateOrderRequest) GetType() OrderType
func (*CreateOrderRequest) ProtoMessage ¶
func (*CreateOrderRequest) ProtoMessage()
func (*CreateOrderRequest) ProtoReflect ¶
func (x *CreateOrderRequest) ProtoReflect() protoreflect.Message
func (*CreateOrderRequest) Reset ¶
func (x *CreateOrderRequest) Reset()
func (*CreateOrderRequest) String ¶
func (x *CreateOrderRequest) String() string
func (*CreateOrderRequest) Validate ¶
func (m *CreateOrderRequest) Validate() error
Validate checks the field values on CreateOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrderRequest) ValidateAll ¶
func (m *CreateOrderRequest) ValidateAll() error
ValidateAll checks the field values on CreateOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrderRequestMultiError, or nil if none found.
type CreateOrderRequestMultiError ¶
type CreateOrderRequestMultiError []error
CreateOrderRequestMultiError is an error wrapping multiple validation errors returned by CreateOrderRequest.ValidateAll() if the designated constraints aren't met.
func (CreateOrderRequestMultiError) AllErrors ¶
func (m CreateOrderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrderRequestMultiError) Error ¶
func (m CreateOrderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrderRequestValidationError ¶
type CreateOrderRequestValidationError struct {
// contains filtered or unexported fields
}
CreateOrderRequestValidationError is the validation error returned by CreateOrderRequest.Validate if the designated constraints aren't met.
func (CreateOrderRequestValidationError) Cause ¶
func (e CreateOrderRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateOrderRequestValidationError) Error ¶
func (e CreateOrderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrderRequestValidationError) ErrorName ¶
func (e CreateOrderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrderRequestValidationError) Field ¶
func (e CreateOrderRequestValidationError) Field() string
Field function returns field value.
func (CreateOrderRequestValidationError) Key ¶
func (e CreateOrderRequestValidationError) Key() bool
Key function returns key value.
func (CreateOrderRequestValidationError) Reason ¶
func (e CreateOrderRequestValidationError) Reason() string
Reason function returns reason value.
type CreateOrderResponse ¶
type CreateOrderResponse struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Side OrderSide `protobuf:"varint,4,opt,name=side,proto3,enum=pkg.pbs.order.v1.OrderSide" json:"side,omitempty"` Type OrderType `protobuf:"varint,5,opt,name=type,proto3,enum=pkg.pbs.order.v1.OrderType" json:"type,omitempty"` Quantity string `protobuf:"bytes,6,opt,name=quantity,proto3" json:"quantity,omitempty"` LimitPrice string `protobuf:"bytes,7,opt,name=limit_price,json=limitPrice,proto3" json:"limit_price,omitempty"` TimeInForce OrderTimeInForce `` /* 136-byte string literal not displayed */ Status OrderStatus `protobuf:"varint,9,opt,name=status,proto3,enum=pkg.pbs.order.v1.OrderStatus" json:"status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` FilledQuantity string `protobuf:"bytes,12,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"` FilledValue string `protobuf:"bytes,13,opt,name=filled_value,json=filledValue,proto3" json:"filled_value,omitempty"` AverageFilledPrice string `protobuf:"bytes,14,opt,name=average_filled_price,json=averageFilledPrice,proto3" json:"average_filled_price,omitempty"` Commission string `protobuf:"bytes,15,opt,name=commission,proto3" json:"commission,omitempty"` ExchangeFee string `protobuf:"bytes,16,opt,name=exchange_fee,json=exchangeFee,proto3" json:"exchange_fee,omitempty"` // contains filtered or unexported fields }
func (*CreateOrderResponse) Descriptor
deprecated
func (*CreateOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrderResponse.ProtoReflect.Descriptor instead.
func (*CreateOrderResponse) GetAverageFilledPrice ¶
func (x *CreateOrderResponse) GetAverageFilledPrice() string
func (*CreateOrderResponse) GetCommission ¶
func (x *CreateOrderResponse) GetCommission() string
func (*CreateOrderResponse) GetCreatedAt ¶
func (x *CreateOrderResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CreateOrderResponse) GetExchangeFee ¶
func (x *CreateOrderResponse) GetExchangeFee() string
func (*CreateOrderResponse) GetFilledQuantity ¶
func (x *CreateOrderResponse) GetFilledQuantity() string
func (*CreateOrderResponse) GetFilledValue ¶
func (x *CreateOrderResponse) GetFilledValue() string
func (*CreateOrderResponse) GetLimitPrice ¶
func (x *CreateOrderResponse) GetLimitPrice() string
func (*CreateOrderResponse) GetOrderId ¶
func (x *CreateOrderResponse) GetOrderId() string
func (*CreateOrderResponse) GetOwnerId ¶
func (x *CreateOrderResponse) GetOwnerId() string
func (*CreateOrderResponse) GetProductId ¶
func (x *CreateOrderResponse) GetProductId() string
func (*CreateOrderResponse) GetQuantity ¶
func (x *CreateOrderResponse) GetQuantity() string
func (*CreateOrderResponse) GetSide ¶
func (x *CreateOrderResponse) GetSide() OrderSide
func (*CreateOrderResponse) GetStatus ¶
func (x *CreateOrderResponse) GetStatus() OrderStatus
func (*CreateOrderResponse) GetTimeInForce ¶
func (x *CreateOrderResponse) GetTimeInForce() OrderTimeInForce
func (*CreateOrderResponse) GetType ¶
func (x *CreateOrderResponse) GetType() OrderType
func (*CreateOrderResponse) GetUpdatedAt ¶
func (x *CreateOrderResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateOrderResponse) ProtoMessage ¶
func (*CreateOrderResponse) ProtoMessage()
func (*CreateOrderResponse) ProtoReflect ¶
func (x *CreateOrderResponse) ProtoReflect() protoreflect.Message
func (*CreateOrderResponse) Reset ¶
func (x *CreateOrderResponse) Reset()
func (*CreateOrderResponse) String ¶
func (x *CreateOrderResponse) String() string
func (*CreateOrderResponse) Validate ¶
func (m *CreateOrderResponse) Validate() error
Validate checks the field values on CreateOrderResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrderResponse) ValidateAll ¶
func (m *CreateOrderResponse) ValidateAll() error
ValidateAll checks the field values on CreateOrderResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrderResponseMultiError, or nil if none found.
type CreateOrderResponseMultiError ¶
type CreateOrderResponseMultiError []error
CreateOrderResponseMultiError is an error wrapping multiple validation errors returned by CreateOrderResponse.ValidateAll() if the designated constraints aren't met.
func (CreateOrderResponseMultiError) AllErrors ¶
func (m CreateOrderResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrderResponseMultiError) Error ¶
func (m CreateOrderResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrderResponseValidationError ¶
type CreateOrderResponseValidationError struct {
// contains filtered or unexported fields
}
CreateOrderResponseValidationError is the validation error returned by CreateOrderResponse.Validate if the designated constraints aren't met.
func (CreateOrderResponseValidationError) Cause ¶
func (e CreateOrderResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateOrderResponseValidationError) Error ¶
func (e CreateOrderResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrderResponseValidationError) ErrorName ¶
func (e CreateOrderResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrderResponseValidationError) Field ¶
func (e CreateOrderResponseValidationError) Field() string
Field function returns field value.
func (CreateOrderResponseValidationError) Key ¶
func (e CreateOrderResponseValidationError) Key() bool
Key function returns key value.
func (CreateOrderResponseValidationError) Reason ¶
func (e CreateOrderResponseValidationError) Reason() string
Reason function returns reason value.
type ListOrdersRequest ¶
type ListOrdersRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` SortDirection SortDirection `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListOrdersRequest) Descriptor
deprecated
func (*ListOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrdersRequest.ProtoReflect.Descriptor instead.
func (*ListOrdersRequest) GetCursor ¶
func (x *ListOrdersRequest) GetCursor() string
func (*ListOrdersRequest) GetQuery ¶
func (x *ListOrdersRequest) GetQuery() string
func (*ListOrdersRequest) GetSortDirection ¶
func (x *ListOrdersRequest) GetSortDirection() SortDirection
func (*ListOrdersRequest) ProtoMessage ¶
func (*ListOrdersRequest) ProtoMessage()
func (*ListOrdersRequest) ProtoReflect ¶
func (x *ListOrdersRequest) ProtoReflect() protoreflect.Message
func (*ListOrdersRequest) Reset ¶
func (x *ListOrdersRequest) Reset()
func (*ListOrdersRequest) String ¶
func (x *ListOrdersRequest) String() string
func (*ListOrdersRequest) Validate ¶
func (m *ListOrdersRequest) Validate() error
Validate checks the field values on ListOrdersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrdersRequest) ValidateAll ¶
func (m *ListOrdersRequest) ValidateAll() error
ValidateAll checks the field values on ListOrdersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrdersRequestMultiError, or nil if none found.
type ListOrdersRequestMultiError ¶
type ListOrdersRequestMultiError []error
ListOrdersRequestMultiError is an error wrapping multiple validation errors returned by ListOrdersRequest.ValidateAll() if the designated constraints aren't met.
func (ListOrdersRequestMultiError) AllErrors ¶
func (m ListOrdersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrdersRequestMultiError) Error ¶
func (m ListOrdersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrdersRequestValidationError ¶
type ListOrdersRequestValidationError struct {
// contains filtered or unexported fields
}
ListOrdersRequestValidationError is the validation error returned by ListOrdersRequest.Validate if the designated constraints aren't met.
func (ListOrdersRequestValidationError) Cause ¶
func (e ListOrdersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListOrdersRequestValidationError) Error ¶
func (e ListOrdersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrdersRequestValidationError) ErrorName ¶
func (e ListOrdersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrdersRequestValidationError) Field ¶
func (e ListOrdersRequestValidationError) Field() string
Field function returns field value.
func (ListOrdersRequestValidationError) Key ¶
func (e ListOrdersRequestValidationError) Key() bool
Key function returns key value.
func (ListOrdersRequestValidationError) Reason ¶
func (e ListOrdersRequestValidationError) Reason() string
Reason function returns reason value.
type ListOrdersResponse ¶
type ListOrdersResponse struct { Data []*ReadOrderResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` HasNext bool `protobuf:"varint,4,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"` // contains filtered or unexported fields }
func (*ListOrdersResponse) Descriptor
deprecated
func (*ListOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrdersResponse.ProtoReflect.Descriptor instead.
func (*ListOrdersResponse) GetCount ¶
func (x *ListOrdersResponse) GetCount() int32
func (*ListOrdersResponse) GetData ¶
func (x *ListOrdersResponse) GetData() []*ReadOrderResponse
func (*ListOrdersResponse) GetHasNext ¶
func (x *ListOrdersResponse) GetHasNext() bool
func (*ListOrdersResponse) GetNextCursor ¶
func (x *ListOrdersResponse) GetNextCursor() string
func (*ListOrdersResponse) ProtoMessage ¶
func (*ListOrdersResponse) ProtoMessage()
func (*ListOrdersResponse) ProtoReflect ¶
func (x *ListOrdersResponse) ProtoReflect() protoreflect.Message
func (*ListOrdersResponse) Reset ¶
func (x *ListOrdersResponse) Reset()
func (*ListOrdersResponse) String ¶
func (x *ListOrdersResponse) String() string
func (*ListOrdersResponse) Validate ¶
func (m *ListOrdersResponse) Validate() error
Validate checks the field values on ListOrdersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrdersResponse) ValidateAll ¶
func (m *ListOrdersResponse) ValidateAll() error
ValidateAll checks the field values on ListOrdersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrdersResponseMultiError, or nil if none found.
type ListOrdersResponseMultiError ¶
type ListOrdersResponseMultiError []error
ListOrdersResponseMultiError is an error wrapping multiple validation errors returned by ListOrdersResponse.ValidateAll() if the designated constraints aren't met.
func (ListOrdersResponseMultiError) AllErrors ¶
func (m ListOrdersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrdersResponseMultiError) Error ¶
func (m ListOrdersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrdersResponseValidationError ¶
type ListOrdersResponseValidationError struct {
// contains filtered or unexported fields
}
ListOrdersResponseValidationError is the validation error returned by ListOrdersResponse.Validate if the designated constraints aren't met.
func (ListOrdersResponseValidationError) Cause ¶
func (e ListOrdersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListOrdersResponseValidationError) Error ¶
func (e ListOrdersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrdersResponseValidationError) ErrorName ¶
func (e ListOrdersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrdersResponseValidationError) Field ¶
func (e ListOrdersResponseValidationError) Field() string
Field function returns field value.
func (ListOrdersResponseValidationError) Key ¶
func (e ListOrdersResponseValidationError) Key() bool
Key function returns key value.
func (ListOrdersResponseValidationError) Reason ¶
func (e ListOrdersResponseValidationError) Reason() string
Reason function returns reason value.
type OrderServiceClient ¶
type OrderServiceClient interface { CreateOrder(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption) (*CreateOrderResponse, error) ReadOrder(ctx context.Context, in *ReadOrderRequest, opts ...grpc.CallOption) (*ReadOrderResponse, error) ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error) UpdateOrder(ctx context.Context, in *UpdateOrderRequest, opts ...grpc.CallOption) (*UpdateOrderResponse, error) UpdateOrderFeed(ctx context.Context, in *UpdateOrderFeedRequest, opts ...grpc.CallOption) (*UpdateOrderFeedResponse, error) SendVenueOrder(ctx context.Context, in *SendVenueOrderRequest, opts ...grpc.CallOption) (*SendVenueOrderResponse, error) SendVenueOrderCancel(ctx context.Context, in *SendVenueOrderCancelRequest, opts ...grpc.CallOption) (*SendVenueOrderCancelResponse, error) }
OrderServiceClient is the client API for OrderService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOrderServiceClient ¶
func NewOrderServiceClient(cc grpc.ClientConnInterface) OrderServiceClient
type OrderServiceServer ¶
type OrderServiceServer interface { CreateOrder(context.Context, *CreateOrderRequest) (*CreateOrderResponse, error) ReadOrder(context.Context, *ReadOrderRequest) (*ReadOrderResponse, error) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error) UpdateOrder(context.Context, *UpdateOrderRequest) (*UpdateOrderResponse, error) UpdateOrderFeed(context.Context, *UpdateOrderFeedRequest) (*UpdateOrderFeedResponse, error) SendVenueOrder(context.Context, *SendVenueOrderRequest) (*SendVenueOrderResponse, error) SendVenueOrderCancel(context.Context, *SendVenueOrderCancelRequest) (*SendVenueOrderCancelResponse, error) // contains filtered or unexported methods }
OrderServiceServer is the server API for OrderService service. All implementations must embed UnimplementedOrderServiceServer for forward compatibility
type OrderSide ¶
type OrderSide int32
func (OrderSide) Descriptor ¶
func (OrderSide) Descriptor() protoreflect.EnumDescriptor
func (OrderSide) EnumDescriptor
deprecated
func (OrderSide) Number ¶
func (x OrderSide) Number() protoreflect.EnumNumber
func (OrderSide) Type ¶
func (OrderSide) Type() protoreflect.EnumType
type OrderStatus ¶
type OrderStatus int32
const ( OrderStatus_ORDER_STATUS_UNSPECIFIED OrderStatus = 0 OrderStatus_ORDER_STATUS_PENDING OrderStatus = 1 OrderStatus_ORDER_STATUS_OPEN OrderStatus = 2 OrderStatus_ORDER_STATUS_FILLED OrderStatus = 3 OrderStatus_ORDER_STATUS_CANCELLED OrderStatus = 4 OrderStatus_ORDER_STATUS_EXPIRED OrderStatus = 5 OrderStatus_ORDER_STATUS_FAILED OrderStatus = 6 )
func (OrderStatus) Descriptor ¶
func (OrderStatus) Descriptor() protoreflect.EnumDescriptor
func (OrderStatus) Enum ¶
func (x OrderStatus) Enum() *OrderStatus
func (OrderStatus) EnumDescriptor
deprecated
func (OrderStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrderStatus.Descriptor instead.
func (OrderStatus) Number ¶
func (x OrderStatus) Number() protoreflect.EnumNumber
func (OrderStatus) String ¶
func (x OrderStatus) String() string
func (OrderStatus) Type ¶
func (OrderStatus) Type() protoreflect.EnumType
type OrderTimeInForce ¶
type OrderTimeInForce int32
const ( OrderTimeInForce_ORDER_TIME_IN_FORCE_UNSPECIFIED OrderTimeInForce = 0 OrderTimeInForce_ORDER_TIME_IN_FORCE_GOOD_UNTIL_DATETIME OrderTimeInForce = 1 OrderTimeInForce_ORDER_TIME_IN_FORCE_GOOD_UNTIL_CANCELLED OrderTimeInForce = 2 OrderTimeInForce_ORDER_TIME_IN_FORCE_IMMEDIATE_OR_CANCEL OrderTimeInForce = 3 OrderTimeInForce_ORDER_TIME_IN_FORCE_FILL_OR_KILL OrderTimeInForce = 4 )
func (OrderTimeInForce) Descriptor ¶
func (OrderTimeInForce) Descriptor() protoreflect.EnumDescriptor
func (OrderTimeInForce) Enum ¶
func (x OrderTimeInForce) Enum() *OrderTimeInForce
func (OrderTimeInForce) EnumDescriptor
deprecated
func (OrderTimeInForce) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrderTimeInForce.Descriptor instead.
func (OrderTimeInForce) Number ¶
func (x OrderTimeInForce) Number() protoreflect.EnumNumber
func (OrderTimeInForce) String ¶
func (x OrderTimeInForce) String() string
func (OrderTimeInForce) Type ¶
func (OrderTimeInForce) Type() protoreflect.EnumType
type OrderType ¶
type OrderType int32
func (OrderType) Descriptor ¶
func (OrderType) Descriptor() protoreflect.EnumDescriptor
func (OrderType) EnumDescriptor
deprecated
func (OrderType) Number ¶
func (x OrderType) Number() protoreflect.EnumNumber
func (OrderType) Type ¶
func (OrderType) Type() protoreflect.EnumType
type ReadOrderRequest ¶
type ReadOrderRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReadOrderRequest) Descriptor
deprecated
func (*ReadOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadOrderRequest.ProtoReflect.Descriptor instead.
func (*ReadOrderRequest) GetId ¶
func (x *ReadOrderRequest) GetId() string
func (*ReadOrderRequest) ProtoMessage ¶
func (*ReadOrderRequest) ProtoMessage()
func (*ReadOrderRequest) ProtoReflect ¶
func (x *ReadOrderRequest) ProtoReflect() protoreflect.Message
func (*ReadOrderRequest) Reset ¶
func (x *ReadOrderRequest) Reset()
func (*ReadOrderRequest) String ¶
func (x *ReadOrderRequest) String() string
func (*ReadOrderRequest) Validate ¶
func (m *ReadOrderRequest) Validate() error
Validate checks the field values on ReadOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadOrderRequest) ValidateAll ¶
func (m *ReadOrderRequest) ValidateAll() error
ValidateAll checks the field values on ReadOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadOrderRequestMultiError, or nil if none found.
type ReadOrderRequestMultiError ¶
type ReadOrderRequestMultiError []error
ReadOrderRequestMultiError is an error wrapping multiple validation errors returned by ReadOrderRequest.ValidateAll() if the designated constraints aren't met.
func (ReadOrderRequestMultiError) AllErrors ¶
func (m ReadOrderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadOrderRequestMultiError) Error ¶
func (m ReadOrderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadOrderRequestValidationError ¶
type ReadOrderRequestValidationError struct {
// contains filtered or unexported fields
}
ReadOrderRequestValidationError is the validation error returned by ReadOrderRequest.Validate if the designated constraints aren't met.
func (ReadOrderRequestValidationError) Cause ¶
func (e ReadOrderRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadOrderRequestValidationError) Error ¶
func (e ReadOrderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadOrderRequestValidationError) ErrorName ¶
func (e ReadOrderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadOrderRequestValidationError) Field ¶
func (e ReadOrderRequestValidationError) Field() string
Field function returns field value.
func (ReadOrderRequestValidationError) Key ¶
func (e ReadOrderRequestValidationError) Key() bool
Key function returns key value.
func (ReadOrderRequestValidationError) Reason ¶
func (e ReadOrderRequestValidationError) Reason() string
Reason function returns reason value.
type ReadOrderResponse ¶
type ReadOrderResponse struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Side OrderSide `protobuf:"varint,4,opt,name=side,proto3,enum=pkg.pbs.order.v1.OrderSide" json:"side,omitempty"` Type OrderType `protobuf:"varint,5,opt,name=type,proto3,enum=pkg.pbs.order.v1.OrderType" json:"type,omitempty"` Quantity string `protobuf:"bytes,6,opt,name=quantity,proto3" json:"quantity,omitempty"` LimitPrice string `protobuf:"bytes,7,opt,name=limit_price,json=limitPrice,proto3" json:"limit_price,omitempty"` TimeInForce OrderTimeInForce `` /* 136-byte string literal not displayed */ Status OrderStatus `protobuf:"varint,9,opt,name=status,proto3,enum=pkg.pbs.order.v1.OrderStatus" json:"status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` FilledQuantity string `protobuf:"bytes,12,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"` FilledValue string `protobuf:"bytes,13,opt,name=filled_value,json=filledValue,proto3" json:"filled_value,omitempty"` AverageFilledPrice string `protobuf:"bytes,14,opt,name=average_filled_price,json=averageFilledPrice,proto3" json:"average_filled_price,omitempty"` Commission string `protobuf:"bytes,15,opt,name=commission,proto3" json:"commission,omitempty"` ExchangeFee string `protobuf:"bytes,16,opt,name=exchange_fee,json=exchangeFee,proto3" json:"exchange_fee,omitempty"` CancelReason string `protobuf:"bytes,17,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty"` FailureReason string `protobuf:"bytes,18,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` // contains filtered or unexported fields }
func (*ReadOrderResponse) Descriptor
deprecated
func (*ReadOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadOrderResponse.ProtoReflect.Descriptor instead.
func (*ReadOrderResponse) GetAverageFilledPrice ¶
func (x *ReadOrderResponse) GetAverageFilledPrice() string
func (*ReadOrderResponse) GetCancelReason ¶
func (x *ReadOrderResponse) GetCancelReason() string
func (*ReadOrderResponse) GetCommission ¶
func (x *ReadOrderResponse) GetCommission() string
func (*ReadOrderResponse) GetCreatedAt ¶
func (x *ReadOrderResponse) GetCreatedAt() *timestamppb.Timestamp
func (*ReadOrderResponse) GetExchangeFee ¶
func (x *ReadOrderResponse) GetExchangeFee() string
func (*ReadOrderResponse) GetFailureReason ¶
func (x *ReadOrderResponse) GetFailureReason() string
func (*ReadOrderResponse) GetFilledQuantity ¶
func (x *ReadOrderResponse) GetFilledQuantity() string
func (*ReadOrderResponse) GetFilledValue ¶
func (x *ReadOrderResponse) GetFilledValue() string
func (*ReadOrderResponse) GetLimitPrice ¶
func (x *ReadOrderResponse) GetLimitPrice() string
func (*ReadOrderResponse) GetOrderId ¶
func (x *ReadOrderResponse) GetOrderId() string
func (*ReadOrderResponse) GetOwnerId ¶
func (x *ReadOrderResponse) GetOwnerId() string
func (*ReadOrderResponse) GetProductId ¶
func (x *ReadOrderResponse) GetProductId() string
func (*ReadOrderResponse) GetQuantity ¶
func (x *ReadOrderResponse) GetQuantity() string
func (*ReadOrderResponse) GetSide ¶
func (x *ReadOrderResponse) GetSide() OrderSide
func (*ReadOrderResponse) GetStatus ¶
func (x *ReadOrderResponse) GetStatus() OrderStatus
func (*ReadOrderResponse) GetTimeInForce ¶
func (x *ReadOrderResponse) GetTimeInForce() OrderTimeInForce
func (*ReadOrderResponse) GetType ¶
func (x *ReadOrderResponse) GetType() OrderType
func (*ReadOrderResponse) GetUpdatedAt ¶
func (x *ReadOrderResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*ReadOrderResponse) ProtoMessage ¶
func (*ReadOrderResponse) ProtoMessage()
func (*ReadOrderResponse) ProtoReflect ¶
func (x *ReadOrderResponse) ProtoReflect() protoreflect.Message
func (*ReadOrderResponse) Reset ¶
func (x *ReadOrderResponse) Reset()
func (*ReadOrderResponse) String ¶
func (x *ReadOrderResponse) String() string
func (*ReadOrderResponse) Validate ¶
func (m *ReadOrderResponse) Validate() error
Validate checks the field values on ReadOrderResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadOrderResponse) ValidateAll ¶
func (m *ReadOrderResponse) ValidateAll() error
ValidateAll checks the field values on ReadOrderResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadOrderResponseMultiError, or nil if none found.
type ReadOrderResponseMultiError ¶
type ReadOrderResponseMultiError []error
ReadOrderResponseMultiError is an error wrapping multiple validation errors returned by ReadOrderResponse.ValidateAll() if the designated constraints aren't met.
func (ReadOrderResponseMultiError) AllErrors ¶
func (m ReadOrderResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadOrderResponseMultiError) Error ¶
func (m ReadOrderResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadOrderResponseValidationError ¶
type ReadOrderResponseValidationError struct {
// contains filtered or unexported fields
}
ReadOrderResponseValidationError is the validation error returned by ReadOrderResponse.Validate if the designated constraints aren't met.
func (ReadOrderResponseValidationError) Cause ¶
func (e ReadOrderResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadOrderResponseValidationError) Error ¶
func (e ReadOrderResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadOrderResponseValidationError) ErrorName ¶
func (e ReadOrderResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadOrderResponseValidationError) Field ¶
func (e ReadOrderResponseValidationError) Field() string
Field function returns field value.
func (ReadOrderResponseValidationError) Key ¶
func (e ReadOrderResponseValidationError) Key() bool
Key function returns key value.
func (ReadOrderResponseValidationError) Reason ¶
func (e ReadOrderResponseValidationError) Reason() string
Reason function returns reason value.
type SendVenueOrderCancelRequest ¶
type SendVenueOrderCancelRequest struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*SendVenueOrderCancelRequest) Descriptor
deprecated
func (*SendVenueOrderCancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendVenueOrderCancelRequest.ProtoReflect.Descriptor instead.
func (*SendVenueOrderCancelRequest) GetOrderId ¶
func (x *SendVenueOrderCancelRequest) GetOrderId() string
func (*SendVenueOrderCancelRequest) ProtoMessage ¶
func (*SendVenueOrderCancelRequest) ProtoMessage()
func (*SendVenueOrderCancelRequest) ProtoReflect ¶
func (x *SendVenueOrderCancelRequest) ProtoReflect() protoreflect.Message
func (*SendVenueOrderCancelRequest) Reset ¶
func (x *SendVenueOrderCancelRequest) Reset()
func (*SendVenueOrderCancelRequest) String ¶
func (x *SendVenueOrderCancelRequest) String() string
func (*SendVenueOrderCancelRequest) Validate ¶
func (m *SendVenueOrderCancelRequest) Validate() error
Validate checks the field values on SendVenueOrderCancelRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendVenueOrderCancelRequest) ValidateAll ¶
func (m *SendVenueOrderCancelRequest) ValidateAll() error
ValidateAll checks the field values on SendVenueOrderCancelRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendVenueOrderCancelRequestMultiError, or nil if none found.
type SendVenueOrderCancelRequestMultiError ¶
type SendVenueOrderCancelRequestMultiError []error
SendVenueOrderCancelRequestMultiError is an error wrapping multiple validation errors returned by SendVenueOrderCancelRequest.ValidateAll() if the designated constraints aren't met.
func (SendVenueOrderCancelRequestMultiError) AllErrors ¶
func (m SendVenueOrderCancelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendVenueOrderCancelRequestMultiError) Error ¶
func (m SendVenueOrderCancelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendVenueOrderCancelRequestValidationError ¶
type SendVenueOrderCancelRequestValidationError struct {
// contains filtered or unexported fields
}
SendVenueOrderCancelRequestValidationError is the validation error returned by SendVenueOrderCancelRequest.Validate if the designated constraints aren't met.
func (SendVenueOrderCancelRequestValidationError) Cause ¶
func (e SendVenueOrderCancelRequestValidationError) Cause() error
Cause function returns cause value.
func (SendVenueOrderCancelRequestValidationError) Error ¶
func (e SendVenueOrderCancelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendVenueOrderCancelRequestValidationError) ErrorName ¶
func (e SendVenueOrderCancelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendVenueOrderCancelRequestValidationError) Field ¶
func (e SendVenueOrderCancelRequestValidationError) Field() string
Field function returns field value.
func (SendVenueOrderCancelRequestValidationError) Key ¶
func (e SendVenueOrderCancelRequestValidationError) Key() bool
Key function returns key value.
func (SendVenueOrderCancelRequestValidationError) Reason ¶
func (e SendVenueOrderCancelRequestValidationError) Reason() string
Reason function returns reason value.
type SendVenueOrderCancelResponse ¶
type SendVenueOrderCancelResponse struct {
// contains filtered or unexported fields
}
func (*SendVenueOrderCancelResponse) Descriptor
deprecated
func (*SendVenueOrderCancelResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendVenueOrderCancelResponse.ProtoReflect.Descriptor instead.
func (*SendVenueOrderCancelResponse) ProtoMessage ¶
func (*SendVenueOrderCancelResponse) ProtoMessage()
func (*SendVenueOrderCancelResponse) ProtoReflect ¶
func (x *SendVenueOrderCancelResponse) ProtoReflect() protoreflect.Message
func (*SendVenueOrderCancelResponse) Reset ¶
func (x *SendVenueOrderCancelResponse) Reset()
func (*SendVenueOrderCancelResponse) String ¶
func (x *SendVenueOrderCancelResponse) String() string
func (*SendVenueOrderCancelResponse) Validate ¶
func (m *SendVenueOrderCancelResponse) Validate() error
Validate checks the field values on SendVenueOrderCancelResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendVenueOrderCancelResponse) ValidateAll ¶
func (m *SendVenueOrderCancelResponse) ValidateAll() error
ValidateAll checks the field values on SendVenueOrderCancelResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendVenueOrderCancelResponseMultiError, or nil if none found.
type SendVenueOrderCancelResponseMultiError ¶
type SendVenueOrderCancelResponseMultiError []error
SendVenueOrderCancelResponseMultiError is an error wrapping multiple validation errors returned by SendVenueOrderCancelResponse.ValidateAll() if the designated constraints aren't met.
func (SendVenueOrderCancelResponseMultiError) AllErrors ¶
func (m SendVenueOrderCancelResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendVenueOrderCancelResponseMultiError) Error ¶
func (m SendVenueOrderCancelResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendVenueOrderCancelResponseValidationError ¶
type SendVenueOrderCancelResponseValidationError struct {
// contains filtered or unexported fields
}
SendVenueOrderCancelResponseValidationError is the validation error returned by SendVenueOrderCancelResponse.Validate if the designated constraints aren't met.
func (SendVenueOrderCancelResponseValidationError) Cause ¶
func (e SendVenueOrderCancelResponseValidationError) Cause() error
Cause function returns cause value.
func (SendVenueOrderCancelResponseValidationError) Error ¶
func (e SendVenueOrderCancelResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendVenueOrderCancelResponseValidationError) ErrorName ¶
func (e SendVenueOrderCancelResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendVenueOrderCancelResponseValidationError) Field ¶
func (e SendVenueOrderCancelResponseValidationError) Field() string
Field function returns field value.
func (SendVenueOrderCancelResponseValidationError) Key ¶
func (e SendVenueOrderCancelResponseValidationError) Key() bool
Key function returns key value.
func (SendVenueOrderCancelResponseValidationError) Reason ¶
func (e SendVenueOrderCancelResponseValidationError) Reason() string
Reason function returns reason value.
type SendVenueOrderRequest ¶
type SendVenueOrderRequest struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*SendVenueOrderRequest) Descriptor
deprecated
func (*SendVenueOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendVenueOrderRequest.ProtoReflect.Descriptor instead.
func (*SendVenueOrderRequest) GetOrderId ¶
func (x *SendVenueOrderRequest) GetOrderId() string
func (*SendVenueOrderRequest) ProtoMessage ¶
func (*SendVenueOrderRequest) ProtoMessage()
func (*SendVenueOrderRequest) ProtoReflect ¶
func (x *SendVenueOrderRequest) ProtoReflect() protoreflect.Message
func (*SendVenueOrderRequest) Reset ¶
func (x *SendVenueOrderRequest) Reset()
func (*SendVenueOrderRequest) String ¶
func (x *SendVenueOrderRequest) String() string
func (*SendVenueOrderRequest) Validate ¶
func (m *SendVenueOrderRequest) Validate() error
Validate checks the field values on SendVenueOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendVenueOrderRequest) ValidateAll ¶
func (m *SendVenueOrderRequest) ValidateAll() error
ValidateAll checks the field values on SendVenueOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendVenueOrderRequestMultiError, or nil if none found.
type SendVenueOrderRequestMultiError ¶
type SendVenueOrderRequestMultiError []error
SendVenueOrderRequestMultiError is an error wrapping multiple validation errors returned by SendVenueOrderRequest.ValidateAll() if the designated constraints aren't met.
func (SendVenueOrderRequestMultiError) AllErrors ¶
func (m SendVenueOrderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendVenueOrderRequestMultiError) Error ¶
func (m SendVenueOrderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendVenueOrderRequestValidationError ¶
type SendVenueOrderRequestValidationError struct {
// contains filtered or unexported fields
}
SendVenueOrderRequestValidationError is the validation error returned by SendVenueOrderRequest.Validate if the designated constraints aren't met.
func (SendVenueOrderRequestValidationError) Cause ¶
func (e SendVenueOrderRequestValidationError) Cause() error
Cause function returns cause value.
func (SendVenueOrderRequestValidationError) Error ¶
func (e SendVenueOrderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendVenueOrderRequestValidationError) ErrorName ¶
func (e SendVenueOrderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendVenueOrderRequestValidationError) Field ¶
func (e SendVenueOrderRequestValidationError) Field() string
Field function returns field value.
func (SendVenueOrderRequestValidationError) Key ¶
func (e SendVenueOrderRequestValidationError) Key() bool
Key function returns key value.
func (SendVenueOrderRequestValidationError) Reason ¶
func (e SendVenueOrderRequestValidationError) Reason() string
Reason function returns reason value.
type SendVenueOrderResponse ¶
type SendVenueOrderResponse struct {
// contains filtered or unexported fields
}
func (*SendVenueOrderResponse) Descriptor
deprecated
func (*SendVenueOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendVenueOrderResponse.ProtoReflect.Descriptor instead.
func (*SendVenueOrderResponse) ProtoMessage ¶
func (*SendVenueOrderResponse) ProtoMessage()
func (*SendVenueOrderResponse) ProtoReflect ¶
func (x *SendVenueOrderResponse) ProtoReflect() protoreflect.Message
func (*SendVenueOrderResponse) Reset ¶
func (x *SendVenueOrderResponse) Reset()
func (*SendVenueOrderResponse) String ¶
func (x *SendVenueOrderResponse) String() string
func (*SendVenueOrderResponse) Validate ¶
func (m *SendVenueOrderResponse) Validate() error
Validate checks the field values on SendVenueOrderResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendVenueOrderResponse) ValidateAll ¶
func (m *SendVenueOrderResponse) ValidateAll() error
ValidateAll checks the field values on SendVenueOrderResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendVenueOrderResponseMultiError, or nil if none found.
type SendVenueOrderResponseMultiError ¶
type SendVenueOrderResponseMultiError []error
SendVenueOrderResponseMultiError is an error wrapping multiple validation errors returned by SendVenueOrderResponse.ValidateAll() if the designated constraints aren't met.
func (SendVenueOrderResponseMultiError) AllErrors ¶
func (m SendVenueOrderResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendVenueOrderResponseMultiError) Error ¶
func (m SendVenueOrderResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendVenueOrderResponseValidationError ¶
type SendVenueOrderResponseValidationError struct {
// contains filtered or unexported fields
}
SendVenueOrderResponseValidationError is the validation error returned by SendVenueOrderResponse.Validate if the designated constraints aren't met.
func (SendVenueOrderResponseValidationError) Cause ¶
func (e SendVenueOrderResponseValidationError) Cause() error
Cause function returns cause value.
func (SendVenueOrderResponseValidationError) Error ¶
func (e SendVenueOrderResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendVenueOrderResponseValidationError) ErrorName ¶
func (e SendVenueOrderResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendVenueOrderResponseValidationError) Field ¶
func (e SendVenueOrderResponseValidationError) Field() string
Field function returns field value.
func (SendVenueOrderResponseValidationError) Key ¶
func (e SendVenueOrderResponseValidationError) Key() bool
Key function returns key value.
func (SendVenueOrderResponseValidationError) Reason ¶
func (e SendVenueOrderResponseValidationError) Reason() string
Reason function returns reason value.
type SortDirection ¶
type SortDirection int32
const ( SortDirection_SORT_DIRECTION_UNSPECIFIED SortDirection = 0 SortDirection_SORT_DIRECTION_ASC SortDirection = 1 SortDirection_SORT_DIRECTION_DESC SortDirection = 2 )
func (SortDirection) Descriptor ¶
func (SortDirection) Descriptor() protoreflect.EnumDescriptor
func (SortDirection) Enum ¶
func (x SortDirection) Enum() *SortDirection
func (SortDirection) EnumDescriptor
deprecated
func (SortDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use SortDirection.Descriptor instead.
func (SortDirection) Number ¶
func (x SortDirection) Number() protoreflect.EnumNumber
func (SortDirection) String ¶
func (x SortDirection) String() string
func (SortDirection) Type ¶
func (SortDirection) Type() protoreflect.EnumType
type UnimplementedOrderServiceServer ¶
type UnimplementedOrderServiceServer struct { }
UnimplementedOrderServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrderServiceServer) CreateOrder ¶
func (UnimplementedOrderServiceServer) CreateOrder(context.Context, *CreateOrderRequest) (*CreateOrderResponse, error)
func (UnimplementedOrderServiceServer) ListOrders ¶
func (UnimplementedOrderServiceServer) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
func (UnimplementedOrderServiceServer) ReadOrder ¶
func (UnimplementedOrderServiceServer) ReadOrder(context.Context, *ReadOrderRequest) (*ReadOrderResponse, error)
func (UnimplementedOrderServiceServer) SendVenueOrder ¶
func (UnimplementedOrderServiceServer) SendVenueOrder(context.Context, *SendVenueOrderRequest) (*SendVenueOrderResponse, error)
func (UnimplementedOrderServiceServer) SendVenueOrderCancel ¶
func (UnimplementedOrderServiceServer) SendVenueOrderCancel(context.Context, *SendVenueOrderCancelRequest) (*SendVenueOrderCancelResponse, error)
func (UnimplementedOrderServiceServer) UpdateOrder ¶
func (UnimplementedOrderServiceServer) UpdateOrder(context.Context, *UpdateOrderRequest) (*UpdateOrderResponse, error)
func (UnimplementedOrderServiceServer) UpdateOrderFeed ¶
func (UnimplementedOrderServiceServer) UpdateOrderFeed(context.Context, *UpdateOrderFeedRequest) (*UpdateOrderFeedResponse, error)
type UnsafeOrderServiceServer ¶
type UnsafeOrderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrderServiceServer will result in compilation errors.
type UpdateOrderFeedRequest ¶
type UpdateOrderFeedRequest struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` ClientOrderId string `protobuf:"bytes,2,opt,name=client_order_id,json=clientOrderId,proto3" json:"client_order_id,omitempty"` CumQty string `protobuf:"bytes,3,opt,name=cum_qty,json=cumQty,proto3" json:"cum_qty,omitempty"` LeavesQty string `protobuf:"bytes,4,opt,name=leaves_qty,json=leavesQty,proto3" json:"leaves_qty,omitempty"` AvgPx string `protobuf:"bytes,5,opt,name=avg_px,json=avgPx,proto3" json:"avg_px,omitempty"` Fees string `protobuf:"bytes,6,opt,name=fees,proto3" json:"fees,omitempty"` Status OrderStatus `protobuf:"varint,7,opt,name=status,proto3,enum=pkg.pbs.order.v1.OrderStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrderFeedRequest) Descriptor
deprecated
func (*UpdateOrderFeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrderFeedRequest.ProtoReflect.Descriptor instead.
func (*UpdateOrderFeedRequest) GetAvgPx ¶
func (x *UpdateOrderFeedRequest) GetAvgPx() string
func (*UpdateOrderFeedRequest) GetClientOrderId ¶
func (x *UpdateOrderFeedRequest) GetClientOrderId() string
func (*UpdateOrderFeedRequest) GetCumQty ¶
func (x *UpdateOrderFeedRequest) GetCumQty() string
func (*UpdateOrderFeedRequest) GetFees ¶
func (x *UpdateOrderFeedRequest) GetFees() string
func (*UpdateOrderFeedRequest) GetLeavesQty ¶
func (x *UpdateOrderFeedRequest) GetLeavesQty() string
func (*UpdateOrderFeedRequest) GetOrderId ¶
func (x *UpdateOrderFeedRequest) GetOrderId() string
func (*UpdateOrderFeedRequest) GetStatus ¶
func (x *UpdateOrderFeedRequest) GetStatus() OrderStatus
func (*UpdateOrderFeedRequest) ProtoMessage ¶
func (*UpdateOrderFeedRequest) ProtoMessage()
func (*UpdateOrderFeedRequest) ProtoReflect ¶
func (x *UpdateOrderFeedRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrderFeedRequest) Reset ¶
func (x *UpdateOrderFeedRequest) Reset()
func (*UpdateOrderFeedRequest) String ¶
func (x *UpdateOrderFeedRequest) String() string
func (*UpdateOrderFeedRequest) Validate ¶
func (m *UpdateOrderFeedRequest) Validate() error
Validate checks the field values on UpdateOrderFeedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateOrderFeedRequest) ValidateAll ¶
func (m *UpdateOrderFeedRequest) ValidateAll() error
ValidateAll checks the field values on UpdateOrderFeedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateOrderFeedRequestMultiError, or nil if none found.
type UpdateOrderFeedRequestMultiError ¶
type UpdateOrderFeedRequestMultiError []error
UpdateOrderFeedRequestMultiError is an error wrapping multiple validation errors returned by UpdateOrderFeedRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateOrderFeedRequestMultiError) AllErrors ¶
func (m UpdateOrderFeedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateOrderFeedRequestMultiError) Error ¶
func (m UpdateOrderFeedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateOrderFeedRequestValidationError ¶
type UpdateOrderFeedRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateOrderFeedRequestValidationError is the validation error returned by UpdateOrderFeedRequest.Validate if the designated constraints aren't met.
func (UpdateOrderFeedRequestValidationError) Cause ¶
func (e UpdateOrderFeedRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateOrderFeedRequestValidationError) Error ¶
func (e UpdateOrderFeedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateOrderFeedRequestValidationError) ErrorName ¶
func (e UpdateOrderFeedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateOrderFeedRequestValidationError) Field ¶
func (e UpdateOrderFeedRequestValidationError) Field() string
Field function returns field value.
func (UpdateOrderFeedRequestValidationError) Key ¶
func (e UpdateOrderFeedRequestValidationError) Key() bool
Key function returns key value.
func (UpdateOrderFeedRequestValidationError) Reason ¶
func (e UpdateOrderFeedRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateOrderFeedResponse ¶
type UpdateOrderFeedResponse struct {
// contains filtered or unexported fields
}
func (*UpdateOrderFeedResponse) Descriptor
deprecated
func (*UpdateOrderFeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrderFeedResponse.ProtoReflect.Descriptor instead.
func (*UpdateOrderFeedResponse) ProtoMessage ¶
func (*UpdateOrderFeedResponse) ProtoMessage()
func (*UpdateOrderFeedResponse) ProtoReflect ¶
func (x *UpdateOrderFeedResponse) ProtoReflect() protoreflect.Message
func (*UpdateOrderFeedResponse) Reset ¶
func (x *UpdateOrderFeedResponse) Reset()
func (*UpdateOrderFeedResponse) String ¶
func (x *UpdateOrderFeedResponse) String() string
func (*UpdateOrderFeedResponse) Validate ¶
func (m *UpdateOrderFeedResponse) Validate() error
Validate checks the field values on UpdateOrderFeedResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateOrderFeedResponse) ValidateAll ¶
func (m *UpdateOrderFeedResponse) ValidateAll() error
ValidateAll checks the field values on UpdateOrderFeedResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateOrderFeedResponseMultiError, or nil if none found.
type UpdateOrderFeedResponseMultiError ¶
type UpdateOrderFeedResponseMultiError []error
UpdateOrderFeedResponseMultiError is an error wrapping multiple validation errors returned by UpdateOrderFeedResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateOrderFeedResponseMultiError) AllErrors ¶
func (m UpdateOrderFeedResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateOrderFeedResponseMultiError) Error ¶
func (m UpdateOrderFeedResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateOrderFeedResponseValidationError ¶
type UpdateOrderFeedResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateOrderFeedResponseValidationError is the validation error returned by UpdateOrderFeedResponse.Validate if the designated constraints aren't met.
func (UpdateOrderFeedResponseValidationError) Cause ¶
func (e UpdateOrderFeedResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateOrderFeedResponseValidationError) Error ¶
func (e UpdateOrderFeedResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateOrderFeedResponseValidationError) ErrorName ¶
func (e UpdateOrderFeedResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateOrderFeedResponseValidationError) Field ¶
func (e UpdateOrderFeedResponseValidationError) Field() string
Field function returns field value.
func (UpdateOrderFeedResponseValidationError) Key ¶
func (e UpdateOrderFeedResponseValidationError) Key() bool
Key function returns key value.
func (UpdateOrderFeedResponseValidationError) Reason ¶
func (e UpdateOrderFeedResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateOrderRequest ¶
type UpdateOrderRequest struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` Status OrderStatus `protobuf:"varint,2,opt,name=status,proto3,enum=pkg.pbs.order.v1.OrderStatus" json:"status,omitempty"` FilledQuantity string `protobuf:"bytes,3,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"` FilledValue string `protobuf:"bytes,4,opt,name=filled_value,json=filledValue,proto3" json:"filled_value,omitempty"` AverageFilledPrice string `protobuf:"bytes,5,opt,name=average_filled_price,json=averageFilledPrice,proto3" json:"average_filled_price,omitempty"` Commission string `protobuf:"bytes,6,opt,name=commission,proto3" json:"commission,omitempty"` ExchangeFee string `protobuf:"bytes,7,opt,name=exchange_fee,json=exchangeFee,proto3" json:"exchange_fee,omitempty"` CancelReason string `protobuf:"bytes,8,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty"` FailureReason string `protobuf:"bytes,9,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrderRequest) Descriptor
deprecated
func (*UpdateOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrderRequest.ProtoReflect.Descriptor instead.
func (*UpdateOrderRequest) GetAverageFilledPrice ¶
func (x *UpdateOrderRequest) GetAverageFilledPrice() string
func (*UpdateOrderRequest) GetCancelReason ¶
func (x *UpdateOrderRequest) GetCancelReason() string
func (*UpdateOrderRequest) GetCommission ¶
func (x *UpdateOrderRequest) GetCommission() string
func (*UpdateOrderRequest) GetExchangeFee ¶
func (x *UpdateOrderRequest) GetExchangeFee() string
func (*UpdateOrderRequest) GetFailureReason ¶
func (x *UpdateOrderRequest) GetFailureReason() string
func (*UpdateOrderRequest) GetFilledQuantity ¶
func (x *UpdateOrderRequest) GetFilledQuantity() string
func (*UpdateOrderRequest) GetFilledValue ¶
func (x *UpdateOrderRequest) GetFilledValue() string
func (*UpdateOrderRequest) GetOrderId ¶
func (x *UpdateOrderRequest) GetOrderId() string
func (*UpdateOrderRequest) GetStatus ¶
func (x *UpdateOrderRequest) GetStatus() OrderStatus
func (*UpdateOrderRequest) ProtoMessage ¶
func (*UpdateOrderRequest) ProtoMessage()
func (*UpdateOrderRequest) ProtoReflect ¶
func (x *UpdateOrderRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrderRequest) Reset ¶
func (x *UpdateOrderRequest) Reset()
func (*UpdateOrderRequest) String ¶
func (x *UpdateOrderRequest) String() string
func (*UpdateOrderRequest) Validate ¶
func (m *UpdateOrderRequest) Validate() error
Validate checks the field values on UpdateOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateOrderRequest) ValidateAll ¶
func (m *UpdateOrderRequest) ValidateAll() error
ValidateAll checks the field values on UpdateOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateOrderRequestMultiError, or nil if none found.
type UpdateOrderRequestMultiError ¶
type UpdateOrderRequestMultiError []error
UpdateOrderRequestMultiError is an error wrapping multiple validation errors returned by UpdateOrderRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateOrderRequestMultiError) AllErrors ¶
func (m UpdateOrderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateOrderRequestMultiError) Error ¶
func (m UpdateOrderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateOrderRequestValidationError ¶
type UpdateOrderRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateOrderRequestValidationError is the validation error returned by UpdateOrderRequest.Validate if the designated constraints aren't met.
func (UpdateOrderRequestValidationError) Cause ¶
func (e UpdateOrderRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateOrderRequestValidationError) Error ¶
func (e UpdateOrderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateOrderRequestValidationError) ErrorName ¶
func (e UpdateOrderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateOrderRequestValidationError) Field ¶
func (e UpdateOrderRequestValidationError) Field() string
Field function returns field value.
func (UpdateOrderRequestValidationError) Key ¶
func (e UpdateOrderRequestValidationError) Key() bool
Key function returns key value.
func (UpdateOrderRequestValidationError) Reason ¶
func (e UpdateOrderRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateOrderResponse ¶
type UpdateOrderResponse struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Side OrderSide `protobuf:"varint,4,opt,name=side,proto3,enum=pkg.pbs.order.v1.OrderSide" json:"side,omitempty"` Type OrderType `protobuf:"varint,5,opt,name=type,proto3,enum=pkg.pbs.order.v1.OrderType" json:"type,omitempty"` Quantity string `protobuf:"bytes,6,opt,name=quantity,proto3" json:"quantity,omitempty"` LimitPrice string `protobuf:"bytes,7,opt,name=limit_price,json=limitPrice,proto3" json:"limit_price,omitempty"` TimeInForce OrderTimeInForce `` /* 136-byte string literal not displayed */ Status OrderStatus `protobuf:"varint,9,opt,name=status,proto3,enum=pkg.pbs.order.v1.OrderStatus" json:"status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` FilledQuantity string `protobuf:"bytes,12,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"` FilledValue string `protobuf:"bytes,13,opt,name=filled_value,json=filledValue,proto3" json:"filled_value,omitempty"` AverageFilledPrice string `protobuf:"bytes,14,opt,name=average_filled_price,json=averageFilledPrice,proto3" json:"average_filled_price,omitempty"` Commission string `protobuf:"bytes,15,opt,name=commission,proto3" json:"commission,omitempty"` ExchangeFee string `protobuf:"bytes,16,opt,name=exchange_fee,json=exchangeFee,proto3" json:"exchange_fee,omitempty"` CancelReason string `protobuf:"bytes,17,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty"` FailureReason string `protobuf:"bytes,18,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrderResponse) Descriptor
deprecated
func (*UpdateOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrderResponse.ProtoReflect.Descriptor instead.
func (*UpdateOrderResponse) GetAverageFilledPrice ¶
func (x *UpdateOrderResponse) GetAverageFilledPrice() string
func (*UpdateOrderResponse) GetCancelReason ¶
func (x *UpdateOrderResponse) GetCancelReason() string
func (*UpdateOrderResponse) GetCommission ¶
func (x *UpdateOrderResponse) GetCommission() string
func (*UpdateOrderResponse) GetCreatedAt ¶
func (x *UpdateOrderResponse) GetCreatedAt() *timestamppb.Timestamp
func (*UpdateOrderResponse) GetExchangeFee ¶
func (x *UpdateOrderResponse) GetExchangeFee() string
func (*UpdateOrderResponse) GetFailureReason ¶
func (x *UpdateOrderResponse) GetFailureReason() string
func (*UpdateOrderResponse) GetFilledQuantity ¶
func (x *UpdateOrderResponse) GetFilledQuantity() string
func (*UpdateOrderResponse) GetFilledValue ¶
func (x *UpdateOrderResponse) GetFilledValue() string
func (*UpdateOrderResponse) GetLimitPrice ¶
func (x *UpdateOrderResponse) GetLimitPrice() string
func (*UpdateOrderResponse) GetOrderId ¶
func (x *UpdateOrderResponse) GetOrderId() string
func (*UpdateOrderResponse) GetOwnerId ¶
func (x *UpdateOrderResponse) GetOwnerId() string
func (*UpdateOrderResponse) GetProductId ¶
func (x *UpdateOrderResponse) GetProductId() string
func (*UpdateOrderResponse) GetQuantity ¶
func (x *UpdateOrderResponse) GetQuantity() string
func (*UpdateOrderResponse) GetSide ¶
func (x *UpdateOrderResponse) GetSide() OrderSide
func (*UpdateOrderResponse) GetStatus ¶
func (x *UpdateOrderResponse) GetStatus() OrderStatus
func (*UpdateOrderResponse) GetTimeInForce ¶
func (x *UpdateOrderResponse) GetTimeInForce() OrderTimeInForce
func (*UpdateOrderResponse) GetType ¶
func (x *UpdateOrderResponse) GetType() OrderType
func (*UpdateOrderResponse) GetUpdatedAt ¶
func (x *UpdateOrderResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*UpdateOrderResponse) ProtoMessage ¶
func (*UpdateOrderResponse) ProtoMessage()
func (*UpdateOrderResponse) ProtoReflect ¶
func (x *UpdateOrderResponse) ProtoReflect() protoreflect.Message
func (*UpdateOrderResponse) Reset ¶
func (x *UpdateOrderResponse) Reset()
func (*UpdateOrderResponse) String ¶
func (x *UpdateOrderResponse) String() string
func (*UpdateOrderResponse) Validate ¶
func (m *UpdateOrderResponse) Validate() error
Validate checks the field values on UpdateOrderResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateOrderResponse) ValidateAll ¶
func (m *UpdateOrderResponse) ValidateAll() error
ValidateAll checks the field values on UpdateOrderResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateOrderResponseMultiError, or nil if none found.
type UpdateOrderResponseMultiError ¶
type UpdateOrderResponseMultiError []error
UpdateOrderResponseMultiError is an error wrapping multiple validation errors returned by UpdateOrderResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateOrderResponseMultiError) AllErrors ¶
func (m UpdateOrderResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateOrderResponseMultiError) Error ¶
func (m UpdateOrderResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateOrderResponseValidationError ¶
type UpdateOrderResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateOrderResponseValidationError is the validation error returned by UpdateOrderResponse.Validate if the designated constraints aren't met.
func (UpdateOrderResponseValidationError) Cause ¶
func (e UpdateOrderResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateOrderResponseValidationError) Error ¶
func (e UpdateOrderResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateOrderResponseValidationError) ErrorName ¶
func (e UpdateOrderResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateOrderResponseValidationError) Field ¶
func (e UpdateOrderResponseValidationError) Field() string
Field function returns field value.
func (UpdateOrderResponseValidationError) Key ¶
func (e UpdateOrderResponseValidationError) Key() bool
Key function returns key value.
func (UpdateOrderResponseValidationError) Reason ¶
func (e UpdateOrderResponseValidationError) Reason() string
Reason function returns reason value.