...

Package nopackage

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

Overview ▾

Variables

var (
    ErrInvalidLengthNopackage        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowNopackage          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupNopackage = fmt.Errorf("proto: unexpected end of group")
)

type M

type M struct {
    F                    map[string]float64 `protobuf:"bytes,1,rep,name=f,proto3" json:"f,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

func (*M) Descriptor

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

func (*M) GetF

func (m *M) GetF() map[string]float64

func (*M) Marshal

func (m *M) Marshal() (dAtA []byte, err error)

func (*M) MarshalTo

func (m *M) MarshalTo(dAtA []byte) (int, error)

func (*M) MarshalToSizedBuffer

func (m *M) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*M) ProtoMessage

func (*M) ProtoMessage()

func (*M) Reset

func (m *M) Reset()

func (*M) Size

func (m *M) Size() (n int)

func (*M) String

func (m *M) String() string

func (*M) Unmarshal

func (m *M) Unmarshal(dAtA []byte) error

func (*M) XXX_DiscardUnknown

func (m *M) XXX_DiscardUnknown()

func (*M) XXX_Marshal

func (m *M) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*M) XXX_Merge

func (m *M) XXX_Merge(src proto.Message)

func (*M) XXX_Size

func (m *M) XXX_Size() int

func (*M) XXX_Unmarshal

func (m *M) XXX_Unmarshal(b []byte) error