mapdefaults

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: BSD-3-Clause Imports: 13 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")
	ErrUnexpectedEndOfGroupMap = fmt.Errorf("proto: unexpected end of group")
)

Functions

Types

type FakeMap

type FakeMap struct {
	Entries              []*FakeMapEntry `protobuf:"bytes,1,rep,name=entries,proto3" 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) 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 added in v1.1.0

func (m *FakeMap) XXX_DiscardUnknown()

func (*FakeMap) XXX_Marshal added in v1.1.0

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

func (*FakeMap) XXX_Merge added in v1.1.0

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

func (*FakeMap) XXX_Size added in v1.1.0

func (m *FakeMap) XXX_Size() int

func (*FakeMap) XXX_Unmarshal added in v1.1.0

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) 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 added in v1.1.0

func (m *FakeMapEntry) XXX_DiscardUnknown()

func (*FakeMapEntry) XXX_Marshal added in v1.1.0

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

func (*FakeMapEntry) XXX_Merge added in v1.1.0

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

func (*FakeMapEntry) XXX_Size added in v1.1.0

func (m *FakeMapEntry) XXX_Size() int

func (*FakeMapEntry) XXX_Unmarshal added in v1.1.0

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

type MapTest

type MapTest struct {
	StrStr               map[string]string `` /* 167-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) 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 added in v1.1.0

func (m *MapTest) XXX_DiscardUnknown()

func (*MapTest) XXX_Marshal added in v1.1.0

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

func (*MapTest) XXX_Merge added in v1.1.0

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

func (*MapTest) XXX_Size added in v1.1.0

func (m *MapTest) XXX_Size() int

func (*MapTest) XXX_Unmarshal added in v1.1.0

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