package issue34

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

Package issue34 is a generated protocol buffer package.

It is generated from these files:

proto.proto

It has these top-level messages:

Foo
FooWithRepeated

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              []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

Source Files

proto.pb.go

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

Tools for package owners.