Package setextensionbytes
import "github.com/gogo/protobuf/test/setextensionbytes"
- Overview
- Index
- Variables
- type Foo
- func (*Foo) Descriptor() ([]byte, []int)
- func (this *Foo) Equal(that interface{}) bool
- func (m *Foo) Marshal() (dAtA []byte, err error)
- func (m *Foo) MarshalTo(dAtA []byte) (int, error)
- func (*Foo) ProtoMessage()
- func (m *Foo) Reset()
- func (m *Foo) Size() (n int)
- func (this *Foo) String() string
- func (m *Foo) Unmarshal(dAtA []byte) error
- func (m *Foo) XXX_DiscardUnknown()
- func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Foo) XXX_Merge(src proto.Message)
- func (m *Foo) XXX_Size() int
- func (m *Foo) XXX_Unmarshal(b []byte) error
- type MyExtendable
- func (*MyExtendable) Descriptor() ([]byte, []int)
- func (this *MyExtendable) Equal(that interface{}) bool
- func (*MyExtendable) ExtensionRangeArray() []proto.ExtensionRange
- func (m *MyExtendable) GetExtensions() *[]byte
- func (m *MyExtendable) Marshal() (dAtA []byte, err error)
- func (m *MyExtendable) MarshalTo(dAtA []byte) (int, error)
- func (*MyExtendable) ProtoMessage()
- func (m *MyExtendable) Reset()
- func (m *MyExtendable) Size() (n int)
- func (this *MyExtendable) String() string
- func (m *MyExtendable) Unmarshal(dAtA []byte) error
- func (m *MyExtendable) XXX_DiscardUnknown()
- func (m *MyExtendable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MyExtendable) XXX_Merge(src proto.Message)
- func (m *MyExtendable) XXX_Size() int
- func (m *MyExtendable) XXX_Unmarshal(b []byte) error
Package files
setextensionbytes.pb.go
Variables
var (
ErrInvalidLengthSetextensionbytes = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowSetextensionbytes = fmt.Errorf("proto: integer overflow")
)
var E_Foos = &proto.ExtensionDesc{
ExtendedType: (*MyExtendable)(nil),
ExtensionType: (*Foo)(nil),
Field: 2,
Name: "setextensionbytes.Foos",
Tag: "bytes,2,opt,name=Foos",
Filename: "setextensionbytes.proto",
}
type Foo struct {
IntFoo int64 `protobuf:"varint,1,opt,name=intFoo" json:"intFoo"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Foo) Descriptor() ([]byte, []int)
func (*Foo) Equal
¶
func (this *Foo) Equal(that interface{}) bool
func (m *Foo) Marshal() (dAtA []byte, err error)
func (m *Foo) MarshalTo(dAtA []byte) (int, error)
func (*Foo) ProtoMessage()
func (*Foo) Reset
¶
func (m *Foo) Reset()
func (*Foo) Size
¶
func (m *Foo) Size() (n int)
func (this *Foo) String() string
func (m *Foo) Unmarshal(dAtA []byte) error
func (m *Foo) XXX_DiscardUnknown()
func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Foo) XXX_Merge(src proto.Message)
func (m *Foo) XXX_Size() int
func (m *Foo) XXX_Unmarshal(b []byte) error
type MyExtendable struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_extensions []byte `protobuf:"bytes,0,opt" json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MyExtendable) Descriptor() ([]byte, []int)
func (*MyExtendable) Equal
¶
func (this *MyExtendable) Equal(that interface{}) bool
func (*MyExtendable) ExtensionRangeArray() []proto.ExtensionRange
func (m *MyExtendable) GetExtensions() *[]byte
func (*MyExtendable) Marshal
¶
func (m *MyExtendable) Marshal() (dAtA []byte, err error)
func (*MyExtendable) MarshalTo
¶
func (m *MyExtendable) MarshalTo(dAtA []byte) (int, error)
func (*MyExtendable) ProtoMessage()
func (*MyExtendable) Reset
¶
func (m *MyExtendable) Reset()
func (*MyExtendable) Size
¶
func (m *MyExtendable) Size() (n int)
func (*MyExtendable) String
¶
func (this *MyExtendable) String() string
func (*MyExtendable) Unmarshal
¶
func (m *MyExtendable) Unmarshal(dAtA []byte) error
func (m *MyExtendable) XXX_DiscardUnknown()
func (m *MyExtendable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MyExtendable) XXX_Merge
¶
func (m *MyExtendable) XXX_Merge(src proto.Message)
func (*MyExtendable) XXX_Size
¶
func (m *MyExtendable) XXX_Size() int
func (m *MyExtendable) XXX_Unmarshal(b []byte) error