test

package
v0.0.0-...-b4e1ea4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2015 License: BSD-3-Clause Imports: 9 Imported by: 1

Documentation

Overview

Package test is a generated protocol buffer package.

It is generated from these files:

example.proto

It has these top-level messages:

A
B
C
U
E

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExampleDescription

func ExampleDescription() (desc *google_protobuf.FileDescriptorSet)

Types

type A

type A struct {
	XXX_unrecognized []byte
	// contains filtered or unexported fields
}

func NewPopulatedA

func NewPopulatedA(r randyExample, easy bool) *A

func (*A) Clear

func (m *A) Clear()

func (*A) ClearDescription

func (m *A) ClearDescription()

func (*A) ClearId

func (m *A) ClearId()

func (*A) ClearNumber

func (m *A) ClearNumber()

func (*A) Equal

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

func (*A) GetDescription

func (m *A) GetDescription() string

func (*A) GetNumber

func (m *A) GetNumber() int64

func (*A) HasDescription

func (m *A) HasDescription() (isSet bool)

func (*A) HasId

func (m *A) HasId() (isSet bool)

func (*A) HasNumber

func (m *A) HasNumber() (isSet bool)

func (*A) Marshal

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

func (*A) MarshalTo

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

func (*A) MarshalToUsingCachedSize

func (m *A) MarshalToUsingCachedSize(data []byte) (n int, err error)

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) Reset

func (m *A) Reset()

func (*A) SetDescription

func (m *A) SetDescription(value string) (err error)

func (*A) SetId

func (m *A) SetId(value github_com_dropbox_goprotoc_test.Id) (err error)

func (*A) SetNumber

func (m *A) SetNumber(value int64) (err error)

func (*A) Size

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

func (*A) SizeCached

func (m *A) SizeCached() int

func (*A) String

func (this *A) String() string

func (*A) Unmarshal

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

func (*A) VerboseEqual

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

type AFace

type AFace interface {
	Proto() github_com_dropbox_goprotoc_proto1.Message
	Getdescription() string
	Getnumber() int64
	Getid() github_com_dropbox_goprotoc_test.Id
}

type B

type B struct {
	*A

	XXX_unrecognized []byte
	// contains filtered or unexported fields
}

func NewPopulatedB

func NewPopulatedB(r randyExample, easy bool) *B

func (*B) AddG

func (m *B) AddG(value github_com_dropbox_goprotoc_test.Id) (err error)

func (*B) Clear

func (m *B) Clear()

func (*B) ClearA

func (m *B) ClearA()

func (*B) ClearG

func (m *B) ClearG()

func (*B) Description

func (this *B) Description() (desc *google_protobuf.FileDescriptorSet)

func (*B) Equal

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

func (*B) GSize

func (m *B) GSize() (size int)

func (*B) GetG

func (m *B) GetG(index int) (field github_com_dropbox_goprotoc_test.Id, err error)

func (*B) HasA

func (m *B) HasA() (isSet bool)

func (*B) Marshal

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

func (*B) MarshalTo

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

func (*B) MarshalToUsingCachedSize

func (m *B) MarshalToUsingCachedSize(data []byte) (n int, err error)

func (*B) MutateA

func (m *B) MutateA() (field *A, err error)

func (*B) ProtoMessage

func (*B) ProtoMessage()

func (*B) Reset

func (m *B) Reset()

func (*B) SetG

func (m *B) SetG(value github_com_dropbox_goprotoc_test.Id, index int) (err error)

func (*B) Size

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

func (*B) SizeCached

func (m *B) SizeCached() int

func (*B) String

func (this *B) String() string

func (*B) Unmarshal

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

func (*B) VerboseEqual

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

type C

type C struct {
	XXX_unrecognized []byte
	// contains filtered or unexported fields
}

func NewPopulatedC

func NewPopulatedC(r randyExample, easy bool) *C

func (*C) Clear

func (m *C) Clear()

func (*C) ClearMySize

func (m *C) ClearMySize()

func (*C) Equal

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

func (*C) GetMySize

func (m *C) GetMySize() int64

func (*C) HasMySize

func (m *C) HasMySize() (isSet bool)

func (*C) Marshal

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

func (*C) MarshalTo

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

func (*C) MarshalToUsingCachedSize

func (m *C) MarshalToUsingCachedSize(data []byte) (n int, err error)

func (*C) ProtoMessage

func (*C) ProtoMessage()

func (*C) Reset

func (m *C) Reset()

func (*C) SetMySize

func (m *C) SetMySize(value int64) (err error)

func (*C) Size

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

func (*C) SizeCached

func (m *C) SizeCached() int

func (*C) String

func (this *C) String() string

func (*C) Unmarshal

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

func (*C) VerboseEqual

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

type E

type E struct {
	XXX_extensions   []byte
	XXX_unrecognized []byte
	// contains filtered or unexported fields
}

func NewPopulatedE

func NewPopulatedE(r randyExample, easy bool) *E

func (*E) Clear

func (m *E) Clear()

func (*E) Equal

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

func (*E) ExtensionRangeArray

func (m *E) ExtensionRangeArray() []proto.ExtensionRange

func (*E) GetExtensions

func (m *E) GetExtensions() *[]byte

func (*E) Marshal

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

func (*E) MarshalTo

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

func (*E) MarshalToUsingCachedSize

func (m *E) MarshalToUsingCachedSize(data []byte) (n int, err error)

func (*E) ProtoMessage

func (*E) ProtoMessage()

func (*E) Reset

func (m *E) Reset()

func (*E) Size

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

func (*E) SizeCached

func (m *E) SizeCached() int

func (*E) String

func (this *E) String() string

func (*E) Unmarshal

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

func (*E) VerboseEqual

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

type U

type U struct {
	XXX_unrecognized []byte
	// contains filtered or unexported fields
}

func NewPopulatedU

func NewPopulatedU(r randyExample, easy bool) *U

func (*U) Clear

func (m *U) Clear()

func (*U) ClearA

func (m *U) ClearA()

func (*U) ClearB

func (m *U) ClearB()

func (*U) Equal

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

func (*U) GetA

func (m *U) GetA() *A

func (*U) GetB

func (m *U) GetB() *B

func (*U) GetValue

func (this *U) GetValue() interface{}

func (*U) HasA

func (m *U) HasA() (isSet bool)

func (*U) HasB

func (m *U) HasB() (isSet bool)

func (*U) Marshal

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

func (*U) MarshalTo

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

func (*U) MarshalToUsingCachedSize

func (m *U) MarshalToUsingCachedSize(data []byte) (n int, err error)

func (*U) MutateA

func (m *U) MutateA() (field *A, err error)

func (*U) MutateB

func (m *U) MutateB() (field *B, err error)

func (*U) ProtoMessage

func (*U) ProtoMessage()

func (*U) Reset

func (m *U) Reset()

func (*U) SetValue

func (this *U) SetValue(value interface{}) bool

func (*U) Size

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

func (*U) SizeCached

func (m *U) SizeCached() int

func (*U) String

func (this *U) String() string

func (*U) Unmarshal

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

func (*U) VerboseEqual

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

Jump to

Keyboard shortcuts

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