testmessage

package
v1.2.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2016 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package testmessage is a generated protocol buffer package.

It is generated from these files:

testmessage.proto

It has these top-level messages:

SmallMessage
MediumMessage
BigMessage
LargeMessage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigMessage

type BigMessage struct {
	Values           []string `protobuf:"bytes,1,rep" json:"Values,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func GenerateBigMessage

func GenerateBigMessage() *BigMessage

GenerateBigMessage generates a big size message.

func NewPopulatedBigMessage

func NewPopulatedBigMessage(r randyTestmessage, easy bool) *BigMessage

func (*BigMessage) Equal

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

func (*BigMessage) GetValues

func (m *BigMessage) GetValues() []string

func (*BigMessage) GoString

func (this *BigMessage) GoString() string

func (*BigMessage) Marshal

func (m *BigMessage) Marshal() (data []byte, err error)

func (*BigMessage) MarshalTo

func (m *BigMessage) MarshalTo(data []byte) (n int, err error)

func (*BigMessage) ProtoMessage

func (*BigMessage) ProtoMessage()

func (*BigMessage) Reset

func (m *BigMessage) Reset()

func (*BigMessage) Size

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

func (*BigMessage) String

func (this *BigMessage) String() string

func (*BigMessage) Unmarshal

func (m *BigMessage) Unmarshal(data []byte) error

func (*BigMessage) VerboseEqual

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

type LargeMessage

type LargeMessage struct {
	Values           []string `protobuf:"bytes,1,rep" json:"Values,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func GenerateLargeMessage

func GenerateLargeMessage() *LargeMessage

GenerateLargeMessage generates a large size message.

func NewPopulatedLargeMessage

func NewPopulatedLargeMessage(r randyTestmessage, easy bool) *LargeMessage

func (*LargeMessage) Equal

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

func (*LargeMessage) GetValues

func (m *LargeMessage) GetValues() []string

func (*LargeMessage) GoString

func (this *LargeMessage) GoString() string

func (*LargeMessage) Marshal

func (m *LargeMessage) Marshal() (data []byte, err error)

func (*LargeMessage) MarshalTo

func (m *LargeMessage) MarshalTo(data []byte) (n int, err error)

func (*LargeMessage) ProtoMessage

func (*LargeMessage) ProtoMessage()

func (*LargeMessage) Reset

func (m *LargeMessage) Reset()

func (*LargeMessage) Size

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

func (*LargeMessage) String

func (this *LargeMessage) String() string

func (*LargeMessage) Unmarshal

func (m *LargeMessage) Unmarshal(data []byte) error

func (*LargeMessage) VerboseEqual

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

type MediumMessage

type MediumMessage struct {
	Values           []string `protobuf:"bytes,1,rep" json:"Values,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func GenerateMediumMessage

func GenerateMediumMessage() *MediumMessage

GenerateMediumMessage generates a medium size message.

func NewPopulatedMediumMessage

func NewPopulatedMediumMessage(r randyTestmessage, easy bool) *MediumMessage

func (*MediumMessage) Equal

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

func (*MediumMessage) GetValues

func (m *MediumMessage) GetValues() []string

func (*MediumMessage) GoString

func (this *MediumMessage) GoString() string

func (*MediumMessage) Marshal

func (m *MediumMessage) Marshal() (data []byte, err error)

func (*MediumMessage) MarshalTo

func (m *MediumMessage) MarshalTo(data []byte) (n int, err error)

func (*MediumMessage) ProtoMessage

func (*MediumMessage) ProtoMessage()

func (*MediumMessage) Reset

func (m *MediumMessage) Reset()

func (*MediumMessage) Size

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

func (*MediumMessage) String

func (this *MediumMessage) String() string

func (*MediumMessage) Unmarshal

func (m *MediumMessage) Unmarshal(data []byte) error

func (*MediumMessage) VerboseEqual

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

type SmallMessage

type SmallMessage struct {
	Values           []string `protobuf:"bytes,1,rep" json:"Values,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func GenerateSmallMessage

func GenerateSmallMessage() *SmallMessage

GenerateSmallMessage generates a small size message.

func NewPopulatedSmallMessage

func NewPopulatedSmallMessage(r randyTestmessage, easy bool) *SmallMessage

func (*SmallMessage) Equal

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

func (*SmallMessage) GetValues

func (m *SmallMessage) GetValues() []string

func (*SmallMessage) GoString

func (this *SmallMessage) GoString() string

func (*SmallMessage) Marshal

func (m *SmallMessage) Marshal() (data []byte, err error)

func (*SmallMessage) MarshalTo

func (m *SmallMessage) MarshalTo(data []byte) (n int, err error)

func (*SmallMessage) ProtoMessage

func (*SmallMessage) ProtoMessage()

func (*SmallMessage) Reset

func (m *SmallMessage) Reset()

func (*SmallMessage) Size

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

func (*SmallMessage) String

func (this *SmallMessage) String() string

func (*SmallMessage) Unmarshal

func (m *SmallMessage) Unmarshal(data []byte) error

func (*SmallMessage) VerboseEqual

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

Jump to

Keyboard shortcuts

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