common_go_proto

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0, NCSA Imports: 3 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Link_Kind_name = map[int32]string{
	0:   "DEFINITION",
	1:   "LIST",
	2:   "LIST_ITEM",
	999: "IMPORTANT",
}
View Source
var Link_Kind_value = map[string]int32{
	"DEFINITION": 0,
	"LIST":       1,
	"LIST_ITEM":  2,
	"IMPORTANT":  999,
}
View Source
var MarkedSource_Kind_name = map[int32]string{
	0: "BOX",
	1: "TYPE",
	2: "PARAMETER",
	3: "IDENTIFIER",
	4: "CONTEXT",
	5: "INITIALIZER",
	6: "PARAMETER_LOOKUP_BY_PARAM",
	7: "LOOKUP_BY_PARAM",
	8: "PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS",
	9: "LOOKUP_BY_TYPED",
}
View Source
var MarkedSource_Kind_value = map[string]int32{
	"BOX":                       0,
	"TYPE":                      1,
	"PARAMETER":                 2,
	"IDENTIFIER":                3,
	"CONTEXT":                   4,
	"INITIALIZER":               5,
	"PARAMETER_LOOKUP_BY_PARAM": 6,
	"LOOKUP_BY_PARAM":           7,
	"PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS": 8,
	"LOOKUP_BY_TYPED":                         9,
}

Functions

This section is empty.

Types

type CorpusPath added in v0.0.29

type CorpusPath struct {
	Corpus               string   `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"`
	Root                 string   `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	Path                 string   `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CorpusPath) Descriptor added in v0.0.29

func (*CorpusPath) Descriptor() ([]byte, []int)

func (*CorpusPath) GetCorpus added in v0.0.29

func (m *CorpusPath) GetCorpus() string

func (*CorpusPath) GetPath added in v0.0.29

func (m *CorpusPath) GetPath() string

func (*CorpusPath) GetRoot added in v0.0.29

func (m *CorpusPath) GetRoot() string

func (*CorpusPath) ProtoMessage added in v0.0.29

func (*CorpusPath) ProtoMessage()

func (*CorpusPath) Reset added in v0.0.29

func (m *CorpusPath) Reset()

func (*CorpusPath) String added in v0.0.29

func (m *CorpusPath) String() string

func (*CorpusPath) XXX_DiscardUnknown added in v0.0.29

func (m *CorpusPath) XXX_DiscardUnknown()

func (*CorpusPath) XXX_Marshal added in v0.0.29

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

func (*CorpusPath) XXX_Merge added in v0.0.29

func (m *CorpusPath) XXX_Merge(src proto.Message)

func (*CorpusPath) XXX_Size added in v0.0.29

func (m *CorpusPath) XXX_Size() int

func (*CorpusPath) XXX_Unmarshal added in v0.0.29

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

type Diagnostic

