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 ¶
- func ExampleDescription() (desc *google_protobuf.FileDescriptorSet)
- type A
- func (m *A) Clear()
- func (m *A) ClearDescription()
- func (m *A) ClearId()
- func (m *A) ClearNumber()
- func (this *A) Equal(that interface{}) bool
- func (m *A) GetDescription() string
- func (m *A) GetNumber() int64
- func (m *A) HasDescription() (isSet bool)
- func (m *A) HasId() (isSet bool)
- func (m *A) HasNumber() (isSet bool)
- func (m *A) Marshal() (data []byte, err error)
- func (m *A) MarshalTo(data []byte) (n int, err error)
- func (m *A) MarshalToUsingCachedSize(data []byte) (n int, err error)
- func (*A) ProtoMessage()
- func (m *A) Reset()
- func (m *A) SetDescription(value string) (err error)
- func (m *A) SetId(value github_com_dropbox_goprotoc_test.Id) (err error)
- func (m *A) SetNumber(value int64) (err error)
- func (m *A) Size() (n int)
- func (m *A) SizeCached() int
- func (this *A) String() string
- func (m *A) Unmarshal(data []byte) error
- func (this *A) VerboseEqual(that interface{}) error
- type AFace
- type B
- func (m *B) AddG(value github_com_dropbox_goprotoc_test.Id) (err error)
- func (m *B) Clear()
- func (m *B) ClearA()
- func (m *B) ClearG()
- func (this *B) Description() (desc *google_protobuf.FileDescriptorSet)
- func (this *B) Equal(that interface{}) bool
- func (m *B) GSize() (size int)
- func (m *B) GetG(index int) (field github_com_dropbox_goprotoc_test.Id, err error)
- func (m *B) HasA() (isSet bool)
- func (m *B) Marshal() (data []byte, err error)
- func (m *B) MarshalTo(data []byte) (n int, err error)
- func (m *B) MarshalToUsingCachedSize(data []byte) (n int, err error)
- func (m *B) MutateA() (field *A, err error)
- func (*B) ProtoMessage()
- func (m *B) Reset()
- func (m *B) SetG(value github_com_dropbox_goprotoc_test.Id, index int) (err error)
- func (m *B) Size() (n int)
- func (m *B) SizeCached() int
- func (this *B) String() string
- func (m *B) Unmarshal(data []byte) error
- func (this *B) VerboseEqual(that interface{}) error
- type C
- func (m *C) Clear()
- func (m *C) ClearMySize()
- func (this *C) Equal(that interface{}) bool
- func (m *C) GetMySize() int64
- func (m *C) HasMySize() (isSet bool)
- func (m *C) Marshal() (data []byte, err error)
- func (m *C) MarshalTo(data []byte) (n int, err error)
- func (m *C) MarshalToUsingCachedSize(data []byte) (n int, err error)
- func (*C) ProtoMessage()
- func (m *C) Reset()
- func (m *C) SetMySize(value int64) (err error)
- func (m *C) Size() (n int)
- func (m *C) SizeCached() int
- func (this *C) String() string
- func (m *C) Unmarshal(data []byte) error
- func (this *C) VerboseEqual(that interface{}) error
- type E
- func (m *E) Clear()
- func (this *E) Equal(that interface{}) bool
- func (m *E) ExtensionRangeArray() []proto.ExtensionRange
- func (m *E) GetExtensions() *[]byte
- func (m *E) Marshal() (data []byte, err error)
- func (m *E) MarshalTo(data []byte) (n int, err error)
- func (m *E) MarshalToUsingCachedSize(data []byte) (n int, err error)
- func (*E) ProtoMessage()
- func (m *E) Reset()
- func (m *E) Size() (n int)
- func (m *E) SizeCached() int
- func (this *E) String() string
- func (m *E) Unmarshal(data []byte) error
- func (this *E) VerboseEqual(that interface{}) error
- type U
- func (m *U) Clear()
- func (m *U) ClearA()
- func (m *U) ClearB()
- func (this *U) Equal(that interface{}) bool
- func (m *U) GetA() *A
- func (m *U) GetB() *B
- func (this *U) GetValue() interface{}
- func (m *U) HasA() (isSet bool)
- func (m *U) HasB() (isSet bool)
- func (m *U) Marshal() (data []byte, err error)
- func (m *U) MarshalTo(data []byte) (n int, err error)
- func (m *U) MarshalToUsingCachedSize(data []byte) (n int, err error)
- func (m *U) MutateA() (field *A, err error)
- func (m *U) MutateB() (field *B, err error)
- func (*U) ProtoMessage()
- func (m *U) Reset()
- func (this *U) SetValue(value interface{}) bool
- func (m *U) Size() (n int)
- func (m *U) SizeCached() int
- func (this *U) String() string
- func (m *U) Unmarshal(data []byte) error
- func (this *U) VerboseEqual(that interface{}) error
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 (*A) ClearDescription ¶
func (m *A) ClearDescription()
func (*A) ClearNumber ¶
func (m *A) ClearNumber()
func (*A) GetDescription ¶
func (*A) HasDescription ¶
func (*A) MarshalToUsingCachedSize ¶
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) SetDescription ¶
func (*A) SizeCached ¶
func (*A) VerboseEqual ¶
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 ¶
func NewPopulatedB ¶
func (*B) Description ¶
func (this *B) Description() (desc *google_protobuf.FileDescriptorSet)
func (*B) MarshalToUsingCachedSize ¶
func (*B) ProtoMessage ¶
func (*B) ProtoMessage()
func (*B) SizeCached ¶
func (*B) VerboseEqual ¶
type C ¶
type C struct {
XXX_unrecognized []byte
// contains filtered or unexported fields
}
func NewPopulatedC ¶
func (*C) ClearMySize ¶
func (m *C) ClearMySize()
func (*C) MarshalToUsingCachedSize ¶
func (*C) ProtoMessage ¶
func (*C) ProtoMessage()
func (*C) SizeCached ¶
func (*C) VerboseEqual ¶
type E ¶
type E struct {
XXX_extensions []byte
XXX_unrecognized []byte
// contains filtered or unexported fields
}
func NewPopulatedE ¶
func (*E) ExtensionRangeArray ¶
func (m *E) ExtensionRangeArray() []proto.ExtensionRange
func (*E) GetExtensions ¶
func (*E) MarshalToUsingCachedSize ¶
func (*E) ProtoMessage ¶
func (*E) ProtoMessage()
func (*E) SizeCached ¶
func (*E) VerboseEqual ¶
type U ¶
type U struct {
XXX_unrecognized []byte
// contains filtered or unexported fields
}
func NewPopulatedU ¶
func (*U) MarshalToUsingCachedSize ¶
func (*U) ProtoMessage ¶
func (*U) ProtoMessage()
func (*U) SizeCached ¶
func (*U) VerboseEqual ¶
Click to show internal directories.
Click to hide internal directories.