Documentation ¶
Index ¶
- Variables
- type A
- func (*A) Descriptor() ([]byte, []int)
- func (this *A) Equal(that interface{}) bool
- func (m *A) GetF1() string
- func (m *A) Marshal() (dAtA []byte, err error)
- func (m *A) MarshalTo(dAtA []byte) (int, error)
- func (m *A) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*A) ProtoMessage()
- func (m *A) Reset()
- func (m *A) Size() (n int)
- func (m *A) String() string
- func (m *A) Unmarshal(dAtA []byte) error
- func (m *A) XXX_DiscardUnknown()
- func (m *A) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *A) XXX_Merge(src proto.Message)
- func (m *A) XXX_Size() int
- func (m *A) XXX_Unmarshal(b []byte) error
- type B
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthA = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowA = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type A ¶
type A struct { F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedA ¶
func (*A) Descriptor ¶
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) XXX_DiscardUnknown ¶
func (m *A) XXX_DiscardUnknown()
func (*A) XXX_Unmarshal ¶
type B ¶
type B struct {
A
}
func NewPopulatedB ¶
func NewPopulatedB(r randyA) *B
func (B) MarshalJSON ¶
func (*B) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.