Versions in this module Expand all Collapse all v0 v0.0.1 Nov 26, 2021 Changes in this version + var ErrIntOverflowEnumdecl = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthEnumdecl = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupEnumdecl = fmt.Errorf("proto: unexpected end of group") + var MyEnum_name = map[int32]string + var MyEnum_value = map[string]int32 + type Message struct + EnumeratedField MyEnum + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedMessage(r randyEnumdecl, easy bool) *Message + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (m *Message) GetEnumeratedField() MyEnum + func (m *Message) Marshal() (dAtA []byte, err error) + func (m *Message) MarshalTo(dAtA []byte) (int, error) + func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message) Reset() + func (m *Message) Size() (n int) + func (m *Message) String() string + func (m *Message) Unmarshal(dAtA []byte) error + func (m *Message) XXX_DiscardUnknown() + func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Message) XXX_Merge(src proto.Message) + func (m *Message) XXX_Size() int + func (m *Message) XXX_Unmarshal(b []byte) error + func (this *Message) Equal(that interface{}) bool + func (this *Message) VerboseEqual(that interface{}) error + type MyEnum int32 + const A + const B + func (MyEnum) EnumDescriptor() ([]byte, []int) + func (x MyEnum) String() string