MCPcopy
hub / github.com/gogo/protobuf / SourceContext

Struct SourceContext

types/source_context.pb.go:30–37  ·  view source on GitHub ↗

please upgrade the proto package `SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.

Source from the content-addressed store, hash-verified

28// `SourceContext` represents information about the source of a
29// protobuf element, like the file in which it is defined.
30type SourceContext struct {
31 // The path-qualified name of the .proto file that contained the associated
32 // protobuf element. For example: `"google/protobuf/source_context.proto"`.
33 FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
34 XXX_NoUnkeyedLiteral struct{} `json:"-"`
35 XXX_unrecognized []byte `json:"-"`
36 XXX_sizecache int32 `json:"-"`
37}
38
39func (m *SourceContext) Reset() { *m = SourceContext{} }
40func (*SourceContext) ProtoMessage() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected