mapdefaults

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

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

Types

type FakeMap

type FakeMap struct {
	Entries              []*FakeMapEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func NewPopulatedFakeMap

func NewPopulatedFakeMap(r randyMap, easy bool) *FakeMap

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) Marshal

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

func (*FakeMap) MarshalTo

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

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

func (*FakeMap) XXX_DiscardUnknown

func (m *FakeMap) XXX_DiscardUnknown()

func (*FakeMap) XXX_Marshal

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

func (*FakeMap) XXX_Merge

func (dst *FakeMap) XXX_Merge(src proto.Message)

func (*FakeMap) XXX_Size

func (m *FakeMap) XXX_Size() int

func (*FakeMap) XXX_Unmarshal

func (m *FakeMap) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedFakeMapEntry

func NewPopulatedFakeMapEntry(r randyMap, easy bool) *FakeMapEntry

func (*FakeMapEntry) Description

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) Marshal

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

func (*FakeMapEntry) MarshalTo

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

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

func (*FakeMapEntry) XXX_DiscardUnknown

func (m *FakeMapEntry) XXX_DiscardUnknown()

func (*FakeMapEntry) XXX_Marshal

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

func (*FakeMapEntry) XXX_Merge

func (dst *FakeMapEntry) XXX_Merge(src proto.Message)

func (*FakeMapEntry) XXX_Size

func (m *FakeMapEntry) XXX_Size() int

func (*FakeMapEntry) XXX_Unmarshal

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

type MapTest

type MapTest struct {
	StrStr               map[string]string `` /* 160-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func NewPopulatedMapTest

func NewPopulatedMapTest(r randyMap, easy bool) *MapTest

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

func (*MapTest) Unmarshal

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

func (*MapTest) VerboseEqual

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

func (*MapTest) XXX_DiscardUnknown

func (m *MapTest) XXX_DiscardUnknown()

func (*MapTest) XXX_Marshal

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

func (*MapTest) XXX_Merge

func (dst *MapTest) XXX_Merge(src proto.Message)

func (*MapTest) XXX_Size

func (m *MapTest) XXX_Size() int

func (*MapTest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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