package proto

import "github.com/gogo/protobuf/test/issue8"

Package proto is a generated protocol buffer package.

It is generated from these files:

proto.proto

It has these top-level messages:

Foo

Index

Variables

var (
	ErrInvalidLengthProto = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProto   = fmt.Errorf("proto: integer overflow")
)

Types

type Foo

type Foo struct {
	Bar              *uint64 `protobuf:"varint,1,req,name=bar" json:"bar,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func NewPopulatedFoo

func NewPopulatedFoo(r randyProto, easy bool) *Foo

func (*Foo) Descriptor

func (*Foo) Descriptor() ([]byte, []int)

func (*Foo) Equal

func (this *Foo) Equal(that interface{}) bool

func (*Foo) GetBar

func (m *Foo) GetBar() uint64

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

func (*Foo) Unmarshal

func (m *Foo) Unmarshal(dAtA []byte) error

Source Files

proto.pb.go

Version
v1.0.0
Published
Feb 2, 2018
Platform
js/wasm
Imports
6 packages
Last checked
2 days ago

Tools for package owners.