Documentation ¶
Index ¶
- Variables
- type Cart
- type Kind
- type LineItem
- func (*LineItem) Descriptor() ([]byte, []int)deprecated
- func (x *LineItem) GetId() *wrapperspb.Int64Value
- func (x *LineItem) GetQuantity() *wrapperspb.Int64Value
- func (*LineItem) ProtoMessage()
- func (x *LineItem) ProtoReflect() protoreflect.Message
- func (x *LineItem) Reset()
- func (x *LineItem) String() string
- type Order
- func (*Order) Descriptor() ([]byte, []int)deprecated
- func (x *Order) GetCart() *Cart
- func (m *Order) GetEvent() isOrder_Event
- func (x *Order) GetId() *wrapperspb.Int64Value
- func (x *Order) GetKind() Kind
- func (x *Order) GetLineitems() []*LineItem
- func (x *Order) GetList() []string
- func (x *Order) GetOpaque() string
- func (x *Order) GetOrdercreated() *OrderCreated
- func (x *Order) GetOrderupdated() *OrderUpdated
- func (x *Order) GetProperties() *structpb.Struct
- func (x *Order) GetToken() *wrapperspb.StringValue
- func (*Order) ProtoMessage()
- func (x *Order) ProtoReflect() protoreflect.Message
- func (x *Order) Reset()
- func (x *Order) String() string
- type OrderCreated
- func (*OrderCreated) Descriptor() ([]byte, []int)deprecated
- func (x *OrderCreated) GetCart() *Cart
- func (x *OrderCreated) GetId() *wrapperspb.Int64Value
- func (*OrderCreated) ProtoMessage()
- func (x *OrderCreated) ProtoReflect() protoreflect.Message
- func (x *OrderCreated) Reset()
- func (x *OrderCreated) String() string
- type OrderUpdated
- func (*OrderUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *OrderUpdated) GetCart() *Cart
- func (x *OrderUpdated) GetId() *wrapperspb.Int64Value
- func (*OrderUpdated) ProtoMessage()
- func (x *OrderUpdated) ProtoReflect() protoreflect.Message
- func (x *OrderUpdated) Reset()
- func (x *OrderUpdated) String() string
- type Order_Ordercreated
- type Order_Orderupdated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Kind_name = map[int32]string{ 0: "UNKNOWN", 1: "KINDA", 2: "KINDB", } Kind_value = map[string]int32{ "UNKNOWN": 0, "KINDA": 1, "KINDB": 2, } )
Enum value maps for Kind.
View Source
var File_example_proto_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cart ¶
type Cart struct { Id *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Cart) Descriptor
deprecated
func (*Cart) GetId ¶
func (x *Cart) GetId() *wrapperspb.Int64Value
func (*Cart) ProtoMessage ¶
func (*Cart) ProtoMessage()
func (*Cart) ProtoReflect ¶
func (x *Cart) ProtoReflect() protoreflect.Message
type Kind ¶
type Kind int32
func (Kind) Descriptor ¶
func (Kind) Descriptor() protoreflect.EnumDescriptor
func (Kind) EnumDescriptor
deprecated
func (Kind) Number ¶
func (x Kind) Number() protoreflect.EnumNumber
func (Kind) Type ¶
func (Kind) Type() protoreflect.EnumType
type LineItem ¶
type LineItem struct { Id *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Quantity *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` // contains filtered or unexported fields }
func (*LineItem) Descriptor
deprecated
func (*LineItem) GetId ¶
func (x *LineItem) GetId() *wrapperspb.Int64Value
func (*LineItem) GetQuantity ¶
func (x *LineItem) GetQuantity() *wrapperspb.Int64Value
func (*LineItem) ProtoMessage ¶
func (*LineItem) ProtoMessage()
func (*LineItem) ProtoReflect ¶
func (x *LineItem) ProtoReflect() protoreflect.Message
type Order ¶
type Order struct { Id *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Token *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` Lineitems []*LineItem `protobuf:"bytes,4,rep,name=lineitems,proto3" json:"lineitems,omitempty"` // Types that are assignable to Event: // *Order_Orderupdated // *Order_Ordercreated Event isOrder_Event `protobuf_oneof:"event"` List []string `protobuf:"bytes,7,rep,name=list,proto3" json:"list,omitempty"` Cart *Cart `protobuf:"bytes,8,opt,name=cart,proto3" json:"cart,omitempty"` Opaque string `protobuf:"bytes,9,opt,name=opaque,proto3" json:"opaque,omitempty"` Kind Kind `protobuf:"varint,10,opt,name=kind,proto3,enum=zendesk.protobuf.example.Kind" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*Order) Descriptor
deprecated
func (*Order) GetId ¶
func (x *Order) GetId() *wrapperspb.Int64Value
func (*Order) GetLineitems ¶
func (*Order) GetOrdercreated ¶
func (x *Order) GetOrdercreated() *OrderCreated
func (*Order) GetOrderupdated ¶
func (x *Order) GetOrderupdated() *OrderUpdated
func (*Order) GetProperties ¶
func (*Order) GetToken ¶
func (x *Order) GetToken() *wrapperspb.StringValue
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
type OrderCreated ¶
type OrderCreated struct { Id *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Cart *Cart `protobuf:"bytes,2,opt,name=cart,proto3" json:"cart,omitempty"` // contains filtered or unexported fields }
func (*OrderCreated) Descriptor
deprecated
func (*OrderCreated) Descriptor() ([]byte, []int)
Deprecated: Use OrderCreated.ProtoReflect.Descriptor instead.
func (*OrderCreated) GetCart ¶
func (x *OrderCreated) GetCart() *Cart
func (*OrderCreated) GetId ¶
func (x *OrderCreated) GetId() *wrapperspb.Int64Value
func (*OrderCreated) ProtoMessage ¶
func (*OrderCreated) ProtoMessage()
func (*OrderCreated) ProtoReflect ¶
func (x *OrderCreated) ProtoReflect() protoreflect.Message
func (*OrderCreated) Reset ¶
func (x *OrderCreated) Reset()
func (*OrderCreated) String ¶
func (x *OrderCreated) String() string
type OrderUpdated ¶
type OrderUpdated struct { Id *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Cart *Cart `protobuf:"bytes,2,opt,name=cart,proto3" json:"cart,omitempty"` // contains filtered or unexported fields }
func (*OrderUpdated) Descriptor
deprecated
func (*OrderUpdated) Descriptor() ([]byte, []int)
Deprecated: Use OrderUpdated.ProtoReflect.Descriptor instead.
func (*OrderUpdated) GetCart ¶
func (x *OrderUpdated) GetCart() *Cart
func (*OrderUpdated) GetId ¶
func (x *OrderUpdated) GetId() *wrapperspb.Int64Value
func (*OrderUpdated) ProtoMessage ¶
func (*OrderUpdated) ProtoMessage()
func (*OrderUpdated) ProtoReflect ¶
func (x *OrderUpdated) ProtoReflect() protoreflect.Message
func (*OrderUpdated) Reset ¶
func (x *OrderUpdated) Reset()
func (*OrderUpdated) String ¶
func (x *OrderUpdated) String() string
type Order_Ordercreated ¶
type Order_Ordercreated struct {
Ordercreated *OrderCreated `protobuf:"bytes,6,opt,name=ordercreated,proto3,oneof"`
}
type Order_Orderupdated ¶
type Order_Orderupdated struct {
Orderupdated *OrderUpdated `protobuf:"bytes,5,opt,name=orderupdated,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.