Package imported
import "github.com/gogo/protobuf/test/importcustom-issue389/imported"
- Overview
- Index
Variables
var (
ErrInvalidLengthA = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowA = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupA = fmt.Errorf("proto: unexpected end of group")
)
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(r randyA, easy bool) *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 (*A) Size
¶
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
¶
type B struct {
A
}
func NewPopulatedB(r randyA) *B
func (b B) Equal(other B) bool
func (b B) Marshal() ([]byte, error)
func (b B) MarshalJSON() ([]byte, error)
func (b B) Size() int
func (b *B) Unmarshal(data []byte) error
func (b *B) UnmarshalJSON(data []byte) error