package mapdefaults
import "github.com/gogo/protobuf/test/mapdefaults"
Package mapdefaults is a generated protocol buffer package.
It is generated from these files:
map.proto
It has these top-level messages:
MapTest
Index ¶
- Variables
- type MapTest
- func (*MapTest) Descriptor() ([]byte, []int)
- func (m *MapTest) GetStrStr() map[string]string
- func (m *MapTest) Marshal() (dAtA []byte, err error)
- func (m *MapTest) MarshalTo(dAtA []byte) (int, error)
- func (*MapTest) ProtoMessage()
- func (m *MapTest) Reset()
- func (m *MapTest) Size() (n int)
- func (m *MapTest) String() string
- func (m *MapTest) Unmarshal(dAtA []byte) error
Variables ¶
var ( ErrInvalidLengthMap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMap = fmt.Errorf("proto: integer overflow") )
Types ¶
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) GetStrStr ¶
func (*MapTest) Marshal ¶
func (*MapTest) MarshalTo ¶
func (*MapTest) ProtoMessage ¶
func (*MapTest) ProtoMessage()
func (*MapTest) Reset ¶
func (m *MapTest) Reset()
func (*MapTest) Size ¶
func (*MapTest) String ¶
func (*MapTest) Unmarshal ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
test/mapdefaults/combos | |
test/mapdefaults/combos/both | |
test/mapdefaults/combos/marshaler | |
test/mapdefaults/combos/neither | |
test/mapdefaults/combos/unmarshaler |
- Version
- v1.2.0
- Published
- Dec 11, 2018
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.