mapdefaults

package
v0.0.0-...-f3aaec4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2017 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package mapdefaults is a generated protocol buffer package.

It is generated from these files:

combos/unmarshaler/map.proto

It has these top-level messages:

MapTest
FakeMap
FakeMapEntry

Index

Constants

This section is empty.

Variables

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

Functions

func MapDescription

func MapDescription() (desc *descriptor.FileDescriptorSet)

Types

type FakeMap

type FakeMap struct {
	Entries []*FakeMapEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
}

func NewPopulatedFakeMap

func NewPopulatedFakeMap(r randyMap, easy bool) *FakeMap

func (*FakeMap) Description

func (this *FakeMap) Description() (desc *descriptor.FileDescriptorSet)

func (*FakeMap) Descriptor

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

func (*FakeMap) Equal

func (this *FakeMap) Equal(that interface{}) bool

func (*FakeMap) GoString

func (this *FakeMap) GoString() string

func (*FakeMap) ProtoMessage

func (*FakeMap) ProtoMessage()

func (*FakeMap) Reset

func (m *FakeMap) Reset()

func (*FakeMap) Size

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

func (*FakeMap) String

func (this *FakeMap) String() string

func (*FakeMap) Unmarshal

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

func (*FakeMap) VerboseEqual

func (this *FakeMap) VerboseEqual(that interface{}) error

type FakeMapEntry

type FakeMapEntry struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Other string `protobuf:"bytes,3,opt,name=other,proto3" json:"other,omitempty"`
}

func NewPopulatedFakeMapEntry

func NewPopulatedFakeMapEntry(r randyMap, easy bool) *FakeMapEntry

func (*FakeMapEntry) Description

func (this *FakeMapEntry) Description() (desc *descriptor.FileDescriptorSet)

func (*FakeMapEntry) Descriptor

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

func (*FakeMapEntry) Equal

func (this *FakeMapEntry) Equal(that interface{}) bool

func (*FakeMapEntry) GoString

func (this *FakeMapEntry) GoString() string

func (*FakeMapEntry) ProtoMessage

func (*FakeMapEntry) ProtoMessage()

func (*FakeMapEntry) Reset

func (m *FakeMapEntry) Reset()

func (*FakeMapEntry) Size

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

func (*FakeMapEntry) String

func (this *FakeMapEntry) String() string

func (*FakeMapEntry) Unmarshal

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

func (*FakeMapEntry) VerboseEqual

func (this *FakeMapEntry) VerboseEqual(that interface{}) error

type MapTest

type MapTest struct {
	StrStr map[string]string `` /* 160-byte string literal not displayed */
}

func NewPopulatedMapTest

func NewPopulatedMapTest(r randyMap, easy bool) *MapTest

func (*MapTest) Description

func (this *MapTest) Description() (desc *descriptor.FileDescriptorSet)

func (*MapTest) Descriptor

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

func (*MapTest) Equal

func (this *MapTest) Equal(that interface{}) bool

func (*MapTest) GoString

func (this *MapTest) GoString() string

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 (this *MapTest) String() string

func (*MapTest) Unmarshal

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

func (*MapTest) VerboseEqual

func (this *MapTest) VerboseEqual(that interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL