typedecl

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypedecl        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypedecl          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypedecl = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Kept

type Kept struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Age                  int32    `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedKept

func NewPopulatedKept(r randyTypedecl, easy bool) *Kept

func (*Kept) Descriptor

func (*Kept) Descriptor() ([]byte, []int)

func (*Kept) Equal

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

func (*Kept) GetAge

func (m *Kept) GetAge() int32

func (*Kept) GetName

func (m *Kept) GetName() string

func (*Kept) IsNil added in v1.4.9

func (m *Kept) IsNil() bool

func (*Kept) Marshal

func (m *Kept) Marshal() (dAtA []byte, err error)

func (*Kept) MarshalTo

func (m *Kept) MarshalTo(dAtA []byte) (int, error)

func (*Kept) MarshalToSizedBuffer added in v1.3.9

func (m *Kept) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Kept) ProtoMessage

func (*Kept) ProtoMessage()

func (*Kept) Reset

func (m *Kept) Reset()

func (*Kept) SetAge_ added in v1.4.9

func (m *Kept) SetAge_(val int32)

func (*Kept) SetName_ added in v1.4.9

func (m *Kept) SetName_(val string)

func (*Kept) Size

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

func (*Kept) String

func (m *Kept) String() string

func (*Kept) Unmarshal

func (m *Kept) Unmarshal(dAtA []byte) error

func (*Kept) VerboseEqual

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

func (*Kept) XXX_DiscardUnknown added in v1.1.0

func (m *Kept) XXX_DiscardUnknown()

func (*Kept) XXX_Marshal added in v1.1.0

func (m *Kept) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Kept) XXX_Merge added in v1.1.0

func (m *Kept) XXX_Merge(src proto.Message)

func (*Kept) XXX_Size added in v1.1.0

func (m *Kept) XXX_Size() int

func (*Kept) XXX_Unmarshal added in v1.1.0

func (m *Kept) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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