Source File
methods.go
Belonging Package
google.golang.org/protobuf/reflect/protoreflect
// Copyright 2020 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.package protoreflectimport ()// The following types are used by the fast-path Message.ProtoMethods method.//// To avoid polluting the public protoreflect API with types used only by// low-level implementations, the canonical definitions of these types are// in the runtime/protoiface package. The definitions here and in protoiface// must be kept in sync.type (methods = struct {pragma.NoUnkeyedLiteralsFlags supportFlagsSize func(sizeInput) sizeOutputMarshal func(marshalInput) (marshalOutput, error)Unmarshal func(unmarshalInput) (unmarshalOutput, error)Merge func(mergeInput) mergeOutputCheckInitialized func(checkInitializedInput) (checkInitializedOutput, error)Equal func(equalInput) equalOutput}supportFlags = uint64sizeInput = struct {pragma.NoUnkeyedLiteralsMessage MessageFlags uint8}sizeOutput = struct {pragma.NoUnkeyedLiteralsSize int}marshalInput = struct {pragma.NoUnkeyedLiteralsMessage MessageBuf []byteFlags uint8}marshalOutput = struct {pragma.NoUnkeyedLiteralsBuf []byte}unmarshalInput = struct {pragma.NoUnkeyedLiteralsMessage MessageBuf []byteFlags uint8Resolver interface {FindExtensionByName(field FullName) (ExtensionType, error)FindExtensionByNumber(message FullName, field FieldNumber) (ExtensionType, error)}Depth int}unmarshalOutput = struct {pragma.NoUnkeyedLiteralsFlags uint8}mergeInput = struct {pragma.NoUnkeyedLiteralsSource MessageDestination Message}mergeOutput = struct {pragma.NoUnkeyedLiteralsFlags uint8}checkInitializedInput = struct {pragma.NoUnkeyedLiteralsMessage Message}checkInitializedOutput = struct {pragma.NoUnkeyedLiterals}equalInput = struct {pragma.NoUnkeyedLiteralsMessageA MessageMessageB Message}equalOutput = struct {pragma.NoUnkeyedLiteralsEqual bool})
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)