proto

package
v0.0.0-...-f3aaec4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

oneofembed.proto

It has these top-level messages:

Foo
Bar

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
	// Types that are valid to be assigned to Pick:
	//	*Bar_A
	//	*Bar_B
	Pick isBar_Pick `protobuf_oneof:"pick"`
}

func NewPopulatedBar

func NewPopulatedBar(r randyOneofembed, easy bool) *Bar

func (*Bar) Descriptor

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

func (*Bar) Equal

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

func (*Bar) GetA

func (m *Bar) GetA() bool

func (*Bar) GetB

func (m *Bar) GetB() bool

func (*Bar) GetPick

func (m *Bar) GetPick() isBar_Pick

func (*Bar) ProtoMessage

func (*Bar) ProtoMessage()

func (*Bar) Reset

func (m *Bar) Reset()

func (*Bar) String

func (m *Bar) String() string

func (*Bar) XXX_OneofFuncs

func (*Bar) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Bar_A

type Bar_A struct {
	A bool `protobuf:"varint,11,opt,name=a,proto3,oneof"`
}

func NewPopulatedBar_A

func NewPopulatedBar_A(r randyOneofembed, easy bool) *Bar_A

func (*Bar_A) Equal

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

type Bar_B

type Bar_B struct {
	B bool `protobuf:"varint,12,opt,name=b,proto3,oneof"`
}

func NewPopulatedBar_B

func NewPopulatedBar_B(r randyOneofembed, easy bool) *Bar_B

func (*Bar_B) Equal

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

type Foo

type Foo struct {
	*Bar `protobuf:"bytes,1,opt,name=bar,embedded=bar" json:"bar,omitempty"`
}

func NewPopulatedFoo

func NewPopulatedFoo(r randyOneofembed, easy bool) *Foo

func (*Foo) Descriptor

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

func (*Foo) Equal

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

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL