source_context

package
v0.0.0-...-c66870c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SourceContext

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,proto3" json:"file_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*SourceContext) XXX_DiscardUnknown

func (m *SourceContext) XXX_DiscardUnknown()

func (*SourceContext) XXX_Marshal

func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SourceContext) XXX_Merge

func (dst *SourceContext) XXX_Merge(src proto.Message)

func (*SourceContext) XXX_Size

func (m *SourceContext) XXX_Size() int

func (*SourceContext) XXX_Unmarshal

func (m *SourceContext) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL