kubernetes/vendor/google.golang.org/protobuf/internal/impl/encode.go

type marshalOptions

func (o marshalOptions) Options() proto.MarshalOptions {}

func (o marshalOptions) Deterministic() bool {}

func (o marshalOptions) UseCachedSize() bool {}

// size is protoreflect.Methods.Size.
func (mi *MessageInfo) size(in piface.SizeInput) piface.SizeOutput {}

func (mi *MessageInfo) sizePointer(p pointer, opts marshalOptions) (size int) {}

func (mi *MessageInfo) sizePointerSlow(p pointer, opts marshalOptions) (size int) {}

// marshal is protoreflect.Methods.Marshal.
func (mi *MessageInfo) marshal(in piface.MarshalInput) (out piface.MarshalOutput, err error) {}

func (mi *MessageInfo) marshalAppendPointer(b []byte, p pointer, opts marshalOptions) ([]byte, error) {}

// fullyLazyExtensions returns true if we should attempt to keep extensions lazy over size and marshal.
func fullyLazyExtensions(opts marshalOptions) bool {}

func (mi *MessageInfo) sizeExtensions(ext *map[int32]ExtensionField, opts marshalOptions) (n int) {}

func (mi *MessageInfo) appendExtensions(b []byte, ext *map[int32]ExtensionField, opts marshalOptions) ([]byte, error) {}