...

Package mapdefaults

import "github.com/gogo/protobuf/test/mapdefaults"
Overview
Index
Subdirectories

Overview ▾

Package mapdefaults is a generated protocol buffer package.

It is generated from these files:

map.proto

It has these top-level messages:

MapTest

Variables

var (
    ErrInvalidLengthMap = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowMap   = fmt.Errorf("proto: integer overflow")
)

type MapTest

type MapTest struct {
    StrStr map[string]string `protobuf:"bytes,1,rep,name=str_str,json=strStr" json:"str_str,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}

func (*MapTest) Descriptor

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

func (*MapTest) GetStrStr

func (m *MapTest) GetStrStr() map[string]string

func (*MapTest) Marshal

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

func (*MapTest) MarshalTo

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

func (*MapTest) ProtoMessage

func (*MapTest) ProtoMessage()

func (*MapTest) Reset

func (m *MapTest) Reset()

func (*MapTest) Size

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

func (*MapTest) String

func (m *MapTest) String() string

func (*MapTest) Unmarshal

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

Subdirectories