MCPcopy
hub / github.com/golang/protobuf / Object

Interface Object

protoc-gen-go/generator/generator.go:377–381  ·  protoc-gen-go/generator/generator.go::Object

Object is an interface abstracting the abilities shared by enums, messages, extensions and imported objects.

Source from the content-addressed store, hash-verified

375
376// Object is an interface abstracting the abilities shared by enums, messages, extensions and imported objects.
377type Object interface {
378 GoImportPath() GoImportPath
379 TypeName() []string
380 File() *FileDescriptor
381}
382
383// Generator is the type whose methods generate the output, stored in the associated response structure.
384type Generator struct {

Callers 15

grpc.goFile · 0.65
mainFunction · 0.65
DefaultPackageNameMethod · 0.65
RecordTypeUseMethod · 0.65
TypeNameMethod · 0.65
TypeNameMethod · 0.65
TypeNameMethod · 0.65
BuildTypeNameMapMethod · 0.65
generateEnumMethod · 0.65
goTagMethod · 0.65
TypeNameMethod · 0.65
generateMessageMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected