Documentation ¶
Index ¶
- Variables
- func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)
- type CancelRequest
- type CancelResponse
- type CompleteRequest
- type CompleteResponse
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetApplicationIds() []int32
- func (x *CreateRequest) GetProducts() []*ProductOrder
- func (x *CreateRequest) GetSupplierId() int32
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- type Distribution
- func (*Distribution) Descriptor() ([]byte, []int)deprecated
- func (x *Distribution) GetProductId() int32
- func (x *Distribution) GetQuantity() int32
- func (x *Distribution) GetTradingPointId() int32
- func (x *Distribution) GetTradingPointType() tradingpoint.TradingPointType
- func (*Distribution) ProtoMessage()
- func (x *Distribution) ProtoReflect() protoreflect.Message
- func (x *Distribution) Reset()
- func (x *Distribution) String() string
- type ListRequest
- type ListResponse
- type Order
- func (*Order) Descriptor() ([]byte, []int)deprecated
- func (x *Order) GetCanceledAt() *timestamppb.Timestamp
- func (x *Order) GetCompletedAt() *timestamppb.Timestamp
- func (x *Order) GetCreatedAt() *timestamppb.Timestamp
- func (x *Order) GetDistributions() []*Distribution
- func (x *Order) GetId() int32
- func (x *Order) GetProducts() []*ProductOrder
- func (x *Order) GetStatus() OrderStatus
- func (x *Order) GetSupplierId() int32
- func (*Order) ProtoMessage()
- func (x *Order) ProtoReflect() protoreflect.Message
- func (x *Order) Reset()
- func (x *Order) String() string
- type OrderRequest
- type OrderResponse
- type OrderServiceClient
- type OrderServiceServer
- 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 ProductOrder
- func (*ProductOrder) Descriptor() ([]byte, []int)deprecated
- func (x *ProductOrder) GetPrice() *core.Money
- func (x *ProductOrder) GetProductId() int32
- func (x *ProductOrder) GetQuantity() int32
- func (*ProductOrder) ProtoMessage()
- func (x *ProductOrder) ProtoReflect() protoreflect.Message
- func (x *ProductOrder) Reset()
- func (x *ProductOrder) String() string
- type UnimplementedOrderServiceServer
- func (UnimplementedOrderServiceServer) Cancel(context.Context, *CancelRequest) (*CancelResponse, error)
- func (UnimplementedOrderServiceServer) Complete(context.Context, *CompleteRequest) (*CompleteResponse, error)
- func (UnimplementedOrderServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedOrderServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedOrderServiceServer) Order(context.Context, *OrderRequest) (*OrderResponse, error)
- func (UnimplementedOrderServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeOrderServiceServer
- type UpdateRequest
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
var ( OrderStatus_name = map[int32]string{ 0: "ORDER_STATUS_COMPLETED", 1: "ORDER_STATUS_CANCELLED", 2: "ORDER_STATUS_IN_PROGRESS", } OrderStatus_value = map[string]int32{ "ORDER_STATUS_COMPLETED": 0, "ORDER_STATUS_CANCELLED": 1, "ORDER_STATUS_IN_PROGRESS": 2, } )
Enum value maps for OrderStatus.
var File_order_order_proto protoreflect.FileDescriptor
var OrderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "order.OrderService", HandlerType: (*OrderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _OrderService_Create_Handler, }, { MethodName: "List", Handler: _OrderService_List_Handler, }, { MethodName: "Order", Handler: _OrderService_Order_Handler, }, { MethodName: "Update", Handler: _OrderService_Update_Handler, }, { MethodName: "Cancel", Handler: _OrderService_Cancel_Handler, }, { MethodName: "Complete", Handler: _OrderService_Complete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "order/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 RegisterOrderServiceServer ¶
func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)
Types ¶
type CancelRequest ¶ added in v0.0.46
type CancelRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CancelRequest) Descriptor
deprecated
added in
v0.0.46
func (*CancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.
func (*CancelRequest) GetId ¶ added in v0.0.46
func (x *CancelRequest) GetId() int32
func (*CancelRequest) ProtoMessage ¶ added in v0.0.46
func (*CancelRequest) ProtoMessage()
func (*CancelRequest) ProtoReflect ¶ added in v0.0.46
func (x *CancelRequest) ProtoReflect() protoreflect.Message
func (*CancelRequest) Reset ¶ added in v0.0.46
func (x *CancelRequest) Reset()
func (*CancelRequest) String ¶ added in v0.0.46
func (x *CancelRequest) String() string
type CancelResponse ¶ added in v0.0.46
type CancelResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CancelResponse) Descriptor
deprecated
added in
v0.0.46
func (*CancelResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelResponse.ProtoReflect.Descriptor instead.
func (*CancelResponse) GetId ¶ added in v0.0.46
func (x *CancelResponse) GetId() int32
func (*CancelResponse) ProtoMessage ¶ added in v0.0.46
func (*CancelResponse) ProtoMessage()
func (*CancelResponse) ProtoReflect ¶ added in v0.0.46
func (x *CancelResponse) ProtoReflect() protoreflect.Message
func (*CancelResponse) Reset ¶ added in v0.0.46
func (x *CancelResponse) Reset()
func (*CancelResponse) String ¶ added in v0.0.46
func (x *CancelResponse) String() string
type CompleteRequest ¶ added in v0.0.46
type CompleteRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CompleteRequest) Descriptor
deprecated
added in
v0.0.46
func (*CompleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteRequest.ProtoReflect.Descriptor instead.
func (*CompleteRequest) GetId ¶ added in v0.0.46
func (x *CompleteRequest) GetId() int32
func (*CompleteRequest) ProtoMessage ¶ added in v0.0.46
func (*CompleteRequest) ProtoMessage()
func (*CompleteRequest) ProtoReflect ¶ added in v0.0.46
func (x *CompleteRequest) ProtoReflect() protoreflect.Message
func (*CompleteRequest) Reset ¶ added in v0.0.46
func (x *CompleteRequest) Reset()
func (*CompleteRequest) String ¶ added in v0.0.46
func (x *CompleteRequest) String() string
type CompleteResponse ¶ added in v0.0.46
type CompleteResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CompleteResponse) Descriptor
deprecated
added in
v0.0.46
func (*CompleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompleteResponse.ProtoReflect.Descriptor instead.
func (*CompleteResponse) GetId ¶ added in v0.0.46
func (x *CompleteResponse) GetId() int32
func (*CompleteResponse) ProtoMessage ¶ added in v0.0.46
func (*CompleteResponse) ProtoMessage()
func (*CompleteResponse) ProtoReflect ¶ added in v0.0.46
func (x *CompleteResponse) ProtoReflect() protoreflect.Message
func (*CompleteResponse) Reset ¶ added in v0.0.46
func (x *CompleteResponse) Reset()
func (*CompleteResponse) String ¶ added in v0.0.46
func (x *CompleteResponse) String() string
type CreateRequest ¶
type CreateRequest struct { SupplierId int32 `protobuf:"varint,1,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"` Products []*ProductOrder `protobuf:"bytes,3,rep,name=products,proto3" json:"products,omitempty"` ApplicationIds []int32 `protobuf:"varint,4,rep,packed,name=application_ids,json=applicationIds,proto3" json:"application_ids,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetApplicationIds ¶ added in v0.0.45
func (x *CreateRequest) GetApplicationIds() []int32
func (*CreateRequest) GetProducts ¶
func (x *CreateRequest) GetProducts() []*ProductOrder
func (*CreateRequest) GetSupplierId ¶
func (x *CreateRequest) GetSupplierId() int32
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetId ¶
func (x *CreateResponse) GetId() int32
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type Distribution ¶ added in v0.0.44
type Distribution struct { TradingPointId int32 `protobuf:"varint,1,opt,name=trading_point_id,json=tradingPointId,proto3" json:"trading_point_id,omitempty"` TradingPointType tradingpoint.TradingPointType `` /* 147-byte string literal not displayed */ ProductId int32 `protobuf:"varint,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Quantity int32 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` // contains filtered or unexported fields }
func (*Distribution) Descriptor
deprecated
added in
v0.0.44
func (*Distribution) Descriptor() ([]byte, []int)
Deprecated: Use Distribution.ProtoReflect.Descriptor instead.
func (*Distribution) GetProductId ¶ added in v0.0.44
func (x *Distribution) GetProductId() int32
func (*Distribution) GetQuantity ¶ added in v0.0.44
func (x *Distribution) GetQuantity() int32
func (*Distribution) GetTradingPointId ¶ added in v0.0.44
func (x *Distribution) GetTradingPointId() int32
func (*Distribution) GetTradingPointType ¶ added in v0.0.44
func (x *Distribution) GetTradingPointType() tradingpoint.TradingPointType
func (*Distribution) ProtoMessage ¶ added in v0.0.44
func (*Distribution) ProtoMessage()
func (*Distribution) ProtoReflect ¶ added in v0.0.44
func (x *Distribution) ProtoReflect() protoreflect.Message
func (*Distribution) Reset ¶ added in v0.0.44
func (x *Distribution) Reset()
func (*Distribution) String ¶ added in v0.0.44
func (x *Distribution) String() string
type ListRequest ¶ added in v0.0.42
type ListRequest struct {
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
added in
v0.0.42
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) ProtoMessage ¶ added in v0.0.42
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶ added in v0.0.42
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶ added in v0.0.42
func (x *ListRequest) Reset()
func (*ListRequest) String ¶ added in v0.0.42
func (x *ListRequest) String() string
type ListResponse ¶ added in v0.0.42
type ListResponse struct { Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
added in
v0.0.42
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetOrders ¶ added in v0.0.43
func (x *ListResponse) GetOrders() []*Order
func (*ListResponse) ProtoMessage ¶ added in v0.0.42
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶ added in v0.0.42
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶ added in v0.0.42
func (x *ListResponse) Reset()
func (*ListResponse) String ¶ added in v0.0.42
func (x *ListResponse) String() string
type Order ¶
type Order struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` SupplierId int32 `protobuf:"varint,2,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Status OrderStatus `protobuf:"varint,4,opt,name=status,proto3,enum=order.OrderStatus" json:"status,omitempty"` CompletedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=completed_at,json=completedAt,proto3,oneof" json:"completed_at,omitempty"` CanceledAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=canceled_at,json=canceledAt,proto3,oneof" json:"canceled_at,omitempty"` Products []*ProductOrder `protobuf:"bytes,7,rep,name=products,proto3" json:"products,omitempty"` Distributions []*Distribution `protobuf:"bytes,8,rep,name=distributions,proto3" json:"distributions,omitempty"` // contains filtered or unexported fields }
func (*Order) Descriptor
deprecated
func (*Order) GetCanceledAt ¶
func (x *Order) GetCanceledAt() *timestamppb.Timestamp
func (*Order) GetCompletedAt ¶
func (x *Order) GetCompletedAt() *timestamppb.Timestamp
func (*Order) GetCreatedAt ¶
func (x *Order) GetCreatedAt() *timestamppb.Timestamp
func (*Order) GetDistributions ¶ added in v0.0.44
func (x *Order) GetDistributions() []*Distribution
func (*Order) GetProducts ¶ added in v0.0.42
func (x *Order) GetProducts() []*ProductOrder
func (*Order) GetStatus ¶
func (x *Order) GetStatus() OrderStatus
func (*Order) GetSupplierId ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
type OrderRequest ¶ added in v0.0.42
type OrderRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*OrderRequest) Descriptor
deprecated
added in
v0.0.42
func (*OrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrderRequest.ProtoReflect.Descriptor instead.
func (*OrderRequest) GetId ¶ added in v0.0.42
func (x *OrderRequest) GetId() int32
func (*OrderRequest) ProtoMessage ¶ added in v0.0.42
func (*OrderRequest) ProtoMessage()
func (*OrderRequest) ProtoReflect ¶ added in v0.0.42
func (x *OrderRequest) ProtoReflect() protoreflect.Message
func (*OrderRequest) Reset ¶ added in v0.0.42
func (x *OrderRequest) Reset()
func (*OrderRequest) String ¶ added in v0.0.42
func (x *OrderRequest) String() string
type OrderResponse ¶ added in v0.0.42
type OrderResponse struct { Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` // contains filtered or unexported fields }
func (*OrderResponse) Descriptor
deprecated
added in
v0.0.42
func (*OrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use OrderResponse.ProtoReflect.Descriptor instead.
func (*OrderResponse) GetOrder ¶ added in v0.0.42
func (x *OrderResponse) GetOrder() *Order
func (*OrderResponse) ProtoMessage ¶ added in v0.0.42
func (*OrderResponse) ProtoMessage()
func (*OrderResponse) ProtoReflect ¶ added in v0.0.42
func (x *OrderResponse) ProtoReflect() protoreflect.Message
func (*OrderResponse) Reset ¶ added in v0.0.42
func (x *OrderResponse) Reset()
func (*OrderResponse) String ¶ added in v0.0.42
func (x *OrderResponse) String() string
type OrderServiceClient ¶
type OrderServiceClient interface { Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Order(ctx context.Context, in *OrderRequest, opts ...grpc.CallOption) (*OrderResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) Cancel(ctx context.Context, in *CancelRequest, opts ...grpc.CallOption) (*CancelResponse, error) Complete(ctx context.Context, in *CompleteRequest, opts ...grpc.CallOption) (*CompleteResponse, 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 { Create(context.Context, *CreateRequest) (*CreateResponse, error) List(context.Context, *ListRequest) (*ListResponse, error) Order(context.Context, *OrderRequest) (*OrderResponse, error) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) Cancel(context.Context, *CancelRequest) (*CancelResponse, error) Complete(context.Context, *CompleteRequest) (*CompleteResponse, error) // contains filtered or unexported methods }
OrderServiceServer is the server API for OrderService service. All implementations must embed UnimplementedOrderServiceServer for forward compatibility
type OrderStatus ¶
type OrderStatus int32
const ( OrderStatus_ORDER_STATUS_COMPLETED OrderStatus = 0 OrderStatus_ORDER_STATUS_CANCELLED OrderStatus = 1 OrderStatus_ORDER_STATUS_IN_PROGRESS OrderStatus = 2 )
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 ProductOrder ¶
type ProductOrder struct { Quantity int32 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` Price *core.Money `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` ProductId int32 `protobuf:"varint,4,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // contains filtered or unexported fields }
func (*ProductOrder) Descriptor
deprecated
func (*ProductOrder) Descriptor() ([]byte, []int)
Deprecated: Use ProductOrder.ProtoReflect.Descriptor instead.
func (*ProductOrder) GetPrice ¶
func (x *ProductOrder) GetPrice() *core.Money
func (*ProductOrder) GetProductId ¶ added in v0.0.42
func (x *ProductOrder) GetProductId() int32
func (*ProductOrder) GetQuantity ¶
func (x *ProductOrder) GetQuantity() int32
func (*ProductOrder) ProtoMessage ¶
func (*ProductOrder) ProtoMessage()
func (*ProductOrder) ProtoReflect ¶
func (x *ProductOrder) ProtoReflect() protoreflect.Message
func (*ProductOrder) Reset ¶
func (x *ProductOrder) Reset()
func (*ProductOrder) String ¶
func (x *ProductOrder) String() string
type UnimplementedOrderServiceServer ¶
type UnimplementedOrderServiceServer struct { }
UnimplementedOrderServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrderServiceServer) Cancel ¶ added in v0.0.46
func (UnimplementedOrderServiceServer) Cancel(context.Context, *CancelRequest) (*CancelResponse, error)
func (UnimplementedOrderServiceServer) Complete ¶ added in v0.0.46
func (UnimplementedOrderServiceServer) Complete(context.Context, *CompleteRequest) (*CompleteResponse, error)
func (UnimplementedOrderServiceServer) Create ¶
func (UnimplementedOrderServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedOrderServiceServer) List ¶ added in v0.0.42
func (UnimplementedOrderServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedOrderServiceServer) Order ¶ added in v0.0.42
func (UnimplementedOrderServiceServer) Order(context.Context, *OrderRequest) (*OrderResponse, error)
func (UnimplementedOrderServiceServer) Update ¶ added in v0.0.42
func (UnimplementedOrderServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, 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 UpdateRequest ¶ added in v0.0.42
type UpdateRequest struct { Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
added in
v0.0.42
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetOrder ¶ added in v0.0.42
func (x *UpdateRequest) GetOrder() *Order
func (*UpdateRequest) ProtoMessage ¶ added in v0.0.42
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶ added in v0.0.42
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶ added in v0.0.42
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶ added in v0.0.42
func (x *UpdateRequest) String() string
type UpdateResponse ¶ added in v0.0.42
type UpdateResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
added in
v0.0.42
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetId ¶ added in v0.0.42
func (x *UpdateResponse) GetId() int32
func (*UpdateResponse) ProtoMessage ¶ added in v0.0.42
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶ added in v0.0.42
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶ added in v0.0.42
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶ added in v0.0.42
func (x *UpdateResponse) String() string