...
Package source_context
Overview ▹
Index ▹
type SourceContext ¶
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
type SourceContext struct {
// The path-qualified name of the .proto file that contained the associated
// protobuf element. For example: `"google/protobuf/source_context.proto"`.
FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName" json:"file_name,omitempty"`
}
func (*SourceContext) Descriptor ¶
func (*SourceContext) Descriptor() ([]byte, []int)
func (*SourceContext) GetFileName ¶
func (m *SourceContext) GetFileName() string
func (*SourceContext) ProtoMessage ¶
func (*SourceContext) ProtoMessage()
func (*SourceContext) Reset ¶
func (m *SourceContext) Reset()
func (*SourceContext) String ¶
func (m *SourceContext) String() string
ActiveGo 1.8