Versions in this module Expand all Collapse all v1 v1.0.9 Mar 5, 2024 v1.0.8 Mar 5, 2024 Changes in this version + var ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") + type Address struct + Id int64 + Type string + func (*Address) Descriptor() ([]byte, []int) + func (*Address) ProtoMessage() + 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 (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 struct + Value isCustomOneof_Value + func (*CustomOneof) Descriptor() ([]byte, []int) + func (*CustomOneof) ProtoMessage() + func (*CustomOneof) XXX_OneofWrappers() []interface{} + 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 (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 (m *CustomOneof) XXX_Size() int + func (m *CustomOneof) XXX_Unmarshal(b []byte) error + type CustomOneof_Int64Value struct + Int64Value int64 + func (m *CustomOneof_Int64Value) MarshalTo(dAtA []byte) (int, error) + func (m *CustomOneof_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CustomOneof_Int64Value) Size() (n int) + type CustomOneof_StringValue struct + StringValue string + func (m *CustomOneof_StringValue) MarshalTo(dAtA []byte) (int, error) + func (m *CustomOneof_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CustomOneof_StringValue) Size() (n int) + type CustomType struct + Value string + func (*CustomType) Descriptor() ([]byte, []int) + func (*CustomType) ProtoMessage() + 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 (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 struct + Addresses []*Address + BillingAddress Address + DefaultAddress *Address + Id int64 + MapFieldToWithoutDigits string + MapField_1 string + Name string + func (*Customer) Descriptor() ([]byte, []int) + func (*Customer) ProtoMessage() + 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 (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 struct + Int32Value int32 + Int64Value int64 + IntFor_32Value int32 + IntFor_64Value int64 + StringValue int64 + func (*Ints) Descriptor() ([]byte, []int) + func (*Ints) ProtoMessage() + 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 (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 struct + ID int64 + SKU int64 + SomeField string + Type string + URL string + func (*LineItem) Descriptor() ([]byte, []int) + func (*LineItem) ProtoMessage() + 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 (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 struct + Item *LineItem + List []*LineItem + func (*LineItemUsage) Descriptor() ([]byte, []int) + func (*LineItemUsage) ProtoMessage() + 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 (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 struct + TheDecl isNotSupportedOneOf_TheDecl + func (*NotSupportedOneOf) Descriptor() ([]byte, []int) + func (*NotSupportedOneOf) ProtoMessage() + func (*NotSupportedOneOf) XXX_OneofWrappers() []interface{} + 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 (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 (m *NotSupportedOneOf) XXX_Size() int + func (m *NotSupportedOneOf) XXX_Unmarshal(b []byte) error + type NotSupportedOneOf_BoolValue struct + BoolValue bool + func (m *NotSupportedOneOf_BoolValue) MarshalTo(dAtA []byte) (int, error) + func (m *NotSupportedOneOf_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NotSupportedOneOf_BoolValue) Size() (n int) + type NotSupportedOneOf_StringValue struct + StringValue string + func (m *NotSupportedOneOf_StringValue) MarshalTo(dAtA []byte) (int, error) + func (m *NotSupportedOneOf_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NotSupportedOneOf_StringValue) Size() (n int) + type Order struct + FirstId *TheOne + Id int64 + SecondId *TheOne + ThirdUrl *TheOne + func (*Order) Descriptor() ([]byte, []int) + func (*Order) ProtoMessage() + 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 (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 struct + AddressNotNil *Address + func (*Pointer2Value) Descriptor() ([]byte, []int) + func (*Pointer2Value) ProtoMessage() + 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 (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 struct + CustomField *CustomType + CustomOneof *CustomOneof + Id int32 + Name string + NotsupportedOneof *NotSupportedOneOf + One *TheOne + SecondId *TheOne + func (*Product) Descriptor() ([]byte, []int) + func (*Product) ProtoMessage() + 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 (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 struct + func (*SkippedMessageOne) Descriptor() ([]byte, []int) + func (*SkippedMessageOne) ProtoMessage() + 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 (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 struct + func (*SkippedMessageTwo) Descriptor() ([]byte, []int) + func (*SkippedMessageTwo) ProtoMessage() + 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 (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 struct + TheDecl isTheOne_TheDecl + func (*TheOne) Descriptor() ([]byte, []int) + func (*TheOne) ProtoMessage() + func (*TheOne) XXX_OneofWrappers() []interface{} + 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 (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 (m *TheOne) XXX_Size() int + func (m *TheOne) XXX_Unmarshal(b []byte) error + type TheOne_Int64Value struct + Int64Value int64 + func (m *TheOne_Int64Value) MarshalTo(dAtA []byte) (int, error) + func (m *TheOne_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TheOne_Int64Value) Size() (n int) + type TheOne_StringValue struct + StringValue string + func (m *TheOne_StringValue) MarshalTo(dAtA []byte) (int, error) + func (m *TheOne_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TheOne_StringValue) Size() (n int) + type Timer struct + PtrTime *time.Time + Time time.Time + TimePtrToPtrStruct *time.Time + TimePtrToStruct *time.Time + TimeToStruct time.Time + TimeToStructPtr *time.Time + func (*Timer) Descriptor() ([]byte, []int) + func (*Timer) ProtoMessage() + 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 (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 struct + AddressNil Address + func (*Value2Pointer) Descriptor() ([]byte, []int) + func (*Value2Pointer) ProtoMessage() + 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 (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