tags - ActiveState ActiveGo 1.8
...

Package tags

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

Overview ▾

Package tags is a generated protocol buffer package.

It is generated from these files:

tags.proto

It has these top-level messages:

Outside
Inside

type Inside

type Inside struct {
    Field1           *string `protobuf:"bytes,1,opt,name=Field1" json:"MyField1" xml:",chardata"`
    XXX_unrecognized []byte  `json:"-"`
}

func NewPopulatedInside

func NewPopulatedInside(r randyTags, easy bool) *Inside

func (*Inside) Descriptor

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

func (*Inside) GetField1

func (m *Inside) GetField1() string

func (*Inside) ProtoMessage

func (*Inside) ProtoMessage()

func (*Inside) Reset

func (m *Inside) Reset()

func (*Inside) String

func (m *Inside) String() string

type Outside

type Outside struct {
    *Inside          `protobuf:"bytes,1,opt,name=Inside,embedded=Inside" json:""`
    Field2           *string `protobuf:"bytes,2,opt,name=Field2" json:"MyField2" xml:",comment"`
    XXX_unrecognized []byte  `json:"-"`
}

func NewPopulatedOutside

func NewPopulatedOutside(r randyTags, easy bool) *Outside

func (*Outside) Descriptor

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

func (*Outside) GetField2

func (m *Outside) GetField2() string

func (*Outside) ProtoMessage

func (*Outside) ProtoMessage()

func (*Outside) Reset

func (m *Outside) Reset()

func (*Outside) String

func (m *Outside) String() string