source_context - ActiveState ActiveGo 1.8
...

Package source_context

import "google.golang.org/genproto/protobuf/source_context"
Overview
Index

Overview ▾

Package source_context is a generated protocol buffer package.

It is generated from these files:

src/google/protobuf/source_context.proto

It has these top-level messages:

SourceContext

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