package tags
import "github.com/gogo/protobuf/test/tags"
Index ¶
- type Inside
- func NewPopulatedInside(r randyTags, easy bool) *Inside
- func (*Inside) Descriptor() ([]byte, []int)
- func (m *Inside) GetField1() string
- func (*Inside) ProtoMessage()
- func (m *Inside) Reset()
- func (m *Inside) String() string
- func (m *Inside) XXX_DiscardUnknown()
- func (m *Inside) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Inside) XXX_Merge(src proto.Message)
- func (m *Inside) XXX_Size() int
- func (m *Inside) XXX_Unmarshal(b []byte) error
- type Outside
- func NewPopulatedOutside(r randyTags, easy bool) *Outside
- func (*Outside) Descriptor() ([]byte, []int)
- func (m *Outside) GetField2() string
- func (m *Outside) GetField3() string
- func (m *Outside) GetFiled() isOutside_Filed
- func (*Outside) ProtoMessage()
- func (m *Outside) Reset()
- func (m *Outside) String() string
- func (m *Outside) XXX_DiscardUnknown()
- func (m *Outside) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Outside) XXX_Merge(src proto.Message)
- func (*Outside) XXX_OneofWrappers() []interface{}
- func (m *Outside) XXX_Size() int
- func (m *Outside) XXX_Unmarshal(b []byte) error
- type Outside_Field3
Types ¶
type Inside ¶
type Inside struct { Field1 *string `protobuf:"bytes,1,opt,name=Field1" json:"MyField1" xml:",chardata"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedInside ¶
func (*Inside) Descriptor ¶
func (*Inside) GetField1 ¶
func (*Inside) ProtoMessage ¶
func (*Inside) ProtoMessage()
func (*Inside) Reset ¶
func (m *Inside) Reset()
func (*Inside) String ¶
func (*Inside) XXX_DiscardUnknown ¶
func (m *Inside) XXX_DiscardUnknown()
func (*Inside) XXX_Marshal ¶
func (*Inside) XXX_Merge ¶
func (*Inside) XXX_Size ¶
func (*Inside) XXX_Unmarshal ¶
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"` // Types that are valid to be assigned to Filed: // *Outside_Field3 Filed isOutside_Filed `protobuf_oneof:"filed"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedOutside ¶
func (*Outside) Descriptor ¶
func (*Outside) GetField2 ¶
func (*Outside) GetField3 ¶
func (*Outside) GetFiled ¶
func (m *Outside) GetFiled() isOutside_Filed
func (*Outside) ProtoMessage ¶
func (*Outside) ProtoMessage()
func (*Outside) Reset ¶
func (m *Outside) Reset()
func (*Outside) String ¶
func (*Outside) XXX_DiscardUnknown ¶
func (m *Outside) XXX_DiscardUnknown()
func (*Outside) XXX_Marshal ¶
func (*Outside) XXX_Merge ¶
func (*Outside) XXX_OneofWrappers ¶
func (*Outside) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Outside) XXX_Size ¶
func (*Outside) XXX_Unmarshal ¶
type Outside_Field3 ¶
type Outside_Field3 struct { Field3 string `protobuf:"bytes,3,opt,name=Field3,oneof" json:"MyField3" xml:",comment"` }
func NewPopulatedOutside_Field3 ¶
func NewPopulatedOutside_Field3(r randyTags, easy bool) *Outside_Field3
Source Files ¶
- Version
- v1.3.1
- Published
- Oct 14, 2019
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 3 hours ago –
Tools for package owners.