Documentation ¶
Index ¶
- Variables
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetId() int64
- func (m *Address) GetType() string
- func (m *Address) Marshal() (dAtA []byte, err error)
- func (m *Address) MarshalTo(dAtA []byte) (int, error)
- func (m *Address) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) Size() (n int)
- func (m *Address) String() string
- func (m *Address) Unmarshal(dAtA []byte) error
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type CustomOneof
- func (*CustomOneof) Descriptor() ([]byte, []int)
- func (m *CustomOneof) GetInt64Value() int64
- func (m *CustomOneof) GetStringValue() string
- func (m *CustomOneof) GetValue() isCustomOneof_Value
- func (m *CustomOneof) Marshal() (dAtA []byte, err error)
- func (m *CustomOneof) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomOneof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomOneof) ProtoMessage()
- func (m *CustomOneof) Reset()
- func (m *CustomOneof) Size() (n int)
- func (m *CustomOneof) String() string
- func (m *CustomOneof) Unmarshal(dAtA []byte) error
- func (m *CustomOneof) XXX_DiscardUnknown()
- func (m *CustomOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomOneof) XXX_Merge(src proto.Message)
- func (*CustomOneof) XXX_OneofWrappers() []interface{}
- func (m *CustomOneof) XXX_Size() int
- func (m *CustomOneof) XXX_Unmarshal(b []byte) error
- type CustomOneof_Int64Value
- type CustomOneof_StringValue
- type CustomType
- func (*CustomType) Descriptor() ([]byte, []int)
- func (m *CustomType) GetValue() string
- func (m *CustomType) Marshal() (dAtA []byte, err error)
- func (m *CustomType) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomType) ProtoMessage()
- func (m *CustomType) Reset()
- func (m *CustomType) Size() (n int)
- func (m *CustomType) String() string
- func (m *CustomType) Unmarshal(dAtA []byte) error
- func (m *CustomType) XXX_DiscardUnknown()
- func (m *CustomType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomType) XXX_Merge(src proto.Message)
- func (m *CustomType) XXX_Size() int
- func (m *CustomType) XXX_Unmarshal(b []byte) error
- type Customer
- func (*Customer) Descriptor() ([]byte, []int)
- func (m *Customer) GetAddresses() []*Address
- func (m *Customer) GetBillingAddress() Address
- func (m *Customer) GetDefaultAddress() *Address
- func (m *Customer) GetId() int64
- func (m *Customer) GetMapFieldToWithoutDigits() string
- func (m *Customer) GetMapField_1() string
- func (m *Customer) GetName() string
- func (m *Customer) Marshal() (dAtA []byte, err error)
- func (m *Customer) MarshalTo(dAtA []byte) (int, error)
- func (m *Customer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Customer) ProtoMessage()
- func (m *Customer) Reset()
- func (m *Customer) Size() (n int)
- func (m *Customer) String() string
- func (m *Customer) Unmarshal(dAtA []byte) error
- 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 Ints
- func (*Ints) Descriptor() ([]byte, []int)
- func (m *Ints) GetInt32Value() int32
- func (m *Ints) GetInt64Value() int64
- func (m *Ints) GetIntFor_32Value() int32
- func (m *Ints) GetIntFor_64Value() int64
- func (m *Ints) GetStringValue() int64
- func (m *Ints) Marshal() (dAtA []byte, err error)
- func (m *Ints) MarshalTo(dAtA []byte) (int, error)
- func (m *Ints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ints) ProtoMessage()
- func (m *Ints) Reset()
- func (m *Ints) Size() (n int)
- func (m *Ints) String() string
- func (m *Ints) Unmarshal(dAtA []byte) error
- func (m *Ints) XXX_DiscardUnknown()
- func (m *Ints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ints) XXX_Merge(src proto.Message)
- func (m *Ints) XXX_Size() int
- func (m *Ints) XXX_Unmarshal(b []byte) error
- type LineItem
- func (*LineItem) Descriptor() ([]byte, []int)
- func (m *LineItem) GetID() int64
- func (m *LineItem) GetSKU() int64
- func (m *LineItem) GetSomeField() string
- func (m *LineItem) GetType() string
- func (m *LineItem) GetURL() string
- func (m *LineItem) Marshal() (dAtA []byte, err error)
- func (m *LineItem) MarshalTo(dAtA []byte) (int, error)
- func (m *LineItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LineItem) ProtoMessage()
- func (m *LineItem) Reset()
- func (m *LineItem) Size() (n int)
- func (m *LineItem) String() string
- func (m *LineItem) Unmarshal(dAtA []byte) error
- func (m *LineItem) XXX_DiscardUnknown()
- func (m *LineItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LineItem) XXX_Merge(src proto.Message)
- func (m *LineItem) XXX_Size() int
- func (m *LineItem) XXX_Unmarshal(b []byte) error
- type LineItemUsage
- func (*LineItemUsage) Descriptor() ([]byte, []int)
- func (m *LineItemUsage) GetItem() *LineItem
- func (m *LineItemUsage) GetList() []*LineItem
- func (m *LineItemUsage) Marshal() (dAtA []byte, err error)
- func (m *LineItemUsage) MarshalTo(dAtA []byte) (int, error)
- func (m *LineItemUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LineItemUsage) ProtoMessage()
- func (m *LineItemUsage) Reset()
- func (m *LineItemUsage) Size() (n int)
- func (m *LineItemUsage) String() string
- func (m *LineItemUsage) Unmarshal(dAtA []byte) error
- func (m *LineItemUsage) XXX_DiscardUnknown()
- func (m *LineItemUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LineItemUsage) XXX_Merge(src proto.Message)
- func (m *LineItemUsage) XXX_Size() int
- func (m *LineItemUsage) XXX_Unmarshal(b []byte) error
- type NotSupportedOneOf
- func (*NotSupportedOneOf) Descriptor() ([]byte, []int)
- func (m *NotSupportedOneOf) GetBoolValue() bool
- func (m *NotSupportedOneOf) GetStringValue() string
- func (m *NotSupportedOneOf) GetTheDecl() isNotSupportedOneOf_TheDecl
- func (m *NotSupportedOneOf) Marshal() (dAtA []byte, err error)
- func (m *NotSupportedOneOf) MarshalTo(dAtA []byte) (int, error)
- func (m *NotSupportedOneOf) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NotSupportedOneOf) ProtoMessage()
- func (m *NotSupportedOneOf) Reset()
- func (m *NotSupportedOneOf) Size() (n int)
- func (m *NotSupportedOneOf) String() string
- func (m *NotSupportedOneOf) Unmarshal(dAtA []byte) error
- func (m *NotSupportedOneOf) XXX_DiscardUnknown()
- func (m *NotSupportedOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NotSupportedOneOf) XXX_Merge(src proto.Message)
- func (*NotSupportedOneOf) XXX_OneofWrappers() []interface{}
- func (m *NotSupportedOneOf) XXX_Size() int
- func (m *NotSupportedOneOf) XXX_Unmarshal(b []byte) error
- type NotSupportedOneOf_BoolValue
- type NotSupportedOneOf_StringValue
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetFirstId() *TheOne
- func (m *Order) GetId() int64
- func (m *Order) GetSecondId() *TheOne
- func (m *Order) GetThirdUrl() *TheOne
- func (m *Order) Marshal() (dAtA []byte, err error)
- func (m *Order) MarshalTo(dAtA []byte) (int, error)
- func (m *Order) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) Size() (n int)
- func (m *Order) String() string
- func (m *Order) Unmarshal(dAtA []byte) 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 Pointer2Value
- func (*Pointer2Value) Descriptor() ([]byte, []int)
- func (m *Pointer2Value) GetAddressNotNil() *Address
- func (m *Pointer2Value) Marshal() (dAtA []byte, err error)
- func (m *Pointer2Value) MarshalTo(dAtA []byte) (int, error)
- func (m *Pointer2Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Pointer2Value) ProtoMessage()
- func (m *Pointer2Value) Reset()
- func (m *Pointer2Value) Size() (n int)
- func (m *Pointer2Value) String() string
- func (m *Pointer2Value) Unmarshal(dAtA []byte) error
- func (m *Pointer2Value) XXX_DiscardUnknown()
- func (m *Pointer2Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pointer2Value) XXX_Merge(src proto.Message)
- func (m *Pointer2Value) XXX_Size() int
- func (m *Pointer2Value) XXX_Unmarshal(b []byte) error
- type Product
- func (*Product) Descriptor() ([]byte, []int)
- func (m *Product) GetCustomField() *CustomType
- func (m *Product) GetCustomOneof() *CustomOneof
- func (m *Product) GetId() int32
- func (m *Product) GetName() string
- func (m *Product) GetNotsupportedOneof() *NotSupportedOneOf
- func (m *Product) GetOne() *TheOne
- func (m *Product) GetSecondId() *TheOne
- func (m *Product) Marshal() (dAtA []byte, err error)
- func (m *Product) MarshalTo(dAtA []byte) (int, error)
- func (m *Product) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Product) ProtoMessage()
- func (m *Product) Reset()
- func (m *Product) Size() (n int)
- func (m *Product) String() string
- func (m *Product) Unmarshal(dAtA []byte) error
- func (m *Product) XXX_DiscardUnknown()
- func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product) XXX_Merge(src proto.Message)
- func (m *Product) XXX_Size() int
- func (m *Product) XXX_Unmarshal(b []byte) error
- type SkippedMessageOne
- func (*SkippedMessageOne) Descriptor() ([]byte, []int)
- func (m *SkippedMessageOne) Marshal() (dAtA []byte, err error)
- func (m *SkippedMessageOne) MarshalTo(dAtA []byte) (int, error)
- func (m *SkippedMessageOne) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SkippedMessageOne) ProtoMessage()
- func (m *SkippedMessageOne) Reset()
- func (m *SkippedMessageOne) Size() (n int)
- func (m *SkippedMessageOne) String() string
- func (m *SkippedMessageOne) Unmarshal(dAtA []byte) error
- func (m *SkippedMessageOne) XXX_DiscardUnknown()
- func (m *SkippedMessageOne) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SkippedMessageOne) XXX_Merge(src proto.Message)
- func (m *SkippedMessageOne) XXX_Size() int
- func (m *SkippedMessageOne) XXX_Unmarshal(b []byte) error
- type SkippedMessageTwo
- func (*SkippedMessageTwo) Descriptor() ([]byte, []int)
- func (m *SkippedMessageTwo) Marshal() (dAtA []byte, err error)
- func (m *SkippedMessageTwo) MarshalTo(dAtA []byte) (int, error)
- func (m *SkippedMessageTwo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SkippedMessageTwo) ProtoMessage()
- func (m *SkippedMessageTwo) Reset()
- func (m *SkippedMessageTwo) Size() (n int)
- func (m *SkippedMessageTwo) String() string
- func (m *SkippedMessageTwo) Unmarshal(dAtA []byte) error
- func (m *SkippedMessageTwo) XXX_DiscardUnknown()
- func (m *SkippedMessageTwo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SkippedMessageTwo) XXX_Merge(src proto.Message)
- func (m *SkippedMessageTwo) XXX_Size() int
- func (m *SkippedMessageTwo) XXX_Unmarshal(b []byte) error
- type TheOne
- func (*TheOne) Descriptor() ([]byte, []int)
- func (m *TheOne) GetInt64Value() int64
- func (m *TheOne) GetStringValue() string
- func (m *TheOne) GetTheDecl() isTheOne_TheDecl
- func (m *TheOne) Marshal() (dAtA []byte, err error)
- func (m *TheOne) MarshalTo(dAtA []byte) (int, error)
- func (m *TheOne) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TheOne) ProtoMessage()
- func (m *TheOne) Reset()
- func (m *TheOne) Size() (n int)
- func (m *TheOne) String() string
- func (m *TheOne) Unmarshal(dAtA []byte) error
- func (m *TheOne) XXX_DiscardUnknown()
- func (m *TheOne) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TheOne) XXX_Merge(src proto.Message)
- func (*TheOne) XXX_OneofWrappers() []interface{}
- func (m *TheOne) XXX_Size() int
- func (m *TheOne) XXX_Unmarshal(b []byte) error
- type TheOne_Int64Value
- type TheOne_StringValue
- type Timer
- func (*Timer) Descriptor() ([]byte, []int)
- func (m *Timer) GetPtrTime() *time.Time
- func (m *Timer) GetTime() time.Time
- func (m *Timer) GetTimePtrToPtrStruct() *time.Time
- func (m *Timer) GetTimePtrToStruct() *time.Time
- func (m *Timer) GetTimeToStruct() time.Time
- func (m *Timer) GetTimeToStructPtr() *time.Time
- func (m *Timer) Marshal() (dAtA []byte, err error)
- func (m *Timer) MarshalTo(dAtA []byte) (int, error)
- func (m *Timer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Timer) ProtoMessage()
- func (m *Timer) Reset()
- func (m *Timer) Size() (n int)
- func (m *Timer) String() string
- func (m *Timer) Unmarshal(dAtA []byte) error
- func (m *Timer) XXX_DiscardUnknown()
- func (m *Timer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Timer) XXX_Merge(src proto.Message)
- func (m *Timer) XXX_Size() int
- func (m *Timer) XXX_Unmarshal(b []byte) error
- type Value2Pointer
- func (*Value2Pointer) Descriptor() ([]byte, []int)
- func (m *Value2Pointer) GetAddressNil() Address
- func (m *Value2Pointer) Marshal() (dAtA []byte, err error)
- func (m *Value2Pointer) MarshalTo(dAtA []byte) (int, error)
- func (m *Value2Pointer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Value2Pointer) ProtoMessage()
- func (m *Value2Pointer) Reset()
- func (m *Value2Pointer) Size() (n int)
- func (m *Value2Pointer) String() string
- func (m *Value2Pointer) Unmarshal(dAtA []byte) error
- func (m *Value2Pointer) XXX_DiscardUnknown()
- func (m *Value2Pointer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Value2Pointer) XXX_Merge(src proto.Message)
- func (m *Value2Pointer) XXX_Size() int
- func (m *Value2Pointer) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` }
func (*Address) Descriptor ¶
func (*Address) MarshalToSizedBuffer ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type CustomOneof ¶
type CustomOneof struct { // Types that are valid to be assigned to Value: // *CustomOneof_StringValue // *CustomOneof_Int64Value Value isCustomOneof_Value `protobuf_oneof:"value"` }
func (*CustomOneof) Descriptor ¶
func (*CustomOneof) Descriptor() ([]byte, []int)
func (*CustomOneof) GetInt64Value ¶
func (m *CustomOneof) GetInt64Value() int64
func (*CustomOneof) GetStringValue ¶
func (m *CustomOneof) GetStringValue() string
func (*CustomOneof) GetValue ¶
func (m *CustomOneof) GetValue() isCustomOneof_Value
func (*CustomOneof) Marshal ¶
func (m *CustomOneof) Marshal() (dAtA []byte, err error)
func (*CustomOneof) MarshalToSizedBuffer ¶
func (m *CustomOneof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomOneof) ProtoMessage ¶
func (*CustomOneof) ProtoMessage()
func (*CustomOneof) Reset ¶
func (m *CustomOneof) Reset()
func (*CustomOneof) Size ¶
func (m *CustomOneof) Size() (n int)
func (*CustomOneof) String ¶
func (m *CustomOneof) String() string
func (*CustomOneof) Unmarshal ¶
func (m *CustomOneof) Unmarshal(dAtA []byte) error
func (*CustomOneof) XXX_DiscardUnknown ¶
func (m *CustomOneof) XXX_DiscardUnknown()
func (*CustomOneof) XXX_Marshal ¶
func (m *CustomOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomOneof) XXX_Merge ¶
func (m *CustomOneof) XXX_Merge(src proto.Message)
func (*CustomOneof) XXX_OneofWrappers ¶
func (*CustomOneof) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CustomOneof) XXX_Size ¶
func (m *CustomOneof) XXX_Size() int
func (*CustomOneof) XXX_Unmarshal ¶
func (m *CustomOneof) XXX_Unmarshal(b []byte) error
type CustomOneof_Int64Value ¶
type CustomOneof_Int64Value struct {
Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof" json:"int64_value,omitempty"`
}
func (*CustomOneof_Int64Value) MarshalTo ¶
func (m *CustomOneof_Int64Value) MarshalTo(dAtA []byte) (int, error)
func (*CustomOneof_Int64Value) MarshalToSizedBuffer ¶
func (m *CustomOneof_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomOneof_Int64Value) Size ¶
func (m *CustomOneof_Int64Value) Size() (n int)
type CustomOneof_StringValue ¶
type CustomOneof_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}
func (*CustomOneof_StringValue) MarshalTo ¶
func (m *CustomOneof_StringValue) MarshalTo(dAtA []byte) (int, error)
func (*CustomOneof_StringValue) MarshalToSizedBuffer ¶
func (m *CustomOneof_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomOneof_StringValue) Size ¶
func (m *CustomOneof_StringValue) Size() (n int)
type CustomType ¶
type CustomType struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*CustomType) Descriptor ¶
func (*CustomType) Descriptor() ([]byte, []int)
func (*CustomType) GetValue ¶
func (m *CustomType) GetValue() string
func (*CustomType) Marshal ¶
func (m *CustomType) Marshal() (dAtA []byte, err error)
func (*CustomType) MarshalToSizedBuffer ¶
func (m *CustomType) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomType) ProtoMessage ¶
func (*CustomType) ProtoMessage()
func (*CustomType) Reset ¶
func (m *CustomType) Reset()
func (*CustomType) Size ¶
func (m *CustomType) Size() (n int)
func (*CustomType) String ¶
func (m *CustomType) String() string
func (*CustomType) Unmarshal ¶
func (m *CustomType) Unmarshal(dAtA []byte) error
func (*CustomType) XXX_DiscardUnknown ¶
func (m *CustomType) XXX_DiscardUnknown()
func (*CustomType) XXX_Marshal ¶
func (m *CustomType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomType) XXX_Merge ¶
func (m *CustomType) XXX_Merge(src proto.Message)
func (*CustomType) XXX_Size ¶
func (m *CustomType) XXX_Size() int
func (*CustomType) XXX_Unmarshal ¶
func (m *CustomType) XXX_Unmarshal(b []byte) error
type Customer ¶
type Customer struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Addresses []*Address `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` DefaultAddress *Address `protobuf:"bytes,4,opt,name=default_address,json=defaultAddress,proto3" json:"default_address,omitempty"` BillingAddress Address `protobuf:"bytes,5,opt,name=billing_address,json=billingAddress,proto3" json:"billing_address"` MapField_1 string `protobuf:"bytes,6,opt,name=map_field_1,json=mapField1,proto3" json:"map_field_1,omitempty"` MapFieldToWithoutDigits string `` /* 136-byte string literal not displayed */ }
func (*Customer) Descriptor ¶
func (*Customer) GetAddresses ¶
func (*Customer) GetBillingAddress ¶
func (*Customer) GetDefaultAddress ¶
func (*Customer) GetMapFieldToWithoutDigits ¶
func (*Customer) GetMapField_1 ¶
func (*Customer) MarshalToSizedBuffer ¶
func (*Customer) ProtoMessage ¶
func (*Customer) ProtoMessage()
func (*Customer) XXX_DiscardUnknown ¶
func (m *Customer) XXX_DiscardUnknown()
func (*Customer) XXX_Marshal ¶
func (*Customer) XXX_Unmarshal ¶
type Ints ¶
type Ints struct { IntFor_32Value int32 `protobuf:"varint,1,opt,name=int_for_32_value,json=intFor32Value,proto3" json:"int_for_32_value,omitempty"` IntFor_64Value int64 `protobuf:"varint,2,opt,name=int_for_64_value,json=intFor64Value,proto3" json:"int_for_64_value,omitempty"` Int32Value int32 `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Int64Value int64 `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` StringValue int64 `protobuf:"varint,5,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` }
func (*Ints) Descriptor ¶
func (*Ints) GetInt32Value ¶
func (*Ints) GetInt64Value ¶
func (*Ints) GetIntFor_32Value ¶
func (*Ints) GetIntFor_64Value ¶
func (*Ints) GetStringValue ¶
func (*Ints) ProtoMessage ¶
func (*Ints) ProtoMessage()
func (*Ints) XXX_DiscardUnknown ¶
func (m *Ints) XXX_DiscardUnknown()
func (*Ints) XXX_Unmarshal ¶
type LineItem ¶
type LineItem struct { // Capitalized ID. It's not by protobuf style guide, but supported too. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"` // SomeField will not be added to transformation function. SomeField string `protobuf:"bytes,3,opt,name=some_field,json=someField,proto3" json:"some_field,omitempty"` URL string `protobuf:"bytes,4,opt,name=URL,proto3" json:"URL,omitempty"` SKU int64 `protobuf:"varint,5,opt,name=SKU,proto3" json:"SKU,omitempty"` }
func (*LineItem) Descriptor ¶
func (*LineItem) GetSomeField ¶
func (*LineItem) MarshalToSizedBuffer ¶
func (*LineItem) ProtoMessage ¶
func (*LineItem) ProtoMessage()
func (*LineItem) XXX_DiscardUnknown ¶
func (m *LineItem) XXX_DiscardUnknown()
func (*LineItem) XXX_Marshal ¶
func (*LineItem) XXX_Unmarshal ¶
type LineItemUsage ¶
type LineItemUsage struct { Item *LineItem `protobuf:"bytes,1,opt,name=Item,proto3" json:"Item,omitempty"` List []*LineItem `protobuf:"bytes,2,rep,name=List,proto3" json:"List,omitempty"` }
opposite message order, usage of LineItem is earlier than message is defined.
func (*LineItemUsage) Descriptor ¶
func (*LineItemUsage) Descriptor() ([]byte, []int)
func (*LineItemUsage) GetItem ¶
func (m *LineItemUsage) GetItem() *LineItem
func (*LineItemUsage) GetList ¶
func (m *LineItemUsage) GetList() []*LineItem
func (*LineItemUsage) Marshal ¶
func (m *LineItemUsage) Marshal() (dAtA []byte, err error)
func (*LineItemUsage) MarshalToSizedBuffer ¶
func (m *LineItemUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LineItemUsage) ProtoMessage ¶
func (*LineItemUsage) ProtoMessage()
func (*LineItemUsage) Reset ¶
func (m *LineItemUsage) Reset()
func (*LineItemUsage) Size ¶
func (m *LineItemUsage) Size() (n int)
func (*LineItemUsage) String ¶
func (m *LineItemUsage) String() string
func (*LineItemUsage) Unmarshal ¶
func (m *LineItemUsage) Unmarshal(dAtA []byte) error
func (*LineItemUsage) XXX_DiscardUnknown ¶
func (m *LineItemUsage) XXX_DiscardUnknown()
func (*LineItemUsage) XXX_Marshal ¶
func (m *LineItemUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LineItemUsage) XXX_Merge ¶
func (m *LineItemUsage) XXX_Merge(src proto.Message)
func (*LineItemUsage) XXX_Size ¶
func (m *LineItemUsage) XXX_Size() int
func (*LineItemUsage) XXX_Unmarshal ¶
func (m *LineItemUsage) XXX_Unmarshal(b []byte) error
type NotSupportedOneOf ¶
type NotSupportedOneOf struct { // Types that are valid to be assigned to TheDecl: // *NotSupportedOneOf_BoolValue // *NotSupportedOneOf_StringValue TheDecl isNotSupportedOneOf_TheDecl `protobuf_oneof:"the_decl"` }
func (*NotSupportedOneOf) Descriptor ¶
func (*NotSupportedOneOf) Descriptor() ([]byte, []int)
func (*NotSupportedOneOf) GetBoolValue ¶
func (m *NotSupportedOneOf) GetBoolValue() bool
func (*NotSupportedOneOf) GetStringValue ¶
func (m *NotSupportedOneOf) GetStringValue() string
func (*NotSupportedOneOf) GetTheDecl ¶
func (m *NotSupportedOneOf) GetTheDecl() isNotSupportedOneOf_TheDecl
func (*NotSupportedOneOf) Marshal ¶
func (m *NotSupportedOneOf) Marshal() (dAtA []byte, err error)
func (*NotSupportedOneOf) MarshalTo ¶
func (m *NotSupportedOneOf) MarshalTo(dAtA []byte) (int, error)
func (*NotSupportedOneOf) MarshalToSizedBuffer ¶
func (m *NotSupportedOneOf) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NotSupportedOneOf) ProtoMessage ¶
func (*NotSupportedOneOf) ProtoMessage()
func (*NotSupportedOneOf) Reset ¶
func (m *NotSupportedOneOf) Reset()
func (*NotSupportedOneOf) Size ¶
func (m *NotSupportedOneOf) Size() (n int)
func (*NotSupportedOneOf) String ¶
func (m *NotSupportedOneOf) String() string
func (*NotSupportedOneOf) Unmarshal ¶
func (m *NotSupportedOneOf) Unmarshal(dAtA []byte) error
func (*NotSupportedOneOf) XXX_DiscardUnknown ¶
func (m *NotSupportedOneOf) XXX_DiscardUnknown()
func (*NotSupportedOneOf) XXX_Marshal ¶
func (m *NotSupportedOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NotSupportedOneOf) XXX_Merge ¶
func (m *NotSupportedOneOf) XXX_Merge(src proto.Message)
func (*NotSupportedOneOf) XXX_OneofWrappers ¶
func (*NotSupportedOneOf) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*NotSupportedOneOf) XXX_Size ¶
func (m *NotSupportedOneOf) XXX_Size() int
func (*NotSupportedOneOf) XXX_Unmarshal ¶
func (m *NotSupportedOneOf) XXX_Unmarshal(b []byte) error
type NotSupportedOneOf_BoolValue ¶
type NotSupportedOneOf_BoolValue struct {
BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof" json:"bool_value,omitempty"`
}
func (*NotSupportedOneOf_BoolValue) MarshalTo ¶
func (m *NotSupportedOneOf_BoolValue) MarshalTo(dAtA []byte) (int, error)
func (*NotSupportedOneOf_BoolValue) MarshalToSizedBuffer ¶
func (m *NotSupportedOneOf_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NotSupportedOneOf_BoolValue) Size ¶
func (m *NotSupportedOneOf_BoolValue) Size() (n int)
type NotSupportedOneOf_StringValue ¶
type NotSupportedOneOf_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}
func (*NotSupportedOneOf_StringValue) MarshalTo ¶
func (m *NotSupportedOneOf_StringValue) MarshalTo(dAtA []byte) (int, error)
func (*NotSupportedOneOf_StringValue) MarshalToSizedBuffer ¶
func (m *NotSupportedOneOf_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NotSupportedOneOf_StringValue) Size ¶
func (m *NotSupportedOneOf_StringValue) Size() (n int)
type Order ¶
type Order struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FirstId *TheOne `protobuf:"bytes,2,opt,name=first_id,json=firstId,proto3" json:"first_id,omitempty"` SecondId *TheOne `protobuf:"bytes,3,opt,name=second_id,json=secondId,proto3" json:"second_id,omitempty"` ThirdUrl *TheOne `protobuf:"bytes,4,opt,name=third_url,json=thirdUrl,proto3" json:"third_url,omitempty"` }
func (*Order) Descriptor ¶
func (*Order) GetFirstId ¶
func (*Order) GetSecondId ¶
func (*Order) GetThirdUrl ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type Pointer2Value ¶
type Pointer2Value struct { // In message.pb.go Address field will be of type *Address. AddressNotNil *Address `protobuf:"bytes,1,opt,name=address_not_nil,json=addressNotNil,proto3" json:"address_not_nil,omitempty"` }
func (*Pointer2Value) Descriptor ¶
func (*Pointer2Value) Descriptor() ([]byte, []int)
func (*Pointer2Value) GetAddressNotNil ¶
func (m *Pointer2Value) GetAddressNotNil() *Address
func (*Pointer2Value) Marshal ¶
func (m *Pointer2Value) Marshal() (dAtA []byte, err error)
func (*Pointer2Value) MarshalToSizedBuffer ¶
func (m *Pointer2Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Pointer2Value) ProtoMessage ¶
func (*Pointer2Value) ProtoMessage()
func (*Pointer2Value) Reset ¶
func (m *Pointer2Value) Reset()
func (*Pointer2Value) Size ¶
func (m *Pointer2Value) Size() (n int)
func (*Pointer2Value) String ¶
func (m *Pointer2Value) String() string
func (*Pointer2Value) Unmarshal ¶
func (m *Pointer2Value) Unmarshal(dAtA []byte) error
func (*Pointer2Value) XXX_DiscardUnknown ¶
func (m *Pointer2Value) XXX_DiscardUnknown()
func (*Pointer2Value) XXX_Marshal ¶
func (m *Pointer2Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Pointer2Value) XXX_Merge ¶
func (m *Pointer2Value) XXX_Merge(src proto.Message)
func (*Pointer2Value) XXX_Size ¶
func (m *Pointer2Value) XXX_Size() int
func (*Pointer2Value) XXX_Unmarshal ¶
func (m *Pointer2Value) XXX_Unmarshal(b []byte) error
type Product ¶
type Product struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` One *TheOne `protobuf:"bytes,3,opt,name=one,proto3" json:"one,omitempty"` SecondId *TheOne `protobuf:"bytes,4,opt,name=second_id,json=secondId,proto3" json:"second_id,omitempty"` // Example of the custom transformer for the struct CustomField *CustomType `protobuf:"bytes,5,opt,name=custom_field,json=customField,proto3" json:"custom_field,omitempty"` // Example of the custom transformer for the struct with oneof type in it CustomOneof *CustomOneof `protobuf:"bytes,6,opt,name=custom_oneof,json=customOneof,proto3" json:"custom_oneof,omitempty"` // Currently the plugin does not support oneof types rather than the specific example with `int64_value` and `string_value` NotsupportedOneof *NotSupportedOneOf `protobuf:"bytes,7,opt,name=notsupported_oneof,json=notsupportedOneof,proto3" json:"notsupported_oneof,omitempty"` }
func (*Product) Descriptor ¶
func (*Product) GetCustomField ¶
func (m *Product) GetCustomField() *CustomType
func (*Product) GetCustomOneof ¶
func (m *Product) GetCustomOneof() *CustomOneof
func (*Product) GetNotsupportedOneof ¶
func (m *Product) GetNotsupportedOneof() *NotSupportedOneOf
func (*Product) GetSecondId ¶
func (*Product) MarshalToSizedBuffer ¶
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) XXX_DiscardUnknown ¶
func (m *Product) XXX_DiscardUnknown()
func (*Product) XXX_Marshal ¶
func (*Product) XXX_Unmarshal ¶
type SkippedMessageOne ¶
type SkippedMessageOne struct { }
func (*SkippedMessageOne) Descriptor ¶
func (*SkippedMessageOne) Descriptor() ([]byte, []int)
func (*SkippedMessageOne) Marshal ¶
func (m *SkippedMessageOne) Marshal() (dAtA []byte, err error)
func (*SkippedMessageOne) MarshalTo ¶
func (m *SkippedMessageOne) MarshalTo(dAtA []byte) (int, error)
func (*SkippedMessageOne) MarshalToSizedBuffer ¶
func (m *SkippedMessageOne) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SkippedMessageOne) ProtoMessage ¶
func (*SkippedMessageOne) ProtoMessage()
func (*SkippedMessageOne) Reset ¶
func (m *SkippedMessageOne) Reset()
func (*SkippedMessageOne) Size ¶
func (m *SkippedMessageOne) Size() (n int)
func (*SkippedMessageOne) String ¶
func (m *SkippedMessageOne) String() string
func (*SkippedMessageOne) Unmarshal ¶
func (m *SkippedMessageOne) Unmarshal(dAtA []byte) error
func (*SkippedMessageOne) XXX_DiscardUnknown ¶
func (m *SkippedMessageOne) XXX_DiscardUnknown()
func (*SkippedMessageOne) XXX_Marshal ¶
func (m *SkippedMessageOne) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SkippedMessageOne) XXX_Merge ¶
func (m *SkippedMessageOne) XXX_Merge(src proto.Message)
func (*SkippedMessageOne) XXX_Size ¶
func (m *SkippedMessageOne) XXX_Size() int
func (*SkippedMessageOne) XXX_Unmarshal ¶
func (m *SkippedMessageOne) XXX_Unmarshal(b []byte) error
type SkippedMessageTwo ¶
type SkippedMessageTwo struct { }
func (*SkippedMessageTwo) Descriptor ¶
func (*SkippedMessageTwo) Descriptor() ([]byte, []int)
func (*SkippedMessageTwo) Marshal ¶
func (m *SkippedMessageTwo) Marshal() (dAtA []byte, err error)
func (*SkippedMessageTwo) MarshalTo ¶
func (m *SkippedMessageTwo) MarshalTo(dAtA []byte) (int, error)
func (*SkippedMessageTwo) MarshalToSizedBuffer ¶
func (m *SkippedMessageTwo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SkippedMessageTwo) ProtoMessage ¶
func (*SkippedMessageTwo) ProtoMessage()
func (*SkippedMessageTwo) Reset ¶
func (m *SkippedMessageTwo) Reset()
func (*SkippedMessageTwo) Size ¶
func (m *SkippedMessageTwo) Size() (n int)
func (*SkippedMessageTwo) String ¶
func (m *SkippedMessageTwo) String() string
func (*SkippedMessageTwo) Unmarshal ¶
func (m *SkippedMessageTwo) Unmarshal(dAtA []byte) error
func (*SkippedMessageTwo) XXX_DiscardUnknown ¶
func (m *SkippedMessageTwo) XXX_DiscardUnknown()
func (*SkippedMessageTwo) XXX_Marshal ¶
func (m *SkippedMessageTwo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SkippedMessageTwo) XXX_Merge ¶
func (m *SkippedMessageTwo) XXX_Merge(src proto.Message)
func (*SkippedMessageTwo) XXX_Size ¶
func (m *SkippedMessageTwo) XXX_Size() int
func (*SkippedMessageTwo) XXX_Unmarshal ¶
func (m *SkippedMessageTwo) XXX_Unmarshal(b []byte) error
type TheOne ¶
type TheOne struct { // Types that are valid to be assigned to TheDecl: // *TheOne_StringValue // *TheOne_Int64Value TheDecl isTheOne_TheDecl `protobuf_oneof:"the_decl"` }
func (*TheOne) Descriptor ¶
func (*TheOne) GetInt64Value ¶
func (*TheOne) GetStringValue ¶
func (*TheOne) GetTheDecl ¶
func (m *TheOne) GetTheDecl() isTheOne_TheDecl
func (*TheOne) MarshalToSizedBuffer ¶
func (*TheOne) ProtoMessage ¶
func (*TheOne) ProtoMessage()
func (*TheOne) XXX_DiscardUnknown ¶
func (m *TheOne) XXX_DiscardUnknown()
func (*TheOne) XXX_Marshal ¶
func (*TheOne) XXX_OneofWrappers ¶
func (*TheOne) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TheOne) XXX_Unmarshal ¶
type TheOne_Int64Value ¶
type TheOne_Int64Value struct {
Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof" json:"int64_value,omitempty"`
}
func (*TheOne_Int64Value) MarshalTo ¶
func (m *TheOne_Int64Value) MarshalTo(dAtA []byte) (int, error)
func (*TheOne_Int64Value) MarshalToSizedBuffer ¶
func (m *TheOne_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TheOne_Int64Value) Size ¶
func (m *TheOne_Int64Value) Size() (n int)
type TheOne_StringValue ¶
type TheOne_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}
func (*TheOne_StringValue) MarshalTo ¶
func (m *TheOne_StringValue) MarshalTo(dAtA []byte) (int, error)
func (*TheOne_StringValue) MarshalToSizedBuffer ¶
func (m *TheOne_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TheOne_StringValue) Size ¶
func (m *TheOne_StringValue) Size() (n int)
type Timer ¶
type Timer struct { Time time.Time `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"` PtrTime *time.Time `protobuf:"bytes,2,opt,name=ptr_time,json=ptrTime,proto3,stdtime" json:"ptr_time,omitempty"` TimeToStruct time.Time `protobuf:"bytes,3,opt,name=time_to_struct,json=timeToStruct,proto3,stdtime" json:"time_to_struct"` TimeToStructPtr *time.Time `protobuf:"bytes,4,opt,name=time_to_struct_ptr,json=timeToStructPtr,proto3,stdtime" json:"time_to_struct_ptr,omitempty"` TimePtrToStruct *time.Time `protobuf:"bytes,5,opt,name=time_ptr_to_struct,json=timePtrToStruct,proto3,stdtime" json:"time_ptr_to_struct,omitempty"` TimePtrToPtrStruct *time.Time `` /* 129-byte string literal not displayed */ }
func (*Timer) Descriptor ¶
func (*Timer) GetPtrTime ¶
func (*Timer) GetTimePtrToPtrStruct ¶
func (*Timer) GetTimePtrToStruct ¶
func (*Timer) GetTimeToStruct ¶
func (*Timer) GetTimeToStructPtr ¶
func (*Timer) ProtoMessage ¶
func (*Timer) ProtoMessage()
func (*Timer) XXX_DiscardUnknown ¶
func (m *Timer) XXX_DiscardUnknown()
func (*Timer) XXX_Marshal ¶
func (*Timer) XXX_Unmarshal ¶
type Value2Pointer ¶
type Value2Pointer struct { // In message.pb.go Address field will be of type Address. AddressNil Address `protobuf:"bytes,1,opt,name=address_nil,json=addressNil,proto3" json:"address_nil"` }
func (*Value2Pointer) Descriptor ¶
func (*Value2Pointer) Descriptor() ([]byte, []int)
func (*Value2Pointer) GetAddressNil ¶
func (m *Value2Pointer) GetAddressNil() Address
func (*Value2Pointer) Marshal ¶
func (m *Value2Pointer) Marshal() (dAtA []byte, err error)
func (*Value2Pointer) MarshalToSizedBuffer ¶
func (m *Value2Pointer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value2Pointer) ProtoMessage ¶
func (*Value2Pointer) ProtoMessage()
func (*Value2Pointer) Reset ¶
func (m *Value2Pointer) Reset()
func (*Value2Pointer) Size ¶
func (m *Value2Pointer) Size() (n int)
func (*Value2Pointer) String ¶
func (m *Value2Pointer) String() string
func (*Value2Pointer) Unmarshal ¶
func (m *Value2Pointer) Unmarshal(dAtA []byte) error
func (*Value2Pointer) XXX_DiscardUnknown ¶
func (m *Value2Pointer) XXX_DiscardUnknown()
func (*Value2Pointer) XXX_Marshal ¶
func (m *Value2Pointer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Value2Pointer) XXX_Merge ¶
func (m *Value2Pointer) XXX_Merge(src proto.Message)
func (*Value2Pointer) XXX_Size ¶
func (m *Value2Pointer) XXX_Size() int
func (*Value2Pointer) XXX_Unmarshal ¶
func (m *Value2Pointer) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.