MCPcopy
hub / github.com/protocolbuffers/protobuf-go / ContainingMessage

Method ContainingMessage

reflect/protoreflect/type.go:373–373  ·  view source on GitHub ↗

ContainingMessage is the containing message that this field belongs to. For extension fields, this may not necessarily be the parent message that the field is declared within.

()

Source from the content-addressed store, hash-verified

371 // For extension fields, this may not necessarily be the parent message
372 // that the field is declared within.
373 ContainingMessage() MessageDescriptor
374
375 // Enum is the enum descriptor if Kind is EnumKind.
376 // It returns nil for any other Kind.

Callers 15

unmarshalMessageMethod · 0.95
unmarshalMessageMethod · 0.95
registerExtensionsMethod · 0.65
checkFieldMethod · 0.65
HasExtensionFunction · 0.65
resolveDependenciesMethod · 0.65
ToFieldDescriptorProtoFunction · 0.65
RegisterExtensionMethod · 0.65
isGroupLikeFunction · 0.65
IsMessageSetExtensionFunction · 0.65

Implementers 3

Fieldinternal/filedesc/desc.go
Extensioninternal/filedesc/desc.go
placeholderExtensioninternal/impl/legacy_extension.go

Calls

no outgoing calls