Documentation ¶
Index ¶
- type Customer
- func (*Customer) Descriptor() ([]byte, []int)
- func (m *Customer) GetCustomerId() int64
- func (m *Customer) GetEmail() string
- func (m *Customer) GetFirstName() string
- func (m *Customer) GetLastName() string
- func (*Customer) ProtoMessage()
- func (m *Customer) Reset()
- func (m *Customer) String() string
- func (m *Customer) XXX_DiscardUnknown()
- func (m *Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Customer) XXX_Merge(src proto.Message)
- func (m *Customer) XXX_Size() int
- func (m *Customer) XXX_Unmarshal(b []byte) error
- type Item
- func (*Item) Descriptor() ([]byte, []int)
- func (m *Item) GetCost() int64
- func (m *Item) GetDescription() string
- func (m *Item) GetItemId() int64
- func (m *Item) GetUrl() string
- func (*Item) ProtoMessage()
- func (m *Item) Reset()
- func (m *Item) String() string
- func (m *Item) XXX_DiscardUnknown()
- func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Item) XXX_Merge(src proto.Message)
- func (m *Item) XXX_Size() int
- func (m *Item) XXX_Unmarshal(b []byte) error
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetCustomer() *Customer
- func (m *Order) GetItems() []*Item
- func (m *Order) GetOrderDate() *timestamp.Timestamp
- func (m *Order) GetOrderId() int64
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Customer ¶
type Customer struct { CustomerId int64 `protobuf:"varint,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Customer) Descriptor ¶
func (*Customer) GetCustomerId ¶
func (*Customer) GetFirstName ¶
func (*Customer) GetLastName ¶
func (*Customer) ProtoMessage ¶
func (*Customer) ProtoMessage()
func (*Customer) XXX_DiscardUnknown ¶
func (m *Customer) XXX_DiscardUnknown()
func (*Customer) XXX_Marshal ¶
func (*Customer) XXX_Unmarshal ¶
type Item ¶
type Item struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Cost int64 `protobuf:"varint,4,opt,name=cost,proto3" json:"cost,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Item) Descriptor ¶
func (*Item) GetDescription ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) XXX_DiscardUnknown ¶
func (m *Item) XXX_DiscardUnknown()
func (*Item) XXX_Unmarshal ¶
type Order ¶
type Order struct { OrderId int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` Items []*Item `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"` OrderDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=order_date,json=orderDate,proto3" json:"order_date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Order) Descriptor ¶
func (*Order) GetCustomer ¶
func (*Order) GetOrderDate ¶
func (*Order) GetOrderId ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.