Documentation ¶
Index ¶
- func NewOrderServiceEndpoints() []*api.Endpoint
- func RegisterOrderServiceHandler(s server.Server, hdlr OrderServiceHandler, opts ...server.HandlerOption) error
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetAmount() map[string]float64
- func (m *Order) GetContract() *Order_Contract
- func (m *Order) GetCreatedAt() string
- func (m *Order) GetCustomer() *Order_Customer
- func (m *Order) GetDetail() *Order_Detail
- func (m *Order) GetItems() *Order_Item
- func (m *Order) GetPayment() *payment.Payment
- func (m *Order) GetStatus() map[string]string
- func (m *Order) GetType() string
- func (m *Order) GetUpdatedAt() string
- func (m *Order) GetUuid() string
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- func (m *Order) Validate() error
- func (m *Order) XXX_DiscardUnknown()
- func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order) XXX_Merge(src proto.Message)
- func (m *Order) XXX_Size() int
- func (m *Order) XXX_Unmarshal(b []byte) error
- type OrderService
- type OrderServiceHandler
- type OrderValidationError
- type Order_Contract
- func (*Order_Contract) Descriptor() ([]byte, []int)
- func (m *Order_Contract) GetContractId() string
- func (m *Order_Contract) GetName() string
- func (m *Order_Contract) GetUuid() string
- func (*Order_Contract) ProtoMessage()
- func (m *Order_Contract) Reset()
- func (m *Order_Contract) String() string
- func (m *Order_Contract) Validate() error
- func (m *Order_Contract) XXX_DiscardUnknown()
- func (m *Order_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Contract) XXX_Merge(src proto.Message)
- func (m *Order_Contract) XXX_Size() int
- func (m *Order_Contract) XXX_Unmarshal(b []byte) error
- type Order_ContractValidationError
- func (e Order_ContractValidationError) Cause() error
- func (e Order_ContractValidationError) Error() string
- func (e Order_ContractValidationError) ErrorName() string
- func (e Order_ContractValidationError) Field() string
- func (e Order_ContractValidationError) Key() bool
- func (e Order_ContractValidationError) Reason() string
- type Order_Customer
- func (*Order_Customer) Descriptor() ([]byte, []int)
- func (m *Order_Customer) GetEmail() string
- func (m *Order_Customer) GetPhone() string
- func (m *Order_Customer) GetUuid() string
- func (*Order_Customer) ProtoMessage()
- func (m *Order_Customer) Reset()
- func (m *Order_Customer) String() string
- func (m *Order_Customer) Validate() error
- func (m *Order_Customer) XXX_DiscardUnknown()
- func (m *Order_Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Customer) XXX_Merge(src proto.Message)
- func (m *Order_Customer) XXX_Size() int
- func (m *Order_Customer) XXX_Unmarshal(b []byte) error
- type Order_CustomerValidationError
- func (e Order_CustomerValidationError) Cause() error
- func (e Order_CustomerValidationError) Error() string
- func (e Order_CustomerValidationError) ErrorName() string
- func (e Order_CustomerValidationError) Field() string
- func (e Order_CustomerValidationError) Key() bool
- func (e Order_CustomerValidationError) Reason() string
- type Order_Detail
- func (*Order_Detail) Descriptor() ([]byte, []int)
- func (m *Order_Detail) GetCinema() *Order_Detail_Cinema
- func (m *Order_Detail) GetCity() *Order_Detail_City
- func (m *Order_Detail) GetHall() *Order_Detail_Hall
- func (m *Order_Detail) GetMovie() *Order_Detail_Movie
- func (m *Order_Detail) GetSeance() *Order_Detail_Seance
- func (*Order_Detail) ProtoMessage()
- func (m *Order_Detail) Reset()
- func (m *Order_Detail) String() string
- func (m *Order_Detail) Validate() error
- func (m *Order_Detail) XXX_DiscardUnknown()
- func (m *Order_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Detail) XXX_Merge(src proto.Message)
- func (m *Order_Detail) XXX_Size() int
- func (m *Order_Detail) XXX_Unmarshal(b []byte) error
- type Order_DetailValidationError
- func (e Order_DetailValidationError) Cause() error
- func (e Order_DetailValidationError) Error() string
- func (e Order_DetailValidationError) ErrorName() string
- func (e Order_DetailValidationError) Field() string
- func (e Order_DetailValidationError) Key() bool
- func (e Order_DetailValidationError) Reason() string
- type Order_Detail_Cinema
- func (*Order_Detail_Cinema) Descriptor() ([]byte, []int)
- func (m *Order_Detail_Cinema) GetAddress() string
- func (m *Order_Detail_Cinema) GetHash() string
- func (m *Order_Detail_Cinema) GetName() string
- func (m *Order_Detail_Cinema) GetShopId() string
- func (m *Order_Detail_Cinema) GetUuid() string
- func (*Order_Detail_Cinema) ProtoMessage()
- func (m *Order_Detail_Cinema) Reset()
- func (m *Order_Detail_Cinema) String() string
- func (m *Order_Detail_Cinema) Validate() error
- func (m *Order_Detail_Cinema) XXX_DiscardUnknown()
- func (m *Order_Detail_Cinema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Detail_Cinema) XXX_Merge(src proto.Message)
- func (m *Order_Detail_Cinema) XXX_Size() int
- func (m *Order_Detail_Cinema) XXX_Unmarshal(b []byte) error
- type Order_Detail_CinemaValidationError
- func (e Order_Detail_CinemaValidationError) Cause() error
- func (e Order_Detail_CinemaValidationError) Error() string
- func (e Order_Detail_CinemaValidationError) ErrorName() string
- func (e Order_Detail_CinemaValidationError) Field() string
- func (e Order_Detail_CinemaValidationError) Key() bool
- func (e Order_Detail_CinemaValidationError) Reason() string
- type Order_Detail_City
- func (*Order_Detail_City) Descriptor() ([]byte, []int)
- func (m *Order_Detail_City) GetHash() string
- func (m *Order_Detail_City) GetLocation() string
- func (m *Order_Detail_City) GetName() string
- func (m *Order_Detail_City) GetUuid() string
- func (*Order_Detail_City) ProtoMessage()
- func (m *Order_Detail_City) Reset()
- func (m *Order_Detail_City) String() string
- func (m *Order_Detail_City) Validate() error
- func (m *Order_Detail_City) XXX_DiscardUnknown()
- func (m *Order_Detail_City) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Detail_City) XXX_Merge(src proto.Message)
- func (m *Order_Detail_City) XXX_Size() int
- func (m *Order_Detail_City) XXX_Unmarshal(b []byte) error
- type Order_Detail_CityValidationError
- func (e Order_Detail_CityValidationError) Cause() error
- func (e Order_Detail_CityValidationError) Error() string
- func (e Order_Detail_CityValidationError) ErrorName() string
- func (e Order_Detail_CityValidationError) Field() string
- func (e Order_Detail_CityValidationError) Key() bool
- func (e Order_Detail_CityValidationError) Reason() string
- type Order_Detail_Hall
- func (*Order_Detail_Hall) Descriptor() ([]byte, []int)
- func (m *Order_Detail_Hall) GetFormat() []string
- func (m *Order_Detail_Hall) GetHash() string
- func (m *Order_Detail_Hall) GetMenu() *Order_Detail_Hall_Menu
- func (m *Order_Detail_Hall) GetMerchantId() string
- func (m *Order_Detail_Hall) GetName() string
- func (m *Order_Detail_Hall) GetSeatCount() int64
- func (m *Order_Detail_Hall) GetUuid() string
- func (*Order_Detail_Hall) ProtoMessage()
- func (m *Order_Detail_Hall) Reset()
- func (m *Order_Detail_Hall) String() string
- func (m *Order_Detail_Hall) Validate() error
- func (m *Order_Detail_Hall) XXX_DiscardUnknown()
- func (m *Order_Detail_Hall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Detail_Hall) XXX_Merge(src proto.Message)
- func (m *Order_Detail_Hall) XXX_Size() int
- func (m *Order_Detail_Hall) XXX_Unmarshal(b []byte) error
- type Order_Detail_HallValidationError
- func (e Order_Detail_HallValidationError) Cause() error
- func (e Order_Detail_HallValidationError) Error() string
- func (e Order_Detail_HallValidationError) ErrorName() string
- func (e Order_Detail_HallValidationError) Field() string
- func (e Order_Detail_HallValidationError) Key() bool
- func (e Order_Detail_HallValidationError) Reason() string
- type Order_Detail_Hall_Menu
- func (*Order_Detail_Hall_Menu) Descriptor() ([]byte, []int)
- func (m *Order_Detail_Hall_Menu) GetAncestorUuid() string
- func (*Order_Detail_Hall_Menu) ProtoMessage()
- func (m *Order_Detail_Hall_Menu) Reset()
- func (m *Order_Detail_Hall_Menu) String() string
- func (m *Order_Detail_Hall_Menu) Validate() error
- func (m *Order_Detail_Hall_Menu) XXX_DiscardUnknown()
- func (m *Order_Detail_Hall_Menu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Detail_Hall_Menu) XXX_Merge(src proto.Message)
- func (m *Order_Detail_Hall_Menu) XXX_Size() int
- func (m *Order_Detail_Hall_Menu) XXX_Unmarshal(b []byte) error
- type Order_Detail_Hall_MenuValidationError
- func (e Order_Detail_Hall_MenuValidationError) Cause() error
- func (e Order_Detail_Hall_MenuValidationError) Error() string
- func (e Order_Detail_Hall_MenuValidationError) ErrorName() string
- func (e Order_Detail_Hall_MenuValidationError) Field() string
- func (e Order_Detail_Hall_MenuValidationError) Key() bool
- func (e Order_Detail_Hall_MenuValidationError) Reason() string
- type Order_Detail_Movie
- func (*Order_Detail_Movie) Descriptor() ([]byte, []int)
- func (m *Order_Detail_Movie) GetAgeLimitationText() string
- func (m *Order_Detail_Movie) GetDuration() uint32
- func (m *Order_Detail_Movie) GetFormat() []string
- func (m *Order_Detail_Movie) GetHash() string
- func (m *Order_Detail_Movie) GetName() string
- func (m *Order_Detail_Movie) GetParentMovieId() int64
- func (m *Order_Detail_Movie) GetReleaseDate() int64
- func (m *Order_Detail_Movie) GetTrailerLink() string
- func (m *Order_Detail_Movie) GetUuid() string
- func (*Order_Detail_Movie) ProtoMessage()
- func (m *Order_Detail_Movie) Reset()
- func (m *Order_Detail_Movie) String() string
- func (m *Order_Detail_Movie) Validate() error
- func (m *Order_Detail_Movie) XXX_DiscardUnknown()
- func (m *Order_Detail_Movie) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Detail_Movie) XXX_Merge(src proto.Message)
- func (m *Order_Detail_Movie) XXX_Size() int
- func (m *Order_Detail_Movie) XXX_Unmarshal(b []byte) error
- type Order_Detail_MovieValidationError
- func (e Order_Detail_MovieValidationError) Cause() error
- func (e Order_Detail_MovieValidationError) Error() string
- func (e Order_Detail_MovieValidationError) ErrorName() string
- func (e Order_Detail_MovieValidationError) Field() string
- func (e Order_Detail_MovieValidationError) Key() bool
- func (e Order_Detail_MovieValidationError) Reason() string
- type Order_Detail_Seance
- func (*Order_Detail_Seance) Descriptor() ([]byte, []int)
- func (m *Order_Detail_Seance) GetBasePrice() float64
- func (m *Order_Detail_Seance) GetDuration() uint32
- func (m *Order_Detail_Seance) GetEndTime() int64
- func (m *Order_Detail_Seance) GetFormat() []string
- func (m *Order_Detail_Seance) GetHash() string
- func (m *Order_Detail_Seance) GetIsReservingEnabled() bool
- func (m *Order_Detail_Seance) GetLanguage() string
- func (m *Order_Detail_Seance) GetName() string
- func (m *Order_Detail_Seance) GetStartTime() int64
- func (m *Order_Detail_Seance) GetUuid() string
- func (*Order_Detail_Seance) ProtoMessage()
- func (m *Order_Detail_Seance) Reset()
- func (m *Order_Detail_Seance) String() string
- func (m *Order_Detail_Seance) Validate() error
- func (m *Order_Detail_Seance) XXX_DiscardUnknown()
- func (m *Order_Detail_Seance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Detail_Seance) XXX_Merge(src proto.Message)
- func (m *Order_Detail_Seance) XXX_Size() int
- func (m *Order_Detail_Seance) XXX_Unmarshal(b []byte) error
- type Order_Detail_SeanceValidationError
- func (e Order_Detail_SeanceValidationError) Cause() error
- func (e Order_Detail_SeanceValidationError) Error() string
- func (e Order_Detail_SeanceValidationError) ErrorName() string
- func (e Order_Detail_SeanceValidationError) Field() string
- func (e Order_Detail_SeanceValidationError) Key() bool
- func (e Order_Detail_SeanceValidationError) Reason() string
- type Order_Item
- func (*Order_Item) Descriptor() ([]byte, []int)
- func (m *Order_Item) GetMenu() *menu.Menu
- func (m *Order_Item) GetReservation() *reservation.Reservation
- func (*Order_Item) ProtoMessage()
- func (m *Order_Item) Reset()
- func (m *Order_Item) String() string
- func (m *Order_Item) Validate() error
- func (m *Order_Item) XXX_DiscardUnknown()
- func (m *Order_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Item) XXX_Merge(src proto.Message)
- func (m *Order_Item) XXX_Size() int
- func (m *Order_Item) XXX_Unmarshal(b []byte) error
- type Order_ItemValidationError
- type PaginateRequest
- func (*PaginateRequest) Descriptor() ([]byte, []int)
- func (m *PaginateRequest) GetFilter() *Order
- func (m *PaginateRequest) GetLimit() int64
- func (m *PaginateRequest) GetSkip() int64
- func (m *PaginateRequest) GetSort() string
- func (*PaginateRequest) ProtoMessage()
- func (m *PaginateRequest) Reset()
- func (m *PaginateRequest) String() string
- func (m *PaginateRequest) Validate() error
- func (m *PaginateRequest) XXX_DiscardUnknown()
- func (m *PaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateRequest) XXX_Merge(src proto.Message)
- func (m *PaginateRequest) XXX_Size() int
- func (m *PaginateRequest) XXX_Unmarshal(b []byte) error
- type PaginateRequestValidationError
- func (e PaginateRequestValidationError) Cause() error
- func (e PaginateRequestValidationError) Error() string
- func (e PaginateRequestValidationError) ErrorName() string
- func (e PaginateRequestValidationError) Field() string
- func (e PaginateRequestValidationError) Key() bool
- func (e PaginateRequestValidationError) Reason() string
- type PaginateResponse
- func (*PaginateResponse) Descriptor() ([]byte, []int)
- func (m *PaginateResponse) GetData() []*Order
- func (m *PaginateResponse) GetLimit() int64
- func (m *PaginateResponse) GetSkip() int64
- func (m *PaginateResponse) GetTotal() int64
- func (*PaginateResponse) ProtoMessage()
- func (m *PaginateResponse) Reset()
- func (m *PaginateResponse) String() string
- func (m *PaginateResponse) Validate() error
- func (m *PaginateResponse) XXX_DiscardUnknown()
- func (m *PaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateResponse) XXX_Merge(src proto.Message)
- func (m *PaginateResponse) XXX_Size() int
- func (m *PaginateResponse) XXX_Unmarshal(b []byte) error
- type PaginateResponseValidationError
- func (e PaginateResponseValidationError) Cause() error
- func (e PaginateResponseValidationError) Error() string
- func (e PaginateResponseValidationError) ErrorName() string
- func (e PaginateResponseValidationError) Field() string
- func (e PaginateResponseValidationError) Key() bool
- func (e PaginateResponseValidationError) Reason() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetData() *Order
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) Validate() error
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type RequestValidationError
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetData() *Order
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) Validate() error
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type ResponseValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOrderServiceHandler ¶
func RegisterOrderServiceHandler(s server.Server, hdlr OrderServiceHandler, opts ...server.HandlerOption) error
Types ¶
type Order ¶
type Order struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" bson:"type"` Contract *Order_Contract `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty" bson:"contract"` Detail *Order_Detail `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty" bson:"detail"` Customer *Order_Customer `protobuf:"bytes,5,opt,name=customer,proto3" json:"customer,omitempty" bson:"customer"` Items *Order_Item `protobuf:"bytes,6,opt,name=items,proto3" json:"items,omitempty" bson:"items"` Payment *payment.Payment `protobuf:"bytes,7,opt,name=payment,proto3" json:"payment,omitempty" bson:"payment"` Status map[string]string `` /* 167-byte string literal not displayed */ Amount map[string]float64 `` /* 169-byte string literal not displayed */ CreatedAt string `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"` UpdatedAt string `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"` }
func (*Order) Descriptor ¶
func (*Order) GetContract ¶
func (m *Order) GetContract() *Order_Contract
func (*Order) GetCreatedAt ¶
func (*Order) GetCustomer ¶
func (m *Order) GetCustomer() *Order_Customer
func (*Order) GetDetail ¶
func (m *Order) GetDetail() *Order_Detail
func (*Order) GetItems ¶
func (m *Order) GetItems() *Order_Item
func (*Order) GetPayment ¶
func (*Order) GetUpdatedAt ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) Validate ¶
Validate checks the field values on Order with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type OrderService ¶
type OrderService interface { Create(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) Update(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) Delete(ctx context.Context, in *Request, opts ...client.CallOption) (*empty.Empty, error) Paginate(ctx context.Context, in *PaginateRequest, opts ...client.CallOption) (*PaginateResponse, error) Get(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) }
func NewOrderService ¶
func NewOrderService(name string, c client.Client) OrderService
type OrderServiceHandler ¶
type OrderServiceHandler interface { Create(context.Context, *Request, *Response) error Update(context.Context, *Request, *Response) error Delete(context.Context, *Request, *empty.Empty) error Paginate(context.Context, *PaginateRequest, *PaginateResponse) error Get(context.Context, *Request, *Response) error }
type OrderValidationError ¶
type OrderValidationError struct {
// contains filtered or unexported fields
}
OrderValidationError is the validation error returned by Order.Validate if the designated constraints aren't met.
func (OrderValidationError) Cause ¶
func (e OrderValidationError) Cause() error
Cause function returns cause value.
func (OrderValidationError) Error ¶
func (e OrderValidationError) Error() string
Error satisfies the builtin error interface
func (OrderValidationError) ErrorName ¶
func (e OrderValidationError) ErrorName() string
ErrorName returns error name.
func (OrderValidationError) Field ¶
func (e OrderValidationError) Field() string
Field function returns field value.
func (OrderValidationError) Key ¶
func (e OrderValidationError) Key() bool
Key function returns key value.
func (OrderValidationError) Reason ¶
func (e OrderValidationError) Reason() string
Reason function returns reason value.
type Order_Contract ¶
type Order_Contract struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" bson:"contract_id"` }
func (*Order_Contract) Descriptor ¶
func (*Order_Contract) Descriptor() ([]byte, []int)
func (*Order_Contract) GetContractId ¶
func (m *Order_Contract) GetContractId() string
func (*Order_Contract) GetName ¶
func (m *Order_Contract) GetName() string
func (*Order_Contract) GetUuid ¶
func (m *Order_Contract) GetUuid() string
func (*Order_Contract) ProtoMessage ¶
func (*Order_Contract) ProtoMessage()
func (*Order_Contract) Reset ¶
func (m *Order_Contract) Reset()
func (*Order_Contract) String ¶
func (m *Order_Contract) String() string
func (*Order_Contract) Validate ¶
func (m *Order_Contract) Validate() error
Validate checks the field values on Order_Contract with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Contract) XXX_DiscardUnknown ¶
func (m *Order_Contract) XXX_DiscardUnknown()
func (*Order_Contract) XXX_Marshal ¶
func (m *Order_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Contract) XXX_Merge ¶
func (m *Order_Contract) XXX_Merge(src proto.Message)
func (*Order_Contract) XXX_Size ¶
func (m *Order_Contract) XXX_Size() int
func (*Order_Contract) XXX_Unmarshal ¶
func (m *Order_Contract) XXX_Unmarshal(b []byte) error
type Order_ContractValidationError ¶
type Order_ContractValidationError struct {
// contains filtered or unexported fields
}
Order_ContractValidationError is the validation error returned by Order_Contract.Validate if the designated constraints aren't met.
func (Order_ContractValidationError) Cause ¶
func (e Order_ContractValidationError) Cause() error
Cause function returns cause value.
func (Order_ContractValidationError) Error ¶
func (e Order_ContractValidationError) Error() string
Error satisfies the builtin error interface
func (Order_ContractValidationError) ErrorName ¶
func (e Order_ContractValidationError) ErrorName() string
ErrorName returns error name.
func (Order_ContractValidationError) Field ¶
func (e Order_ContractValidationError) Field() string
Field function returns field value.
func (Order_ContractValidationError) Key ¶
func (e Order_ContractValidationError) Key() bool
Key function returns key value.
func (Order_ContractValidationError) Reason ¶
func (e Order_ContractValidationError) Reason() string
Reason function returns reason value.
type Order_Customer ¶
type Order_Customer struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty" bson:"phone"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" bson:"email"` }
func (*Order_Customer) Descriptor ¶
func (*Order_Customer) Descriptor() ([]byte, []int)
func (*Order_Customer) GetEmail ¶
func (m *Order_Customer) GetEmail() string
func (*Order_Customer) GetPhone ¶
func (m *Order_Customer) GetPhone() string
func (*Order_Customer) GetUuid ¶
func (m *Order_Customer) GetUuid() string
func (*Order_Customer) ProtoMessage ¶
func (*Order_Customer) ProtoMessage()
func (*Order_Customer) Reset ¶
func (m *Order_Customer) Reset()
func (*Order_Customer) String ¶
func (m *Order_Customer) String() string
func (*Order_Customer) Validate ¶
func (m *Order_Customer) Validate() error
Validate checks the field values on Order_Customer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Customer) XXX_DiscardUnknown ¶
func (m *Order_Customer) XXX_DiscardUnknown()
func (*Order_Customer) XXX_Marshal ¶
func (m *Order_Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Customer) XXX_Merge ¶
func (m *Order_Customer) XXX_Merge(src proto.Message)
func (*Order_Customer) XXX_Size ¶
func (m *Order_Customer) XXX_Size() int
func (*Order_Customer) XXX_Unmarshal ¶
func (m *Order_Customer) XXX_Unmarshal(b []byte) error
type Order_CustomerValidationError ¶
type Order_CustomerValidationError struct {
// contains filtered or unexported fields
}
Order_CustomerValidationError is the validation error returned by Order_Customer.Validate if the designated constraints aren't met.
func (Order_CustomerValidationError) Cause ¶
func (e Order_CustomerValidationError) Cause() error
Cause function returns cause value.
func (Order_CustomerValidationError) Error ¶
func (e Order_CustomerValidationError) Error() string
Error satisfies the builtin error interface
func (Order_CustomerValidationError) ErrorName ¶
func (e Order_CustomerValidationError) ErrorName() string
ErrorName returns error name.
func (Order_CustomerValidationError) Field ¶
func (e Order_CustomerValidationError) Field() string
Field function returns field value.
func (Order_CustomerValidationError) Key ¶
func (e Order_CustomerValidationError) Key() bool
Key function returns key value.
func (Order_CustomerValidationError) Reason ¶
func (e Order_CustomerValidationError) Reason() string
Reason function returns reason value.
type Order_Detail ¶
type Order_Detail struct { City *Order_Detail_City `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"` Cinema *Order_Detail_Cinema `protobuf:"bytes,2,opt,name=cinema,proto3" json:"cinema,omitempty"` Movie *Order_Detail_Movie `protobuf:"bytes,3,opt,name=movie,proto3" json:"movie,omitempty"` Hall *Order_Detail_Hall `protobuf:"bytes,4,opt,name=hall,proto3" json:"hall,omitempty"` Seance *Order_Detail_Seance `protobuf:"bytes,5,opt,name=seance,proto3" json:"seance,omitempty"` }
func (*Order_Detail) Descriptor ¶
func (*Order_Detail) Descriptor() ([]byte, []int)
func (*Order_Detail) GetCinema ¶
func (m *Order_Detail) GetCinema() *Order_Detail_Cinema
func (*Order_Detail) GetCity ¶
func (m *Order_Detail) GetCity() *Order_Detail_City
func (*Order_Detail) GetHall ¶
func (m *Order_Detail) GetHall() *Order_Detail_Hall
func (*Order_Detail) GetMovie ¶
func (m *Order_Detail) GetMovie() *Order_Detail_Movie
func (*Order_Detail) GetSeance ¶
func (m *Order_Detail) GetSeance() *Order_Detail_Seance
func (*Order_Detail) ProtoMessage ¶
func (*Order_Detail) ProtoMessage()
func (*Order_Detail) Reset ¶
func (m *Order_Detail) Reset()
func (*Order_Detail) String ¶
func (m *Order_Detail) String() string
func (*Order_Detail) Validate ¶
func (m *Order_Detail) Validate() error
Validate checks the field values on Order_Detail with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Detail) XXX_DiscardUnknown ¶
func (m *Order_Detail) XXX_DiscardUnknown()
func (*Order_Detail) XXX_Marshal ¶
func (m *Order_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Detail) XXX_Merge ¶
func (m *Order_Detail) XXX_Merge(src proto.Message)
func (*Order_Detail) XXX_Size ¶
func (m *Order_Detail) XXX_Size() int
func (*Order_Detail) XXX_Unmarshal ¶
func (m *Order_Detail) XXX_Unmarshal(b []byte) error
type Order_DetailValidationError ¶
type Order_DetailValidationError struct {
// contains filtered or unexported fields
}
Order_DetailValidationError is the validation error returned by Order_Detail.Validate if the designated constraints aren't met.
func (Order_DetailValidationError) Cause ¶
func (e Order_DetailValidationError) Cause() error
Cause function returns cause value.
func (Order_DetailValidationError) Error ¶
func (e Order_DetailValidationError) Error() string
Error satisfies the builtin error interface
func (Order_DetailValidationError) ErrorName ¶
func (e Order_DetailValidationError) ErrorName() string
ErrorName returns error name.
func (Order_DetailValidationError) Field ¶
func (e Order_DetailValidationError) Field() string
Field function returns field value.
func (Order_DetailValidationError) Key ¶
func (e Order_DetailValidationError) Key() bool
Key function returns key value.
func (Order_DetailValidationError) Reason ¶
func (e Order_DetailValidationError) Reason() string
Reason function returns reason value.
type Order_Detail_Cinema ¶
type Order_Detail_Cinema struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` ShopId string `protobuf:"bytes,3,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty" bson:"shop_id"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty" bson:"address"` Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"` }
func (*Order_Detail_Cinema) Descriptor ¶
func (*Order_Detail_Cinema) Descriptor() ([]byte, []int)
func (*Order_Detail_Cinema) GetAddress ¶
func (m *Order_Detail_Cinema) GetAddress() string
func (*Order_Detail_Cinema) GetHash ¶
func (m *Order_Detail_Cinema) GetHash() string
func (*Order_Detail_Cinema) GetName ¶
func (m *Order_Detail_Cinema) GetName() string
func (*Order_Detail_Cinema) GetShopId ¶
func (m *Order_Detail_Cinema) GetShopId() string
func (*Order_Detail_Cinema) GetUuid ¶
func (m *Order_Detail_Cinema) GetUuid() string
func (*Order_Detail_Cinema) ProtoMessage ¶
func (*Order_Detail_Cinema) ProtoMessage()
func (*Order_Detail_Cinema) Reset ¶
func (m *Order_Detail_Cinema) Reset()
func (*Order_Detail_Cinema) String ¶
func (m *Order_Detail_Cinema) String() string
func (*Order_Detail_Cinema) Validate ¶
func (m *Order_Detail_Cinema) Validate() error
Validate checks the field values on Order_Detail_Cinema with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Detail_Cinema) XXX_DiscardUnknown ¶
func (m *Order_Detail_Cinema) XXX_DiscardUnknown()
func (*Order_Detail_Cinema) XXX_Marshal ¶
func (m *Order_Detail_Cinema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Detail_Cinema) XXX_Merge ¶
func (m *Order_Detail_Cinema) XXX_Merge(src proto.Message)
func (*Order_Detail_Cinema) XXX_Size ¶
func (m *Order_Detail_Cinema) XXX_Size() int
func (*Order_Detail_Cinema) XXX_Unmarshal ¶
func (m *Order_Detail_Cinema) XXX_Unmarshal(b []byte) error
type Order_Detail_CinemaValidationError ¶
type Order_Detail_CinemaValidationError struct {
// contains filtered or unexported fields
}
Order_Detail_CinemaValidationError is the validation error returned by Order_Detail_Cinema.Validate if the designated constraints aren't met.
func (Order_Detail_CinemaValidationError) Cause ¶
func (e Order_Detail_CinemaValidationError) Cause() error
Cause function returns cause value.
func (Order_Detail_CinemaValidationError) Error ¶
func (e Order_Detail_CinemaValidationError) Error() string
Error satisfies the builtin error interface
func (Order_Detail_CinemaValidationError) ErrorName ¶
func (e Order_Detail_CinemaValidationError) ErrorName() string
ErrorName returns error name.
func (Order_Detail_CinemaValidationError) Field ¶
func (e Order_Detail_CinemaValidationError) Field() string
Field function returns field value.
func (Order_Detail_CinemaValidationError) Key ¶
func (e Order_Detail_CinemaValidationError) Key() bool
Key function returns key value.
func (Order_Detail_CinemaValidationError) Reason ¶
func (e Order_Detail_CinemaValidationError) Reason() string
Reason function returns reason value.
type Order_Detail_City ¶
type Order_Detail_City struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty" bson:"location"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"` }
func (*Order_Detail_City) Descriptor ¶
func (*Order_Detail_City) Descriptor() ([]byte, []int)
func (*Order_Detail_City) GetHash ¶
func (m *Order_Detail_City) GetHash() string
func (*Order_Detail_City) GetLocation ¶
func (m *Order_Detail_City) GetLocation() string
func (*Order_Detail_City) GetName ¶
func (m *Order_Detail_City) GetName() string
func (*Order_Detail_City) GetUuid ¶
func (m *Order_Detail_City) GetUuid() string
func (*Order_Detail_City) ProtoMessage ¶
func (*Order_Detail_City) ProtoMessage()
func (*Order_Detail_City) Reset ¶
func (m *Order_Detail_City) Reset()
func (*Order_Detail_City) String ¶
func (m *Order_Detail_City) String() string
func (*Order_Detail_City) Validate ¶
func (m *Order_Detail_City) Validate() error
Validate checks the field values on Order_Detail_City with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Detail_City) XXX_DiscardUnknown ¶
func (m *Order_Detail_City) XXX_DiscardUnknown()
func (*Order_Detail_City) XXX_Marshal ¶
func (m *Order_Detail_City) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Detail_City) XXX_Merge ¶
func (m *Order_Detail_City) XXX_Merge(src proto.Message)
func (*Order_Detail_City) XXX_Size ¶
func (m *Order_Detail_City) XXX_Size() int
func (*Order_Detail_City) XXX_Unmarshal ¶
func (m *Order_Detail_City) XXX_Unmarshal(b []byte) error
type Order_Detail_CityValidationError ¶
type Order_Detail_CityValidationError struct {
// contains filtered or unexported fields
}
Order_Detail_CityValidationError is the validation error returned by Order_Detail_City.Validate if the designated constraints aren't met.
func (Order_Detail_CityValidationError) Cause ¶
func (e Order_Detail_CityValidationError) Cause() error
Cause function returns cause value.
func (Order_Detail_CityValidationError) Error ¶
func (e Order_Detail_CityValidationError) Error() string
Error satisfies the builtin error interface
func (Order_Detail_CityValidationError) ErrorName ¶
func (e Order_Detail_CityValidationError) ErrorName() string
ErrorName returns error name.
func (Order_Detail_CityValidationError) Field ¶
func (e Order_Detail_CityValidationError) Field() string
Field function returns field value.
func (Order_Detail_CityValidationError) Key ¶
func (e Order_Detail_CityValidationError) Key() bool
Key function returns key value.
func (Order_Detail_CityValidationError) Reason ¶
func (e Order_Detail_CityValidationError) Reason() string
Reason function returns reason value.
type Order_Detail_Hall ¶
type Order_Detail_Hall struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` Format []string `protobuf:"bytes,3,rep,name=format,proto3" json:"format,omitempty" bson:"format"` SeatCount int64 `protobuf:"varint,4,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty" bson:"seat_count"` MerchantId string `protobuf:"bytes,5,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty" bson:"merchant_id"` Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"` Menu *Order_Detail_Hall_Menu `protobuf:"bytes,7,opt,name=menu,proto3" json:"menu,omitempty" bson:"menu"` }
func (*Order_Detail_Hall) Descriptor ¶
func (*Order_Detail_Hall) Descriptor() ([]byte, []int)
func (*Order_Detail_Hall) GetFormat ¶
func (m *Order_Detail_Hall) GetFormat() []string
func (*Order_Detail_Hall) GetHash ¶
func (m *Order_Detail_Hall) GetHash() string
func (*Order_Detail_Hall) GetMenu ¶
func (m *Order_Detail_Hall) GetMenu() *Order_Detail_Hall_Menu
func (*Order_Detail_Hall) GetMerchantId ¶
func (m *Order_Detail_Hall) GetMerchantId() string
func (*Order_Detail_Hall) GetName ¶
func (m *Order_Detail_Hall) GetName() string
func (*Order_Detail_Hall) GetSeatCount ¶
func (m *Order_Detail_Hall) GetSeatCount() int64
func (*Order_Detail_Hall) GetUuid ¶
func (m *Order_Detail_Hall) GetUuid() string
func (*Order_Detail_Hall) ProtoMessage ¶
func (*Order_Detail_Hall) ProtoMessage()
func (*Order_Detail_Hall) Reset ¶
func (m *Order_Detail_Hall) Reset()
func (*Order_Detail_Hall) String ¶
func (m *Order_Detail_Hall) String() string
func (*Order_Detail_Hall) Validate ¶
func (m *Order_Detail_Hall) Validate() error
Validate checks the field values on Order_Detail_Hall with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Detail_Hall) XXX_DiscardUnknown ¶
func (m *Order_Detail_Hall) XXX_DiscardUnknown()
func (*Order_Detail_Hall) XXX_Marshal ¶
func (m *Order_Detail_Hall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Detail_Hall) XXX_Merge ¶
func (m *Order_Detail_Hall) XXX_Merge(src proto.Message)
func (*Order_Detail_Hall) XXX_Size ¶
func (m *Order_Detail_Hall) XXX_Size() int
func (*Order_Detail_Hall) XXX_Unmarshal ¶
func (m *Order_Detail_Hall) XXX_Unmarshal(b []byte) error
type Order_Detail_HallValidationError ¶
type Order_Detail_HallValidationError struct {
// contains filtered or unexported fields
}
Order_Detail_HallValidationError is the validation error returned by Order_Detail_Hall.Validate if the designated constraints aren't met.
func (Order_Detail_HallValidationError) Cause ¶
func (e Order_Detail_HallValidationError) Cause() error
Cause function returns cause value.
func (Order_Detail_HallValidationError) Error ¶
func (e Order_Detail_HallValidationError) Error() string
Error satisfies the builtin error interface
func (Order_Detail_HallValidationError) ErrorName ¶
func (e Order_Detail_HallValidationError) ErrorName() string
ErrorName returns error name.
func (Order_Detail_HallValidationError) Field ¶
func (e Order_Detail_HallValidationError) Field() string
Field function returns field value.
func (Order_Detail_HallValidationError) Key ¶
func (e Order_Detail_HallValidationError) Key() bool
Key function returns key value.
func (Order_Detail_HallValidationError) Reason ¶
func (e Order_Detail_HallValidationError) Reason() string
Reason function returns reason value.
type Order_Detail_Hall_Menu ¶
type Order_Detail_Hall_Menu struct {
AncestorUuid string `protobuf:"bytes,1,opt,name=ancestor_uuid,json=ancestorUuid,proto3" json:"ancestor_uuid,omitempty" bson:"ancestor_uuid"`
}
func (*Order_Detail_Hall_Menu) Descriptor ¶
func (*Order_Detail_Hall_Menu) Descriptor() ([]byte, []int)
func (*Order_Detail_Hall_Menu) GetAncestorUuid ¶
func (m *Order_Detail_Hall_Menu) GetAncestorUuid() string
func (*Order_Detail_Hall_Menu) ProtoMessage ¶
func (*Order_Detail_Hall_Menu) ProtoMessage()
func (*Order_Detail_Hall_Menu) Reset ¶
func (m *Order_Detail_Hall_Menu) Reset()
func (*Order_Detail_Hall_Menu) String ¶
func (m *Order_Detail_Hall_Menu) String() string
func (*Order_Detail_Hall_Menu) Validate ¶
func (m *Order_Detail_Hall_Menu) Validate() error
Validate checks the field values on Order_Detail_Hall_Menu with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Detail_Hall_Menu) XXX_DiscardUnknown ¶
func (m *Order_Detail_Hall_Menu) XXX_DiscardUnknown()
func (*Order_Detail_Hall_Menu) XXX_Marshal ¶
func (m *Order_Detail_Hall_Menu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Detail_Hall_Menu) XXX_Merge ¶
func (m *Order_Detail_Hall_Menu) XXX_Merge(src proto.Message)
func (*Order_Detail_Hall_Menu) XXX_Size ¶
func (m *Order_Detail_Hall_Menu) XXX_Size() int
func (*Order_Detail_Hall_Menu) XXX_Unmarshal ¶
func (m *Order_Detail_Hall_Menu) XXX_Unmarshal(b []byte) error
type Order_Detail_Hall_MenuValidationError ¶
type Order_Detail_Hall_MenuValidationError struct {
// contains filtered or unexported fields
}
Order_Detail_Hall_MenuValidationError is the validation error returned by Order_Detail_Hall_Menu.Validate if the designated constraints aren't met.
func (Order_Detail_Hall_MenuValidationError) Cause ¶
func (e Order_Detail_Hall_MenuValidationError) Cause() error
Cause function returns cause value.
func (Order_Detail_Hall_MenuValidationError) Error ¶
func (e Order_Detail_Hall_MenuValidationError) Error() string
Error satisfies the builtin error interface
func (Order_Detail_Hall_MenuValidationError) ErrorName ¶
func (e Order_Detail_Hall_MenuValidationError) ErrorName() string
ErrorName returns error name.
func (Order_Detail_Hall_MenuValidationError) Field ¶
func (e Order_Detail_Hall_MenuValidationError) Field() string
Field function returns field value.
func (Order_Detail_Hall_MenuValidationError) Key ¶
func (e Order_Detail_Hall_MenuValidationError) Key() bool
Key function returns key value.
func (Order_Detail_Hall_MenuValidationError) Reason ¶
func (e Order_Detail_Hall_MenuValidationError) Reason() string
Reason function returns reason value.
type Order_Detail_Movie ¶
type Order_Detail_Movie struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` ReleaseDate int64 `protobuf:"varint,3,opt,name=release_date,json=releaseDate,proto3" json:"release_date,omitempty" bson:"release_date"` Duration uint32 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty" bson:"duration"` AgeLimitationText string `` /* 141-byte string literal not displayed */ TrailerLink string `protobuf:"bytes,6,opt,name=trailer_link,json=trailerLink,proto3" json:"trailer_link,omitempty" bson:"trailer_link"` ParentMovieId int64 `` /* 126-byte string literal not displayed */ Format []string `protobuf:"bytes,8,rep,name=format,proto3" json:"format,omitempty" bson:"format"` Hash string `protobuf:"bytes,9,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"` }
func (*Order_Detail_Movie) Descriptor ¶
func (*Order_Detail_Movie) Descriptor() ([]byte, []int)
func (*Order_Detail_Movie) GetAgeLimitationText ¶
func (m *Order_Detail_Movie) GetAgeLimitationText() string
func (*Order_Detail_Movie) GetDuration ¶
func (m *Order_Detail_Movie) GetDuration() uint32
func (*Order_Detail_Movie) GetFormat ¶
func (m *Order_Detail_Movie) GetFormat() []string
func (*Order_Detail_Movie) GetHash ¶
func (m *Order_Detail_Movie) GetHash() string
func (*Order_Detail_Movie) GetName ¶
func (m *Order_Detail_Movie) GetName() string
func (*Order_Detail_Movie) GetParentMovieId ¶
func (m *Order_Detail_Movie) GetParentMovieId() int64
func (*Order_Detail_Movie) GetReleaseDate ¶
func (m *Order_Detail_Movie) GetReleaseDate() int64
func (*Order_Detail_Movie) GetTrailerLink ¶
func (m *Order_Detail_Movie) GetTrailerLink() string
func (*Order_Detail_Movie) GetUuid ¶
func (m *Order_Detail_Movie) GetUuid() string
func (*Order_Detail_Movie) ProtoMessage ¶
func (*Order_Detail_Movie) ProtoMessage()
func (*Order_Detail_Movie) Reset ¶
func (m *Order_Detail_Movie) Reset()
func (*Order_Detail_Movie) String ¶
func (m *Order_Detail_Movie) String() string
func (*Order_Detail_Movie) Validate ¶
func (m *Order_Detail_Movie) Validate() error
Validate checks the field values on Order_Detail_Movie with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Detail_Movie) XXX_DiscardUnknown ¶
func (m *Order_Detail_Movie) XXX_DiscardUnknown()
func (*Order_Detail_Movie) XXX_Marshal ¶
func (m *Order_Detail_Movie) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Detail_Movie) XXX_Merge ¶
func (m *Order_Detail_Movie) XXX_Merge(src proto.Message)
func (*Order_Detail_Movie) XXX_Size ¶
func (m *Order_Detail_Movie) XXX_Size() int
func (*Order_Detail_Movie) XXX_Unmarshal ¶
func (m *Order_Detail_Movie) XXX_Unmarshal(b []byte) error
type Order_Detail_MovieValidationError ¶
type Order_Detail_MovieValidationError struct {
// contains filtered or unexported fields
}
Order_Detail_MovieValidationError is the validation error returned by Order_Detail_Movie.Validate if the designated constraints aren't met.
func (Order_Detail_MovieValidationError) Cause ¶
func (e Order_Detail_MovieValidationError) Cause() error
Cause function returns cause value.
func (Order_Detail_MovieValidationError) Error ¶
func (e Order_Detail_MovieValidationError) Error() string
Error satisfies the builtin error interface
func (Order_Detail_MovieValidationError) ErrorName ¶
func (e Order_Detail_MovieValidationError) ErrorName() string
ErrorName returns error name.
func (Order_Detail_MovieValidationError) Field ¶
func (e Order_Detail_MovieValidationError) Field() string
Field function returns field value.
func (Order_Detail_MovieValidationError) Key ¶
func (e Order_Detail_MovieValidationError) Key() bool
Key function returns key value.
func (Order_Detail_MovieValidationError) Reason ¶
func (e Order_Detail_MovieValidationError) Reason() string
Reason function returns reason value.
type Order_Detail_Seance ¶
type Order_Detail_Seance struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` BasePrice float64 `protobuf:"fixed64,3,opt,name=base_price,json=basePrice,proto3" json:"base_price,omitempty" bson:"base_price"` StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" bson:"start_time"` EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" bson:"end_time"` Duration uint32 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty" bson:"duration"` IsReservingEnabled bool `` /* 146-byte string literal not displayed */ Format []string `protobuf:"bytes,8,rep,name=format,proto3" json:"format,omitempty" bson:"format"` Language string `protobuf:"bytes,9,opt,name=language,proto3" json:"language,omitempty" bson:"language"` Hash string `protobuf:"bytes,10,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"` }
func (*Order_Detail_Seance) Descriptor ¶
func (*Order_Detail_Seance) Descriptor() ([]byte, []int)
func (*Order_Detail_Seance) GetBasePrice ¶
func (m *Order_Detail_Seance) GetBasePrice() float64
func (*Order_Detail_Seance) GetDuration ¶
func (m *Order_Detail_Seance) GetDuration() uint32
func (*Order_Detail_Seance) GetEndTime ¶
func (m *Order_Detail_Seance) GetEndTime() int64
func (*Order_Detail_Seance) GetFormat ¶
func (m *Order_Detail_Seance) GetFormat() []string
func (*Order_Detail_Seance) GetHash ¶
func (m *Order_Detail_Seance) GetHash() string
func (*Order_Detail_Seance) GetIsReservingEnabled ¶
func (m *Order_Detail_Seance) GetIsReservingEnabled() bool
func (*Order_Detail_Seance) GetLanguage ¶
func (m *Order_Detail_Seance) GetLanguage() string
func (*Order_Detail_Seance) GetName ¶
func (m *Order_Detail_Seance) GetName() string
func (*Order_Detail_Seance) GetStartTime ¶
func (m *Order_Detail_Seance) GetStartTime() int64
func (*Order_Detail_Seance) GetUuid ¶
func (m *Order_Detail_Seance) GetUuid() string
func (*Order_Detail_Seance) ProtoMessage ¶
func (*Order_Detail_Seance) ProtoMessage()
func (*Order_Detail_Seance) Reset ¶
func (m *Order_Detail_Seance) Reset()
func (*Order_Detail_Seance) String ¶
func (m *Order_Detail_Seance) String() string
func (*Order_Detail_Seance) Validate ¶
func (m *Order_Detail_Seance) Validate() error
Validate checks the field values on Order_Detail_Seance with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Detail_Seance) XXX_DiscardUnknown ¶
func (m *Order_Detail_Seance) XXX_DiscardUnknown()
func (*Order_Detail_Seance) XXX_Marshal ¶
func (m *Order_Detail_Seance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Detail_Seance) XXX_Merge ¶
func (m *Order_Detail_Seance) XXX_Merge(src proto.Message)
func (*Order_Detail_Seance) XXX_Size ¶
func (m *Order_Detail_Seance) XXX_Size() int
func (*Order_Detail_Seance) XXX_Unmarshal ¶
func (m *Order_Detail_Seance) XXX_Unmarshal(b []byte) error
type Order_Detail_SeanceValidationError ¶
type Order_Detail_SeanceValidationError struct {
// contains filtered or unexported fields
}
Order_Detail_SeanceValidationError is the validation error returned by Order_Detail_Seance.Validate if the designated constraints aren't met.
func (Order_Detail_SeanceValidationError) Cause ¶
func (e Order_Detail_SeanceValidationError) Cause() error
Cause function returns cause value.
func (Order_Detail_SeanceValidationError) Error ¶
func (e Order_Detail_SeanceValidationError) Error() string
Error satisfies the builtin error interface
func (Order_Detail_SeanceValidationError) ErrorName ¶
func (e Order_Detail_SeanceValidationError) ErrorName() string
ErrorName returns error name.
func (Order_Detail_SeanceValidationError) Field ¶
func (e Order_Detail_SeanceValidationError) Field() string
Field function returns field value.
func (Order_Detail_SeanceValidationError) Key ¶
func (e Order_Detail_SeanceValidationError) Key() bool
Key function returns key value.
func (Order_Detail_SeanceValidationError) Reason ¶
func (e Order_Detail_SeanceValidationError) Reason() string
Reason function returns reason value.
type Order_Item ¶
type Order_Item struct { Reservation *reservation.Reservation `protobuf:"bytes,1,opt,name=reservation,proto3" json:"reservation,omitempty" bson:"reservation"` Menu *menu.Menu `protobuf:"bytes,2,opt,name=menu,proto3" json:"menu,omitempty" bson:"menu"` }
func (*Order_Item) Descriptor ¶
func (*Order_Item) Descriptor() ([]byte, []int)
func (*Order_Item) GetMenu ¶
func (m *Order_Item) GetMenu() *menu.Menu
func (*Order_Item) GetReservation ¶
func (m *Order_Item) GetReservation() *reservation.Reservation
func (*Order_Item) ProtoMessage ¶
func (*Order_Item) ProtoMessage()
func (*Order_Item) Reset ¶
func (m *Order_Item) Reset()
func (*Order_Item) String ¶
func (m *Order_Item) String() string
func (*Order_Item) Validate ¶
func (m *Order_Item) Validate() error
Validate checks the field values on Order_Item with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Item) XXX_DiscardUnknown ¶
func (m *Order_Item) XXX_DiscardUnknown()
func (*Order_Item) XXX_Marshal ¶
func (m *Order_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Item) XXX_Merge ¶
func (m *Order_Item) XXX_Merge(src proto.Message)
func (*Order_Item) XXX_Size ¶
func (m *Order_Item) XXX_Size() int
func (*Order_Item) XXX_Unmarshal ¶
func (m *Order_Item) XXX_Unmarshal(b []byte) error
type Order_ItemValidationError ¶
type Order_ItemValidationError struct {
// contains filtered or unexported fields
}
Order_ItemValidationError is the validation error returned by Order_Item.Validate if the designated constraints aren't met.
func (Order_ItemValidationError) Cause ¶
func (e Order_ItemValidationError) Cause() error
Cause function returns cause value.
func (Order_ItemValidationError) Error ¶
func (e Order_ItemValidationError) Error() string
Error satisfies the builtin error interface
func (Order_ItemValidationError) ErrorName ¶
func (e Order_ItemValidationError) ErrorName() string
ErrorName returns error name.
func (Order_ItemValidationError) Field ¶
func (e Order_ItemValidationError) Field() string
Field function returns field value.
func (Order_ItemValidationError) Key ¶
func (e Order_ItemValidationError) Key() bool
Key function returns key value.
func (Order_ItemValidationError) Reason ¶
func (e Order_ItemValidationError) Reason() string
Reason function returns reason value.
type PaginateRequest ¶
type PaginateRequest struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"` Filter *Order `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` }
func (*PaginateRequest) Descriptor ¶
func (*PaginateRequest) Descriptor() ([]byte, []int)
func (*PaginateRequest) GetFilter ¶
func (m *PaginateRequest) GetFilter() *Order
func (*PaginateRequest) GetLimit ¶
func (m *PaginateRequest) GetLimit() int64
func (*PaginateRequest) GetSkip ¶
func (m *PaginateRequest) GetSkip() int64
func (*PaginateRequest) GetSort ¶
func (m *PaginateRequest) GetSort() string
func (*PaginateRequest) ProtoMessage ¶
func (*PaginateRequest) ProtoMessage()
func (*PaginateRequest) Reset ¶
func (m *PaginateRequest) Reset()
func (*PaginateRequest) String ¶
func (m *PaginateRequest) String() string
func (*PaginateRequest) Validate ¶
func (m *PaginateRequest) Validate() error
Validate checks the field values on PaginateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateRequest) XXX_DiscardUnknown ¶
func (m *PaginateRequest) XXX_DiscardUnknown()
func (*PaginateRequest) XXX_Marshal ¶
func (m *PaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateRequest) XXX_Merge ¶
func (m *PaginateRequest) XXX_Merge(src proto.Message)
func (*PaginateRequest) XXX_Size ¶
func (m *PaginateRequest) XXX_Size() int
func (*PaginateRequest) XXX_Unmarshal ¶
func (m *PaginateRequest) XXX_Unmarshal(b []byte) error
type PaginateRequestValidationError ¶
type PaginateRequestValidationError struct {
// contains filtered or unexported fields
}
PaginateRequestValidationError is the validation error returned by PaginateRequest.Validate if the designated constraints aren't met.
func (PaginateRequestValidationError) Cause ¶
func (e PaginateRequestValidationError) Cause() error
Cause function returns cause value.
func (PaginateRequestValidationError) Error ¶
func (e PaginateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateRequestValidationError) ErrorName ¶
func (e PaginateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateRequestValidationError) Field ¶
func (e PaginateRequestValidationError) Field() string
Field function returns field value.
func (PaginateRequestValidationError) Key ¶
func (e PaginateRequestValidationError) Key() bool
Key function returns key value.
func (PaginateRequestValidationError) Reason ¶
func (e PaginateRequestValidationError) Reason() string
Reason function returns reason value.
type PaginateResponse ¶
type PaginateResponse struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` Data []*Order `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` }
func (*PaginateResponse) Descriptor ¶
func (*PaginateResponse) Descriptor() ([]byte, []int)
func (*PaginateResponse) GetData ¶
func (m *PaginateResponse) GetData() []*Order
func (*PaginateResponse) GetLimit ¶
func (m *PaginateResponse) GetLimit() int64
func (*PaginateResponse) GetSkip ¶
func (m *PaginateResponse) GetSkip() int64
func (*PaginateResponse) GetTotal ¶
func (m *PaginateResponse) GetTotal() int64
func (*PaginateResponse) ProtoMessage ¶
func (*PaginateResponse) ProtoMessage()
func (*PaginateResponse) Reset ¶
func (m *PaginateResponse) Reset()
func (*PaginateResponse) String ¶
func (m *PaginateResponse) String() string
func (*PaginateResponse) Validate ¶
func (m *PaginateResponse) Validate() error
Validate checks the field values on PaginateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateResponse) XXX_DiscardUnknown ¶
func (m *PaginateResponse) XXX_DiscardUnknown()
func (*PaginateResponse) XXX_Marshal ¶
func (m *PaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateResponse) XXX_Merge ¶
func (m *PaginateResponse) XXX_Merge(src proto.Message)
func (*PaginateResponse) XXX_Size ¶
func (m *PaginateResponse) XXX_Size() int
func (*PaginateResponse) XXX_Unmarshal ¶
func (m *PaginateResponse) XXX_Unmarshal(b []byte) error
type PaginateResponseValidationError ¶
type PaginateResponseValidationError struct {
// contains filtered or unexported fields
}
PaginateResponseValidationError is the validation error returned by PaginateResponse.Validate if the designated constraints aren't met.
func (PaginateResponseValidationError) Cause ¶
func (e PaginateResponseValidationError) Cause() error
Cause function returns cause value.
func (PaginateResponseValidationError) Error ¶
func (e PaginateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateResponseValidationError) ErrorName ¶
func (e PaginateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateResponseValidationError) Field ¶
func (e PaginateResponseValidationError) Field() string
Field function returns field value.
func (PaginateResponseValidationError) Key ¶
func (e PaginateResponseValidationError) Key() bool
Key function returns key value.
func (PaginateResponseValidationError) Reason ¶
func (e PaginateResponseValidationError) Reason() string
Reason function returns reason value.
type Request ¶
type Request struct {
Data *Order `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) Validate ¶
Validate checks the field values on Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type RequestValidationError ¶
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶
func (e RequestValidationError) Reason() string
Reason function returns reason value.
type Response ¶
type Response struct {
Data *Order `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) Validate ¶
Validate checks the field values on Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type ResponseValidationError ¶
type ResponseValidationError struct {
// contains filtered or unexported fields
}
ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.
func (ResponseValidationError) Cause ¶
func (e ResponseValidationError) Cause() error
Cause function returns cause value.
func (ResponseValidationError) Error ¶
func (e ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseValidationError) ErrorName ¶
func (e ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseValidationError) Field ¶
func (e ResponseValidationError) Field() string
Field function returns field value.
func (ResponseValidationError) Key ¶
func (e ResponseValidationError) Key() bool
Key function returns key value.
func (ResponseValidationError) Reason ¶
func (e ResponseValidationError) Reason() string
Reason function returns reason value.