blob: fa8ed2e16868076654e03f5aa1c234ecc0d512ee [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: kythe/proto/link.proto
package link_go_proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
common_go_proto "kythe.io/kythe/proto/common_go_proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type LinkRequest_DefinitionKind int32
const (
LinkRequest_BINDING LinkRequest_DefinitionKind = 0
LinkRequest_FULL LinkRequest_DefinitionKind = 1
LinkRequest_ANY LinkRequest_DefinitionKind = 2
)
var LinkRequest_DefinitionKind_name = map[int32]string{
0: "BINDING",
1: "FULL",
2: "ANY",
}
var LinkRequest_DefinitionKind_value = map[string]int32{
"BINDING": 0,
"FULL": 1,
"ANY": 2,
}
func (x LinkRequest_DefinitionKind) String() string {
return proto.EnumName(LinkRequest_DefinitionKind_name, int32(x))
}
func (LinkRequest_DefinitionKind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_bd0775c667ce666e, []int{0, 0}
}
type LinkRequest struct {
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
Corpus []string `protobuf:"bytes,2,rep,name=corpus,proto3" json:"corpus,omitempty"`
Language []string `protobuf:"bytes,3,rep,name=language,proto3" json:"language,omitempty"`
NodeKind []string `protobuf:"bytes,4,rep,name=node_kind,json=nodeKind,proto3" json:"node_kind,omitempty"`
Include []*LinkRequest_Location `protobuf:"bytes,5,rep,name=include,proto3" json:"include,omitempty"`
Exclude []*LinkRequest_Location `protobuf:"bytes,6,rep,name=exclude,proto3" json:"exclude,omitempty"`
Params *LinkRequest_Params `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"`
DefinitionKind LinkRequest_DefinitionKind `protobuf:"varint,8,opt,name=definition_kind,json=definitionKind,proto3,enum=kythe.proto.LinkRequest_DefinitionKind" json:"definition_kind,omitempty"`
IncludeNodes bool `protobuf:"varint,9,opt,name=include_nodes,json=includeNodes,proto3" json:"include_nodes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LinkRequest) Reset() { *m = LinkRequest{} }
func (m *LinkRequest) String() string { return proto.CompactTextString(m) }
func (*LinkRequest) ProtoMessage() {}
func (*LinkRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_bd0775c667ce666e, []int{0}
}
func (m *LinkRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LinkRequest.Unmarshal(m, b)
}
func (m *LinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LinkRequest.Marshal(b, m, deterministic)
}
func (m *LinkRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LinkRequest.Merge(m, src)
}
func (m *LinkRequest) XXX_Size() int {
return xxx_messageInfo_LinkRequest.Size(m)
}
func (m *LinkRequest) XXX_DiscardUnknown() {
xxx_messageInfo_LinkRequest.DiscardUnknown(m)
}
var xxx_messageInfo_LinkRequest proto.InternalMessageInfo
func (m *LinkRequest) GetIdentifier() string {
if m != nil {
return m.Identifier
}
return ""
}
func (m *LinkRequest) GetCorpus() []string {
if m != nil {
return m.Corpus
}
return nil
}
func (m *LinkRequest) GetLanguage() []string {
if m != nil {
return m.Language
}
return nil
}
func (m *LinkRequest) GetNodeKind() []string {
if m != nil {
return m.NodeKind
}
return nil
}
func (m *LinkRequest) GetInclude() []*LinkRequest_Location {
if m != nil {
return m.Include
}
return nil
}
func (m *LinkRequest) GetExclude() []*LinkRequest_Location {
if m != nil {
return m.Exclude
}
return nil
}
func (m *LinkRequest) GetParams() *LinkRequest_Params {
if m != nil {
return m.Params
}
return nil
}
func (m *LinkRequest) GetDefinitionKind() LinkRequest_DefinitionKind {
if m != nil {
return m.DefinitionKind
}
return LinkRequest_BINDING
}
func (m *LinkRequest) GetIncludeNodes() bool {
if m != nil {
return m.IncludeNodes
}
return false
}
type LinkRequest_Location struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
Corpus string `protobuf:"bytes,3,opt,name=corpus,proto3" json:"corpus,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LinkRequest_Location) Reset() { *m = LinkRequest_Location{} }
func (m *LinkRequest_Location) String() string { return proto.CompactTextString(m) }
func (*LinkRequest_Location) ProtoMessage() {}
func (*LinkRequest_Location) Descriptor() ([]byte, []int) {
return fileDescriptor_bd0775c667ce666e, []int{0, 0}
}
func (m *LinkRequest_Location) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LinkRequest_Location.Unmarshal(m, b)
}
func (m *LinkRequest_Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LinkRequest_Location.Marshal(b, m, deterministic)
}
func (m *LinkRequest_Location) XXX_Merge(src proto.Message) {
xxx_messageInfo_LinkRequest_Location.Merge(m, src)
}
func (m *LinkRequest_Location) XXX_Size() int {
return xxx_messageInfo_LinkRequest_Location.Size(m)
}
func (m *LinkRequest_Location) XXX_DiscardUnknown() {
xxx_messageInfo_LinkRequest_Location.DiscardUnknown(m)
}
var xxx_messageInfo_LinkRequest_Location proto.InternalMessageInfo
func (m *LinkRequest_Location) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *LinkRequest_Location) GetRoot() string {
if m != nil {
return m.Root
}
return ""
}
func (m *LinkRequest_Location) GetCorpus() string {
if m != nil {
return m.Corpus
}
return ""
}
type LinkRequest_Params struct {
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LinkRequest_Params) Reset() { *m = LinkRequest_Params{} }
func (m *LinkRequest_Params) String() string { return proto.CompactTextString(m) }
func (*LinkRequest_Params) ProtoMessage() {}
func (*LinkRequest_Params) Descriptor() ([]byte, []int) {
return fileDescriptor_bd0775c667ce666e, []int{0, 1}
}
func (m *LinkRequest_Params) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LinkRequest_Params.Unmarshal(m, b)
}
func (m *LinkRequest_Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LinkRequest_Params.Marshal(b, m, deterministic)
}
func (m *LinkRequest_Params) XXX_Merge(src proto.Message) {
xxx_messageInfo_LinkRequest_Params.Merge(m, src)
}
func (m *LinkRequest_Params) XXX_Size() int {
return xxx_messageInfo_LinkRequest_Params.Size(m)
}
func (m *LinkRequest_Params) XXX_DiscardUnknown() {
xxx_messageInfo_LinkRequest_Params.DiscardUnknown(m)
}
var xxx_messageInfo_LinkRequest_Params proto.InternalMessageInfo
func (m *LinkRequest_Params) GetCount() int32 {
if m != nil {
return m.Count
}
return 0
}
type Link struct {
FileTicket string `protobuf:"bytes,1,opt,name=file_ticket,json=fileTicket,proto3" json:"file_ticket,omitempty"`
Span *common_go_proto.Span `protobuf:"bytes,2,opt,name=span,proto3" json:"span,omitempty"`
Nodes []*Link_Node `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Link) Reset() { *m = Link{} }
func (m *Link) String() string { return proto.CompactTextString(m) }
func (*Link) ProtoMessage() {}
func (*Link) Descriptor() ([]byte, []int) {
return fileDescriptor_bd0775c667ce666e, []int{1}
}
func (m *Link) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Link.Unmarshal(m, b)
}
func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Link.Marshal(b, m, deterministic)
}
func (m *Link) XXX_Merge(src proto.Message) {
xxx_messageInfo_Link.Merge(m, src)
}
func (m *Link) XXX_Size() int {
return xxx_messageInfo_Link.Size(m)
}
func (m *Link) XXX_DiscardUnknown() {
xxx_messageInfo_Link.DiscardUnknown(m)
}
var xxx_messageInfo_Link proto.InternalMessageInfo
func (m *Link) GetFileTicket() string {
if m != nil {
return m.FileTicket
}
return ""
}
func (m *Link) GetSpan() *common_go_proto.Span {
if m != nil {
return m.Span
}
return nil
}
func (m *Link) GetNodes() []*Link_Node {
if m != nil {
return m.Nodes
}
return nil
}
type Link_Node struct {
Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
BaseName string `protobuf:"bytes,2,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"`
Identifier string `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Link_Node) Reset() { *m = Link_Node{} }
func (m *Link_Node) String() string { return proto.CompactTextString(m) }
func (*Link_Node) ProtoMessage() {}
func (*Link_Node) Descriptor() ([]byte, []int) {
return fileDescriptor_bd0775c667ce666e, []int{1, 0}
}
func (m *Link_Node) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Link_Node.Unmarshal(m, b)
}
func (m *Link_Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Link_Node.Marshal(b, m, deterministic)
}
func (m *Link_Node) XXX_Merge(src proto.Message) {
xxx_messageInfo_Link_Node.Merge(m, src)
}
func (m *Link_Node) XXX_Size() int {
return xxx_messageInfo_Link_Node.Size(m)
}
func (m *Link_Node) XXX_DiscardUnknown() {
xxx_messageInfo_Link_Node.DiscardUnknown(m)
}
var xxx_messageInfo_Link_Node proto.InternalMessageInfo
func (m *Link_Node) GetTicket() string {
if m != nil {
return m.Ticket
}
return ""
}
func (m *Link_Node) GetBaseName() string {
if m != nil {
return m.BaseName
}
return ""
}
func (m *Link_Node) GetIdentifier() string {
if m != nil {
return m.Identifier
}
return ""
}
type LinkReply struct {
Links []*Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LinkReply) Reset() { *m = LinkReply{} }
func (m *LinkReply) String() string { return proto.CompactTextString(m) }
func (*LinkReply) ProtoMessage() {}
func (*LinkReply) Descriptor() ([]byte, []int) {
return fileDescriptor_bd0775c667ce666e, []int{2}
}
func (m *LinkReply) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LinkReply.Unmarshal(m, b)
}
func (m *LinkReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LinkReply.Marshal(b, m, deterministic)
}
func (m *LinkReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_LinkReply.Merge(m, src)
}
func (m *LinkReply) XXX_Size() int {
return xxx_messageInfo_LinkReply.Size(m)
}
func (m *LinkReply) XXX_DiscardUnknown() {
xxx_messageInfo_LinkReply.DiscardUnknown(m)
}
var xxx_messageInfo_LinkReply proto.InternalMessageInfo
func (m *LinkReply) GetLinks() []*Link {
if m != nil {
return m.Links
}
return nil
}
func init() {
proto.RegisterEnum("kythe.proto.LinkRequest_DefinitionKind", LinkRequest_DefinitionKind_name, LinkRequest_DefinitionKind_value)
proto.RegisterType((*LinkRequest)(nil), "kythe.proto.LinkRequest")
proto.RegisterType((*LinkRequest_Location)(nil), "kythe.proto.LinkRequest.Location")
proto.RegisterType((*LinkRequest_Params)(nil), "kythe.proto.LinkRequest.Params")
proto.RegisterType((*Link)(nil), "kythe.proto.Link")
proto.RegisterType((*Link_Node)(nil), "kythe.proto.Link.Node")
proto.RegisterType((*LinkReply)(nil), "kythe.proto.LinkReply")
}
func init() { proto.RegisterFile("kythe/proto/link.proto", fileDescriptor_bd0775c667ce666e) }
var fileDescriptor_bd0775c667ce666e = []byte{
// 536 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcd, 0x6e, 0xd3, 0x40,
0x10, 0xae, 0x63, 0x27, 0x71, 0xc6, 0x34, 0x0d, 0x23, 0x14, 0xad, 0x8c, 0xd4, 0x9a, 0x70, 0xa8,
0x0f, 0x55, 0x8a, 0x02, 0x12, 0x07, 0xc4, 0x81, 0xaa, 0x02, 0x15, 0xa2, 0xa8, 0x72, 0xe1, 0x00,
0x1c, 0xac, 0xad, 0xbd, 0x49, 0x57, 0x71, 0x76, 0x8d, 0xed, 0x54, 0xe4, 0x05, 0x79, 0x0e, 0x1e,
0x05, 0xed, 0xae, 0x53, 0x25, 0x2d, 0x91, 0x7a, 0xf2, 0x7c, 0xdf, 0xfc, 0x78, 0xbe, 0x99, 0x59,
0xe8, 0xcf, 0x57, 0xd5, 0x0d, 0x3b, 0xcd, 0x0b, 0x59, 0xc9, 0xd3, 0x8c, 0x8b, 0xf9, 0x50, 0x9b,
0xe8, 0x69, 0xde, 0x00, 0x9f, 0x6c, 0x06, 0x25, 0x72, 0xb1, 0x90, 0xc2, 0x78, 0x06, 0x7f, 0x1c,
0xf0, 0xc6, 0x5c, 0xcc, 0x23, 0xf6, 0x6b, 0xc9, 0xca, 0x0a, 0x0f, 0x01, 0x78, 0xca, 0x44, 0xc5,
0xa7, 0x9c, 0x15, 0xc4, 0x0a, 0xac, 0xb0, 0x13, 0x6d, 0x30, 0xd8, 0x87, 0x56, 0x22, 0x8b, 0x7c,
0x59, 0x92, 0x46, 0x60, 0x87, 0x9d, 0xa8, 0x46, 0xe8, 0x83, 0x9b, 0x51, 0x31, 0x5b, 0xd2, 0x19,
0x23, 0xb6, 0xf6, 0xdc, 0x61, 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