issue34 - ActiveState ActiveGo 1.8
...

Package issue34

import "github.com/gogo/protobuf/test/issue34"
Overview
Index

Overview ▾

Package issue34 is a generated protocol buffer package.

It is generated from these files:

proto.proto

It has these top-level messages:

Foo
FooWithRepeated

Variables

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

type Foo

type Foo struct {
    Bar              []byte `protobuf:"bytes,1,opt,name=bar" json:"bar,omitempty"`
    XXX_unrecognized []byte `json:"-"`
}

func (*Foo) Descriptor

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

func (*Foo) GetBar

func (m *Foo) GetBar() []byte

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

type FooWithRepeated

type FooWithRepeated struct {
    Bar              [][]byte `protobuf:"bytes,1,rep,name=bar" json:"bar,omitempty"`
    XXX_unrecognized []byte   `json:"-"`
}

func (*FooWithRepeated) Descriptor

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

func (*FooWithRepeated) GetBar

func (m *FooWithRepeated) GetBar() [][]byte

func (*FooWithRepeated) ProtoMessage

func (*FooWithRepeated) ProtoMessage()

func (*FooWithRepeated) Reset

func (m *FooWithRepeated) Reset()

func (*FooWithRepeated) String

func (m *FooWithRepeated) String() string

func (*FooWithRepeated) Unmarshal

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