...
Package proto
Variables
var (
ErrInvalidLengthProto = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowProto = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupProto = fmt.Errorf("proto: unexpected end of group")
)
type Foo struct {
Bar *uint64 `protobuf:"varint,1,req,name=bar" json:"bar,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedFoo(r randyProto, easy bool) *Foo
func (*Foo) Descriptor() ([]byte, []int)
func (*Foo) Equal
¶
func (this *Foo) Equal(that interface{}) bool
func (m *Foo) GetBar() uint64
func (*Foo) ProtoMessage()
func (*Foo) Reset
¶
func (m *Foo) Reset()
func (m *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