type Diagnostic struct {
	Span                 *Span    `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Details              string   `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	ContextUrl           string   `protobuf:"bytes,4,opt,name=context_url,json=contextUrl,proto3" json:"context_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Diagnostic) Descriptor

func (*Diagnostic) Descriptor() ([]byte, []int)

func (*Diagnostic) GetContextUrl

func (m *Diagnostic) GetContextUrl() string

func (*Diagnostic) GetDetails

func (m *Diagnostic) GetDetails() string

func (*Diagnostic) GetMessage

func (m *Diagnostic) GetMessage() string

func (*Diagnostic) GetSpan

func (m *Diagnostic) GetSpan() *Span

func (*Diagnostic) ProtoMessage

func (*Diagnostic) ProtoMessage()

func (*Diagnostic) Reset

func (m *Diagnostic) Reset()

func (*Diagnostic) String

func (m *Diagnostic) String() string

func (*Diagnostic) XXX_DiscardUnknown

func (m *Diagnostic) XXX_DiscardUnknown()

func (*Diagnostic) XXX_Marshal

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

func (*Diagnostic) XXX_Merge

func (m *Diagnostic) XXX_Merge(src proto.Message)

func (*Diagnostic) XXX_Size

func (m *Diagnostic) XXX_Size() int

func (*Diagnostic) XXX_Unmarshal

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

type Fact

type Fact struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Fact) Descriptor

func (*Fact) Descriptor() ([]byte, []int)

func (*Fact) GetName

func (m *Fact) GetName() string

func (*Fact) GetValue

func (m *Fact) GetValue() []byte

func (*Fact) ProtoMessage

func (*Fact) ProtoMessage()

func (*Fact) Reset

func (m *Fact) Reset()

func (*Fact) String

func (m *Fact) String() string

func (*Fact) XXX_DiscardUnknown

func (m *Fact) XXX_DiscardUnknown()

func (*Fact) XXX_Marshal

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

func (*Fact) XXX_Merge

func (m *Fact) XXX_Merge(src proto.Message)

func (*Fact) XXX_Size

func (m *Fact) XXX_Size() int

func (*Fact) XXX_Unmarshal

func (m *Fact) XXX_Unmarshal(b []byte) error
type Link struct {
	Definition           []string  `protobuf:"bytes,3,rep,name=definition,proto3" json:"definition,omitempty"`
	Kind                 Link_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=kythe.proto.common.Link_Kind" json:"kind,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Link) Descriptor

func (*Link) Descriptor() ([]byte, []int)

func (*Link) GetDefinition

func (m *Link) GetDefinition() []string

func (*Link) GetKind deprecated

func (m *Link) GetKind() Link_Kind

Deprecated: Do not use.

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) Reset

func (m *Link) Reset()

func (*Link) String

func (m *Link) String() string

func (*Link) XXX_DiscardUnknown

func (m *Link) XXX_DiscardUnknown()

func (*Link) XXX_Marshal

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

func (*Link) XXX_Merge

func (m *Link) XXX_Merge(src proto.Message)

func (*Link) XXX_Size

func (m *Link) XXX_Size() int

func (*Link) XXX_Unmarshal

func (m *Link) XXX_Unmarshal(b []byte) error
type Link_Kind int32
const (
	Link_DEFINITION Link_Kind = 0
	Link_LIST       Link_Kind = 1
	Link_LIST_ITEM  Link_Kind = 2
	Link_IMPORTANT  Link_Kind = 999
)
func (Link_Kind) EnumDescriptor() ([]byte, []int)
func (x Link_Kind) String() string

type MarkedSource

type MarkedSource struct {
	Kind                 MarkedSource_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=kythe.proto.common.MarkedSource_Kind" json:"kind,omitempty"`
	PreText              string            `protobuf:"bytes,2,opt,name=pre_text,json=preText,proto3" json:"pre_text,omitempty"`
	Child                []*MarkedSource   `protobuf:"bytes,3,rep,name=child,proto3" json:"child,omitempty"`
	PostChildText        string            `protobuf:"bytes,4,opt,name=post_child_text,json=postChildText,proto3" json:"post_child_text,omitempty"`
	PostText             string            `protobuf:"bytes,5,opt,name=post_text,json=postText,proto3" json:"post_text,omitempty"`
	LookupIndex          uint32            `protobuf:"varint,6,opt,name=lookup_index,json=lookupIndex,proto3" json:"lookup_index,omitempty"`
	DefaultChildrenCount uint32            `protobuf:"varint,7,opt,name=default_children_count,json=defaultChildrenCount,proto3" json:"default_children_count,omitempty"`
	AddFinalListToken    bool              `protobuf:"varint,10,opt,name=add_final_list_token,json=addFinalListToken,proto3" json:"add_final_list_token,omitempty"`
	Link                 []*Link           `protobuf:"bytes,11,rep,name=link,proto3" json:"link,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MarkedSource) Descriptor

func (*MarkedSource) Descriptor() ([]byte, []int)

func (*MarkedSource) GetAddFinalListToken

func (m *MarkedSource) GetAddFinalListToken() bool

func (*MarkedSource) GetChild

func (m *MarkedSource) GetChild() []*MarkedSource

func (*MarkedSource) GetDefaultChildrenCount

func (m *MarkedSource) GetDefaultChildrenCount() uint32

func (*MarkedSource) GetKind

func (m *MarkedSource) GetKind() MarkedSource_Kind
func (m *MarkedSource) GetLink() []*Link

func (*MarkedSource) GetLookupIndex

func (m *MarkedSource) GetLookupIndex() uint32

func (*MarkedSource) GetPostChildText

func (m *MarkedSource) GetPostChildText() string

func (*MarkedSource) GetPostText

func (m *MarkedSource) GetPostText() string

func (*MarkedSource) GetPreText

func (m *MarkedSource) GetPreText() string

func (*MarkedSource) ProtoMessage

func (*MarkedSource) ProtoMessage()

func (*MarkedSource) Reset

func (m *MarkedSource) Reset()

func (*MarkedSource) String

func (m *MarkedSource) String() string

func (*MarkedSource) XXX_DiscardUnknown

func (m *MarkedSource) XXX_DiscardUnknown()

func (*MarkedSource) XXX_Marshal

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

func (*MarkedSource) XXX_Merge

func (m *MarkedSource) XXX_Merge(src proto.Message)

func (*MarkedSource) XXX_Size

func (m *MarkedSource) XXX_Size() int

func (*MarkedSource) XXX_Unmarshal

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

type MarkedSource_Kind

type MarkedSource_Kind int32
const (
	MarkedSource_BOX                                     MarkedSource_Kind = 0
	MarkedSource_TYPE                                    MarkedSource_Kind = 1
	MarkedSource_PARAMETER                               MarkedSource_Kind = 2
	MarkedSource_IDENTIFIER                              MarkedSource_Kind = 3
	MarkedSource_CONTEXT                                 MarkedSource_Kind = 4
	MarkedSource_INITIALIZER                             MarkedSource_Kind = 5
	MarkedSource_PARAMETER_LOOKUP_BY_PARAM               MarkedSource_Kind = 6
	MarkedSource_LOOKUP_BY_PARAM                         MarkedSource_Kind = 7
	MarkedSource_PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS MarkedSource_Kind = 8
	MarkedSource_LOOKUP_BY_TYPED                         MarkedSource_Kind = 9
)

func (MarkedSource_Kind) EnumDescriptor

func (MarkedSource_Kind) EnumDescriptor() ([]byte, []int)

func (MarkedSource_Kind) String

func (x MarkedSource_Kind) String() string

type NodeInfo

type NodeInfo struct {
	Facts                map[string][]byte `` /* 151-byte string literal not displayed */
	Definition           string            `protobuf:"bytes,5,opt,name=definition,proto3" json:"definition,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*NodeInfo) Descriptor

func (*NodeInfo) Descriptor() ([]byte, []int)

func (*NodeInfo) GetDefinition

func (m *NodeInfo) GetDefinition() string

func (*NodeInfo) GetFacts

func (m *NodeInfo) GetFacts() map[string][]byte

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset

func (m *NodeInfo) Reset()

func (*NodeInfo) String

func (m *NodeInfo) String() string

func (*NodeInfo) XXX_DiscardUnknown

func (m *NodeInfo) XXX_DiscardUnknown()

func (*NodeInfo) XXX_Marshal

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

func (*NodeInfo) XXX_Merge

func (m *NodeInfo) XXX_Merge(src proto.Message)

func (*NodeInfo) XXX_Size

func (m *NodeInfo) XXX_Size() int

func (*NodeInfo) XXX_Unmarshal

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

type Point

type Point struct {
	ByteOffset           int32    `protobuf:"varint,1,opt,name=byte_offset,json=byteOffset,proto3" json:"byte_offset,omitempty"`
	LineNumber           int32    `protobuf:"varint,2,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
	ColumnOffset         int32    `protobuf:"varint,3,opt,name=column_offset,json=columnOffset,proto3" json:"column_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Point) Descriptor

func (*Point) Descriptor() ([]byte, []int)

func (*Point) GetByteOffset

func (m *Point) GetByteOffset() int32

func (*Point) GetColumnOffset

func (m *Point) GetColumnOffset() int32

func (*Point) GetLineNumber

func (m *Point) GetLineNumber() int32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

func (*Point) XXX_DiscardUnknown

func (m *Point) XXX_DiscardUnknown()

func (*Point) XXX_Marshal

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

func (*Point) XXX_Merge

func (m *Point) XXX_Merge(src proto.Message)

func (*Point) XXX_Size

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal

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

type ResolvedDiagnostic added in v0.0.29

type ResolvedDiagnostic struct {
	CorpusPath           *CorpusPath `protobuf:"bytes,1,opt,name=corpus_path,json=corpusPath,proto3" json:"corpus_path,omitempty"`
	Diagnostic           *Diagnostic `protobuf:"bytes,2,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ResolvedDiagnostic) Descriptor added in v0.0.29

func (*ResolvedDiagnostic) Descriptor() ([]byte, []int)

func (*ResolvedDiagnostic) GetCorpusPath added in v0.0.29

func (m *ResolvedDiagnostic) GetCorpusPath() *CorpusPath

func (*ResolvedDiagnostic) GetDiagnostic added in v0.0.29

func (m *ResolvedDiagnostic) GetDiagnostic() *Diagnostic

func (*ResolvedDiagnostic) ProtoMessage added in v0.0.29

func (*ResolvedDiagnostic) ProtoMessage()

func (*ResolvedDiagnostic) Reset added in v0.0.29

func (m *ResolvedDiagnostic) Reset()

func (*ResolvedDiagnostic) String added in v0.0.29

func (m *ResolvedDiagnostic) String() string

func (*ResolvedDiagnostic) XXX_DiscardUnknown added in v0.0.29

func (m *ResolvedDiagnostic) XXX_DiscardUnknown()

func (*ResolvedDiagnostic) XXX_Marshal added in v0.0.29

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

func (*ResolvedDiagnostic) XXX_Merge added in v0.0.29

func (m *ResolvedDiagnostic) XXX_Merge(src proto.Message)

func (*ResolvedDiagnostic) XXX_Size added in v0.0.29

func (m *ResolvedDiagnostic) XXX_Size() int

func (*ResolvedDiagnostic) XXX_Unmarshal added in v0.0.29

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

type Span

type Span struct {
	Start                *Point   `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End                  *Point   `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Span) Descriptor

func (*Span) Descriptor() ([]byte, []int)

func (*Span) GetEnd

func (m *Span) GetEnd() *Point

func (*Span) GetStart

func (m *Span) GetStart() *Point

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) Reset

func (m *Span) Reset()

func (*Span) String

func (m *Span) String() string

func (*Span) XXX_DiscardUnknown

func (m *Span) XXX_DiscardUnknown()

func (*Span) XXX_Marshal

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

func (*Span) XXX_Merge

func (m *Span) XXX_Merge(src proto.Message)

func (*Span) XXX_Size

func (m *Span) XXX_Size() int

func (*Span) XXX_Unmarshal

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

type SymbolInfo

type SymbolInfo struct {
	BaseName             string   `protobuf:"bytes,1,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"`
	QualifiedName        string   `protobuf:"bytes,2,opt,name=qualified_name,json=qualifiedName,proto3" json:"qualified_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SymbolInfo) Descriptor

func (*SymbolInfo) Descriptor() ([]byte, []int)

func (*SymbolInfo) GetBaseName

func (m *SymbolInfo) GetBaseName() string

func (*SymbolInfo) GetQualifiedName

func (m *SymbolInfo) GetQualifiedName() string

func (*SymbolInfo) ProtoMessage

func (*SymbolInfo) ProtoMessage()

func (*SymbolInfo) Reset

func (m *SymbolInfo) Reset()

func (*SymbolInfo) String

func (m *SymbolInfo) String() string

func (*SymbolInfo) XXX_DiscardUnknown

func (m *SymbolInfo) XXX_DiscardUnknown()

func (*SymbolInfo) XXX_Marshal

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

func (*SymbolInfo) XXX_Merge

func (m *SymbolInfo) XXX_Merge(src proto.Message)

func (*SymbolInfo) XXX_Size

func (m *SymbolInfo) XXX_Size() int

func (*SymbolInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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