messages

package
v0.0.0-...-d724b4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Customer) GetCustomerId

func (m *Customer) GetCustomerId() int64

func (*Customer) GetEmail

func (m *Customer) GetEmail() string

func (*Customer) GetFirstName

func (m *Customer) GetFirstName() string

func (*Customer) GetLastName

func (m *Customer) GetLastName() string

func (*Customer) ProtoMessage

func (*Customer) ProtoMessage()

func (*Customer) Reset

func (m *Customer) Reset()

func (*Customer) String

func (m *Customer) String() string

func (*Customer) XXX_DiscardUnknown

func (m *Customer) XXX_DiscardUnknown()

func (*Customer) XXX_Marshal

func (m *Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Customer) XXX_Merge

func (m *Customer) XXX_Merge(src proto.Message)

func (*Customer) XXX_Size

func (m *Customer) XXX_Size() int

func (*Customer) XXX_Unmarshal

func (m *Customer) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Item) GetCost

func (m *Item) GetCost() int64

func (*Item) GetDescription

func (m *Item) GetDescription() string

func (*Item) GetItemId

func (m *Item) GetItemId() int64

func (*Item) GetUrl

func (m *Item) GetUrl() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) String

func (m *Item) String() string

func (*Item) XXX_DiscardUnknown

func (m *Item) XXX_DiscardUnknown()

func (*Item) XXX_Marshal

func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Item) XXX_Merge

func (m *Item) XXX_Merge(src proto.Message)

func (*Item) XXX_Size

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal

func (m *Item) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Order) GetCustomer

func (m *Order) GetCustomer() *Customer

func (*Order) GetItems

func (m *Order) GetItems() []*Item

func (*Order) GetOrderDate

func (m *Order) GetOrderDate() *timestamp.Timestamp

func (*Order) GetOrderId

func (m *Order) GetOrderId() int64

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) Reset

func (m *Order) Reset()

func (*Order) String

func (m *Order) String() string

func (*Order) XXX_DiscardUnknown

func (m *Order) XXX_DiscardUnknown()

func (*Order) XXX_Marshal

func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Order) XXX_Merge

func (m *Order) XXX_Merge(src proto.Message)

func (*Order) XXX_Size

func (m *Order) XXX_Size() int

func (*Order) XXX_Unmarshal

func (m *Order) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL