package custombytesnonstruct
import "github.com/gogo/protobuf/test/custombytesnonstruct"
Package custombytesnonstruct is a generated protocol buffer package.
It is generated from these files:
proto.proto
It has these top-level messages:
Object
Index ¶
Variables ¶
var ( ErrInvalidLengthProto = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProto = fmt.Errorf("proto: integer overflow") )
Types ¶
type CustomType ¶
type CustomType int
func (*CustomType) Unmarshal ¶
func (c *CustomType) Unmarshal(data []byte) error
type Object ¶
type Object struct { CustomField1 *CustomType `protobuf:"bytes,1,opt,name=CustomField1,customtype=CustomType" json:"CustomField1,omitempty"` CustomField2 []CustomType `protobuf:"bytes,2,rep,name=CustomField2,customtype=CustomType" json:"CustomField2,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Object) Descriptor ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) Reset ¶
func (m *Object) Reset()
func (*Object) String ¶
func (*Object) Unmarshal ¶
Source Files ¶
- Version
- v1.0.0
- Published
- Feb 2, 2018
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 2 days ago –
Tools for package owners.