blob: a3f32155e662040bce0ff2f4825410f822c27f47 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: kythe/proto/xref_serving.proto
package xref_serving_go_proto
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import common_go_proto "kythe.io/kythe/proto/common_go_proto"
import schema_go_proto "kythe.io/kythe/proto/schema_go_proto"
import serving_go_proto "kythe.io/kythe/proto/serving_go_proto"
import storage_go_proto "kythe.io/kythe/proto/storage_go_proto"
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
type FileDecorations_TargetOverride_Kind int32
const (
FileDecorations_TargetOverride_UNKNOWN FileDecorations_TargetOverride_Kind = 0
FileDecorations_TargetOverride_OVERRIDES FileDecorations_TargetOverride_Kind = 1
FileDecorations_TargetOverride_EXTENDS FileDecorations_TargetOverride_Kind = 2
)
var FileDecorations_TargetOverride_Kind_name = map[int32]string{
0: "UNKNOWN",
1: "OVERRIDES",
2: "EXTENDS",
}
var FileDecorations_TargetOverride_Kind_value = map[string]int32{
"UNKNOWN": 0,
"OVERRIDES": 1,
"EXTENDS": 2,
}
func (x FileDecorations_TargetOverride_Kind) String() string {
return proto.EnumName(FileDecorations_TargetOverride_Kind_name, int32(x))
}
func (FileDecorations_TargetOverride_Kind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 3, 0}
}
type CrossReferences_Callsite_Kind int32
const (
CrossReferences_Callsite_UNKNOWN CrossReferences_Callsite_Kind = 0
CrossReferences_Callsite_DIRECT CrossReferences_Callsite_Kind = 1
CrossReferences_Callsite_OVERRIDE CrossReferences_Callsite_Kind = 2
)
var CrossReferences_Callsite_Kind_name = map[int32]string{
0: "UNKNOWN",
1: "DIRECT",
2: "OVERRIDE",
}
var CrossReferences_Callsite_Kind_value = map[string]int32{
"UNKNOWN": 0,
"DIRECT": 1,
"OVERRIDE": 2,
}
func (x CrossReferences_Callsite_Kind) String() string {
return proto.EnumName(CrossReferences_Callsite_Kind_name, int32(x))
}
func (CrossReferences_Callsite_Kind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1, 4, 0}
}
type FileDecorations struct {
File *storage_go_proto.VName `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// Types that are valid to be assigned to Entry:
// *FileDecorations_Index_
// *FileDecorations_Text_
// *FileDecorations_Target_
// *FileDecorations_TargetOverride_
// *FileDecorations_TargetNode_
// *FileDecorations_TargetDefinition_
// *FileDecorations_DefinitionLocation_
// *FileDecorations_Override_
// *FileDecorations_Diagnostic_
Entry isFileDecorations_Entry `protobuf_oneof:"entry"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations) Reset() { *m = FileDecorations{} }
func (m *FileDecorations) String() string { return proto.CompactTextString(m) }
func (*FileDecorations) ProtoMessage() {}
func (*FileDecorations) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0}
}
func (m *FileDecorations) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations.Unmarshal(m, b)
}
func (m *FileDecorations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations.Marshal(b, m, deterministic)
}
func (dst *FileDecorations) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations.Merge(dst, src)
}
func (m *FileDecorations) XXX_Size() int {
return xxx_messageInfo_FileDecorations.Size(m)
}
func (m *FileDecorations) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations proto.InternalMessageInfo
func (m *FileDecorations) GetFile() *storage_go_proto.VName {
if m != nil {
return m.File
}
return nil
}
type isFileDecorations_Entry interface {
isFileDecorations_Entry()
}
type FileDecorations_Index_ struct {
Index *FileDecorations_Index `protobuf:"bytes,2,opt,name=index,proto3,oneof"`
}
type FileDecorations_Text_ struct {
Text *FileDecorations_Text `protobuf:"bytes,3,opt,name=text,proto3,oneof"`
}
type FileDecorations_Target_ struct {
Target *FileDecorations_Target `protobuf:"bytes,4,opt,name=target,proto3,oneof"`
}
type FileDecorations_TargetOverride_ struct {
TargetOverride *FileDecorations_TargetOverride `protobuf:"bytes,5,opt,name=target_override,json=targetOverride,proto3,oneof"`
}
type FileDecorations_TargetNode_ struct {
TargetNode *FileDecorations_TargetNode `protobuf:"bytes,6,opt,name=target_node,json=targetNode,proto3,oneof"`
}
type FileDecorations_TargetDefinition_ struct {
TargetDefinition *FileDecorations_TargetDefinition `protobuf:"bytes,7,opt,name=target_definition,json=targetDefinition,proto3,oneof"`
}
type FileDecorations_DefinitionLocation_ struct {
DefinitionLocation *FileDecorations_DefinitionLocation `protobuf:"bytes,8,opt,name=definition_location,json=definitionLocation,proto3,oneof"`
}
type FileDecorations_Override_ struct {
Override *FileDecorations_Override `protobuf:"bytes,9,opt,name=override,proto3,oneof"`
}
type FileDecorations_Diagnostic_ struct {
Diagnostic *FileDecorations_Diagnostic `protobuf:"bytes,10,opt,name=diagnostic,proto3,oneof"`
}
func (*FileDecorations_Index_) isFileDecorations_Entry() {}
func (*FileDecorations_Text_) isFileDecorations_Entry() {}
func (*FileDecorations_Target_) isFileDecorations_Entry() {}
func (*FileDecorations_TargetOverride_) isFileDecorations_Entry() {}
func (*FileDecorations_TargetNode_) isFileDecorations_Entry() {}
func (*FileDecorations_TargetDefinition_) isFileDecorations_Entry() {}
func (*FileDecorations_DefinitionLocation_) isFileDecorations_Entry() {}
func (*FileDecorations_Override_) isFileDecorations_Entry() {}
func (*FileDecorations_Diagnostic_) isFileDecorations_Entry() {}
func (m *FileDecorations) GetEntry() isFileDecorations_Entry {
if m != nil {
return m.Entry
}
return nil
}
func (m *FileDecorations) GetIndex() *FileDecorations_Index {
if x, ok := m.GetEntry().(*FileDecorations_Index_); ok {
return x.Index
}
return nil
}
func (m *FileDecorations) GetText() *FileDecorations_Text {
if x, ok := m.GetEntry().(*FileDecorations_Text_); ok {
return x.Text
}
return nil
}
func (m *FileDecorations) GetTarget() *FileDecorations_Target {
if x, ok := m.GetEntry().(*FileDecorations_Target_); ok {
return x.Target
}
return nil
}
func (m *FileDecorations) GetTargetOverride() *FileDecorations_TargetOverride {
if x, ok := m.GetEntry().(*FileDecorations_TargetOverride_); ok {
return x.TargetOverride
}
return nil
}
func (m *FileDecorations) GetTargetNode() *FileDecorations_TargetNode {
if x, ok := m.GetEntry().(*FileDecorations_TargetNode_); ok {
return x.TargetNode
}
return nil
}
func (m *FileDecorations) GetTargetDefinition() *FileDecorations_TargetDefinition {
if x, ok := m.GetEntry().(*FileDecorations_TargetDefinition_); ok {
return x.TargetDefinition
}
return nil
}
func (m *FileDecorations) GetDefinitionLocation() *FileDecorations_DefinitionLocation {
if x, ok := m.GetEntry().(*FileDecorations_DefinitionLocation_); ok {
return x.DefinitionLocation
}
return nil
}
func (m *FileDecorations) GetOverride() *FileDecorations_Override {
if x, ok := m.GetEntry().(*FileDecorations_Override_); ok {
return x.Override
}
return nil
}
func (m *FileDecorations) GetDiagnostic() *FileDecorations_Diagnostic {
if x, ok := m.GetEntry().(*FileDecorations_Diagnostic_); ok {
return x.Diagnostic
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*FileDecorations) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _FileDecorations_OneofMarshaler, _FileDecorations_OneofUnmarshaler, _FileDecorations_OneofSizer, []interface{}{
(*FileDecorations_Index_)(nil),
(*FileDecorations_Text_)(nil),
(*FileDecorations_Target_)(nil),
(*FileDecorations_TargetOverride_)(nil),
(*FileDecorations_TargetNode_)(nil),
(*FileDecorations_TargetDefinition_)(nil),
(*FileDecorations_DefinitionLocation_)(nil),
(*FileDecorations_Override_)(nil),
(*FileDecorations_Diagnostic_)(nil),
}
}
func _FileDecorations_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*FileDecorations)
// entry
switch x := m.Entry.(type) {
case *FileDecorations_Index_:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Index); err != nil {
return err
}
case *FileDecorations_Text_:
b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Text); err != nil {
return err
}
case *FileDecorations_Target_:
b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Target); err != nil {
return err
}
case *FileDecorations_TargetOverride_:
b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.TargetOverride); err != nil {
return err
}
case *FileDecorations_TargetNode_:
b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.TargetNode); err != nil {
return err
}
case *FileDecorations_TargetDefinition_:
b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.TargetDefinition); err != nil {
return err
}
case *FileDecorations_DefinitionLocation_:
b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.DefinitionLocation); err != nil {
return err
}
case *FileDecorations_Override_:
b.EncodeVarint(9<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Override); err != nil {
return err
}
case *FileDecorations_Diagnostic_:
b.EncodeVarint(10<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Diagnostic); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("FileDecorations.Entry has unexpected type %T", x)
}
return nil
}
func _FileDecorations_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*FileDecorations)
switch tag {
case 2: // entry.index
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_Index)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_Index_{msg}
return true, err
case 3: // entry.text
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_Text)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_Text_{msg}
return true, err
case 4: // entry.target
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_Target)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_Target_{msg}
return true, err
case 5: // entry.target_override
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_TargetOverride)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_TargetOverride_{msg}
return true, err
case 6: // entry.target_node
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_TargetNode)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_TargetNode_{msg}
return true, err
case 7: // entry.target_definition
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_TargetDefinition)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_TargetDefinition_{msg}
return true, err
case 8: // entry.definition_location
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_DefinitionLocation)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_DefinitionLocation_{msg}
return true, err
case 9: // entry.override
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_Override)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_Override_{msg}
return true, err
case 10: // entry.diagnostic
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FileDecorations_Diagnostic)
err := b.DecodeMessage(msg)
m.Entry = &FileDecorations_Diagnostic_{msg}
return true, err
default:
return false, nil
}
}
func _FileDecorations_OneofSizer(msg proto.Message) (n int) {
m := msg.(*FileDecorations)
// entry
switch x := m.Entry.(type) {
case *FileDecorations_Index_:
s := proto.Size(x.Index)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *FileDecorations_Text_:
s := proto.Size(x.Text)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *FileDecorations_Target_:
s := proto.Size(x.Target)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *FileDecorations_TargetOverride_:
s := proto.Size(x.TargetOverride)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *FileDecorations_TargetNode_:
s := proto.Size(x.TargetNode)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *FileDecorations_TargetDefinition_:
s := proto.Size(x.TargetDefinition)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *FileDecorations_DefinitionLocation_:
s := proto.Size(x.DefinitionLocation)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *FileDecorations_Override_:
s := proto.Size(x.Override)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *FileDecorations_Diagnostic_:
s := proto.Size(x.Diagnostic)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type FileDecorations_Index struct {
TextEncoding string `protobuf:"bytes,1,opt,name=text_encoding,json=textEncoding,proto3" json:"text_encoding,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_Index) Reset() { *m = FileDecorations_Index{} }
func (m *FileDecorations_Index) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_Index) ProtoMessage() {}
func (*FileDecorations_Index) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 0}
}
func (m *FileDecorations_Index) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_Index.Unmarshal(m, b)
}
func (m *FileDecorations_Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_Index.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_Index) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_Index.Merge(dst, src)
}
func (m *FileDecorations_Index) XXX_Size() int {
return xxx_messageInfo_FileDecorations_Index.Size(m)
}
func (m *FileDecorations_Index) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_Index.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_Index proto.InternalMessageInfo
func (m *FileDecorations_Index) GetTextEncoding() string {
if m != nil {
return m.TextEncoding
}
return ""
}
type FileDecorations_Text struct {
StartOffset int32 `protobuf:"varint,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
EndOffset int32 `protobuf:"varint,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
Text []byte `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_Text) Reset() { *m = FileDecorations_Text{} }
func (m *FileDecorations_Text) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_Text) ProtoMessage() {}
func (*FileDecorations_Text) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 1}
}
func (m *FileDecorations_Text) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_Text.Unmarshal(m, b)
}
func (m *FileDecorations_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_Text.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_Text) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_Text.Merge(dst, src)
}
func (m *FileDecorations_Text) XXX_Size() int {
return xxx_messageInfo_FileDecorations_Text.Size(m)
}
func (m *FileDecorations_Text) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_Text.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_Text proto.InternalMessageInfo
func (m *FileDecorations_Text) GetStartOffset() int32 {
if m != nil {
return m.StartOffset
}
return 0
}
func (m *FileDecorations_Text) GetEndOffset() int32 {
if m != nil {
return m.EndOffset
}
return 0
}
func (m *FileDecorations_Text) GetText() []byte {
if m != nil {
return m.Text
}
return nil
}
type FileDecorations_Target struct {
StartOffset int32 `protobuf:"varint,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
EndOffset int32 `protobuf:"varint,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
// Types that are valid to be assigned to Kind:
// *FileDecorations_Target_KytheKind
// *FileDecorations_Target_GenericKind
Kind isFileDecorations_Target_Kind `protobuf_oneof:"kind"`
Target *storage_go_proto.VName `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
BuildConfig string `protobuf:"bytes,6,opt,name=build_config,json=buildConfig,proto3" json:"build_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_Target) Reset() { *m = FileDecorations_Target{} }
func (m *FileDecorations_Target) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_Target) ProtoMessage() {}
func (*FileDecorations_Target) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 2}
}
func (m *FileDecorations_Target) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_Target.Unmarshal(m, b)
}
func (m *FileDecorations_Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_Target.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_Target) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_Target.Merge(dst, src)
}
func (m *FileDecorations_Target) XXX_Size() int {
return xxx_messageInfo_FileDecorations_Target.Size(m)
}
func (m *FileDecorations_Target) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_Target.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_Target proto.InternalMessageInfo
func (m *FileDecorations_Target) GetStartOffset() int32 {
if m != nil {
return m.StartOffset
}
return 0
}
func (m *FileDecorations_Target) GetEndOffset() int32 {
if m != nil {
return m.EndOffset
}
return 0
}
type isFileDecorations_Target_Kind interface {
isFileDecorations_Target_Kind()
}
type FileDecorations_Target_KytheKind struct {
KytheKind schema_go_proto.EdgeKind `protobuf:"varint,3,opt,name=kythe_kind,json=kytheKind,proto3,enum=kythe.proto.schema.EdgeKind,oneof"`
}
type FileDecorations_Target_GenericKind struct {
GenericKind string `protobuf:"bytes,4,opt,name=generic_kind,json=genericKind,proto3,oneof"`
}
func (*FileDecorations_Target_KytheKind) isFileDecorations_Target_Kind() {}
func (*FileDecorations_Target_GenericKind) isFileDecorations_Target_Kind() {}
func (m *FileDecorations_Target) GetKind() isFileDecorations_Target_Kind {
if m != nil {
return m.Kind
}
return nil
}
func (m *FileDecorations_Target) GetKytheKind() schema_go_proto.EdgeKind {
if x, ok := m.GetKind().(*FileDecorations_Target_KytheKind); ok {
return x.KytheKind
}
return schema_go_proto.EdgeKind_UNKNOWN_EDGE_KIND
}
func (m *FileDecorations_Target) GetGenericKind() string {
if x, ok := m.GetKind().(*FileDecorations_Target_GenericKind); ok {
return x.GenericKind
}
return ""
}
func (m *FileDecorations_Target) GetTarget() *storage_go_proto.VName {
if m != nil {
return m.Target
}
return nil
}
func (m *FileDecorations_Target) GetBuildConfig() string {
if m != nil {
return m.BuildConfig
}
return ""
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*FileDecorations_Target) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _FileDecorations_Target_OneofMarshaler, _FileDecorations_Target_OneofUnmarshaler, _FileDecorations_Target_OneofSizer, []interface{}{
(*FileDecorations_Target_KytheKind)(nil),
(*FileDecorations_Target_GenericKind)(nil),
}
}
func _FileDecorations_Target_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*FileDecorations_Target)
// kind
switch x := m.Kind.(type) {
case *FileDecorations_Target_KytheKind:
b.EncodeVarint(3<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.KytheKind))
case *FileDecorations_Target_GenericKind:
b.EncodeVarint(4<<3 | proto.WireBytes)
b.EncodeStringBytes(x.GenericKind)
case nil:
default:
return fmt.Errorf("FileDecorations_Target.Kind has unexpected type %T", x)
}
return nil
}
func _FileDecorations_Target_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*FileDecorations_Target)
switch tag {
case 3: // kind.kythe_kind
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.Kind = &FileDecorations_Target_KytheKind{schema_go_proto.EdgeKind(x)}
return true, err
case 4: // kind.generic_kind
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeStringBytes()
m.Kind = &FileDecorations_Target_GenericKind{x}
return true, err
default:
return false, nil
}
}
func _FileDecorations_Target_OneofSizer(msg proto.Message) (n int) {
m := msg.(*FileDecorations_Target)
// kind
switch x := m.Kind.(type) {
case *FileDecorations_Target_KytheKind:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(x.KytheKind))
case *FileDecorations_Target_GenericKind:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.GenericKind)))
n += len(x.GenericKind)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type FileDecorations_TargetOverride struct {
Overridden *storage_go_proto.VName `protobuf:"bytes,1,opt,name=overridden,proto3" json:"overridden,omitempty"`
Kind FileDecorations_TargetOverride_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=kythe.proto.serving.xrefs.FileDecorations_TargetOverride_Kind" json:"kind,omitempty"`
Overriding *storage_go_proto.VName `protobuf:"bytes,3,opt,name=overriding,proto3" json:"overriding,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_TargetOverride) Reset() { *m = FileDecorations_TargetOverride{} }
func (m *FileDecorations_TargetOverride) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_TargetOverride) ProtoMessage() {}
func (*FileDecorations_TargetOverride) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 3}
}
func (m *FileDecorations_TargetOverride) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_TargetOverride.Unmarshal(m, b)
}
func (m *FileDecorations_TargetOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_TargetOverride.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_TargetOverride) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_TargetOverride.Merge(dst, src)
}
func (m *FileDecorations_TargetOverride) XXX_Size() int {
return xxx_messageInfo_FileDecorations_TargetOverride.Size(m)
}
func (m *FileDecorations_TargetOverride) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_TargetOverride.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_TargetOverride proto.InternalMessageInfo
func (m *FileDecorations_TargetOverride) GetOverridden() *storage_go_proto.VName {
if m != nil {
return m.Overridden
}
return nil
}
func (m *FileDecorations_TargetOverride) GetKind() FileDecorations_TargetOverride_Kind {
if m != nil {
return m.Kind
}
return FileDecorations_TargetOverride_UNKNOWN
}
func (m *FileDecorations_TargetOverride) GetOverriding() *storage_go_proto.VName {
if m != nil {
return m.Overriding
}
return nil
}
type FileDecorations_TargetNode struct {
Node *schema_go_proto.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_TargetNode) Reset() { *m = FileDecorations_TargetNode{} }
func (m *FileDecorations_TargetNode) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_TargetNode) ProtoMessage() {}
func (*FileDecorations_TargetNode) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 4}
}
func (m *FileDecorations_TargetNode) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_TargetNode.Unmarshal(m, b)
}
func (m *FileDecorations_TargetNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_TargetNode.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_TargetNode) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_TargetNode.Merge(dst, src)
}
func (m *FileDecorations_TargetNode) XXX_Size() int {
return xxx_messageInfo_FileDecorations_TargetNode.Size(m)
}
func (m *FileDecorations_TargetNode) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_TargetNode.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_TargetNode proto.InternalMessageInfo
func (m *FileDecorations_TargetNode) GetNode() *schema_go_proto.Node {
if m != nil {
return m.Node
}
return nil
}
type FileDecorations_TargetDefinition struct {
Target *storage_go_proto.VName `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
Definition *storage_go_proto.VName `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_TargetDefinition) Reset() { *m = FileDecorations_TargetDefinition{} }
func (m *FileDecorations_TargetDefinition) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_TargetDefinition) ProtoMessage() {}
func (*FileDecorations_TargetDefinition) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 5}
}
func (m *FileDecorations_TargetDefinition) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_TargetDefinition.Unmarshal(m, b)
}
func (m *FileDecorations_TargetDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_TargetDefinition.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_TargetDefinition) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_TargetDefinition.Merge(dst, src)
}
func (m *FileDecorations_TargetDefinition) XXX_Size() int {
return xxx_messageInfo_FileDecorations_TargetDefinition.Size(m)
}
func (m *FileDecorations_TargetDefinition) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_TargetDefinition.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_TargetDefinition proto.InternalMessageInfo
func (m *FileDecorations_TargetDefinition) GetTarget() *storage_go_proto.VName {
if m != nil {
return m.Target
}
return nil
}
func (m *FileDecorations_TargetDefinition) GetDefinition() *storage_go_proto.VName {
if m != nil {
return m.Definition
}
return nil
}
type FileDecorations_DefinitionLocation struct {
Location *serving_go_proto.ExpandedAnchor `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_DefinitionLocation) Reset() { *m = FileDecorations_DefinitionLocation{} }
func (m *FileDecorations_DefinitionLocation) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_DefinitionLocation) ProtoMessage() {}
func (*FileDecorations_DefinitionLocation) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 6}
}
func (m *FileDecorations_DefinitionLocation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_DefinitionLocation.Unmarshal(m, b)
}
func (m *FileDecorations_DefinitionLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_DefinitionLocation.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_DefinitionLocation) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_DefinitionLocation.Merge(dst, src)
}
func (m *FileDecorations_DefinitionLocation) XXX_Size() int {
return xxx_messageInfo_FileDecorations_DefinitionLocation.Size(m)
}
func (m *FileDecorations_DefinitionLocation) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_DefinitionLocation.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_DefinitionLocation proto.InternalMessageInfo
func (m *FileDecorations_DefinitionLocation) GetLocation() *serving_go_proto.ExpandedAnchor {
if m != nil {
return m.Location
}
return nil
}
type FileDecorations_Override struct {
Override *storage_go_proto.VName `protobuf:"bytes,1,opt,name=override,proto3" json:"override,omitempty"`
MarkedSource *common_go_proto.MarkedSource `protobuf:"bytes,2,opt,name=marked_source,json=markedSource,proto3" json:"marked_source,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_Override) Reset() { *m = FileDecorations_Override{} }
func (m *FileDecorations_Override) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_Override) ProtoMessage() {}
func (*FileDecorations_Override) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 7}
}
func (m *FileDecorations_Override) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_Override.Unmarshal(m, b)
}
func (m *FileDecorations_Override) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_Override.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_Override) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_Override.Merge(dst, src)
}
func (m *FileDecorations_Override) XXX_Size() int {
return xxx_messageInfo_FileDecorations_Override.Size(m)
}
func (m *FileDecorations_Override) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_Override.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_Override proto.InternalMessageInfo
func (m *FileDecorations_Override) GetOverride() *storage_go_proto.VName {
if m != nil {
return m.Override
}
return nil
}
func (m *FileDecorations_Override) GetMarkedSource() *common_go_proto.MarkedSource {
if m != nil {
return m.MarkedSource
}
return nil
}
type FileDecorations_Diagnostic struct {
Diagnostic *common_go_proto.Diagnostic `protobuf:"bytes,1,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileDecorations_Diagnostic) Reset() { *m = FileDecorations_Diagnostic{} }
func (m *FileDecorations_Diagnostic) String() string { return proto.CompactTextString(m) }
func (*FileDecorations_Diagnostic) ProtoMessage() {}
func (*FileDecorations_Diagnostic) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{0, 8}
}
func (m *FileDecorations_Diagnostic) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileDecorations_Diagnostic.Unmarshal(m, b)
}
func (m *FileDecorations_Diagnostic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileDecorations_Diagnostic.Marshal(b, m, deterministic)
}
func (dst *FileDecorations_Diagnostic) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileDecorations_Diagnostic.Merge(dst, src)
}
func (m *FileDecorations_Diagnostic) XXX_Size() int {
return xxx_messageInfo_FileDecorations_Diagnostic.Size(m)
}
func (m *FileDecorations_Diagnostic) XXX_DiscardUnknown() {
xxx_messageInfo_FileDecorations_Diagnostic.DiscardUnknown(m)
}
var xxx_messageInfo_FileDecorations_Diagnostic proto.InternalMessageInfo
func (m *FileDecorations_Diagnostic) GetDiagnostic() *common_go_proto.Diagnostic {
if m != nil {
return m.Diagnostic
}
return nil
}
type CrossReferences struct {
Source *storage_go_proto.VName `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// Types that are valid to be assigned to Entry:
// *CrossReferences_Index_
// *CrossReferences_Reference_
// *CrossReferences_Relation_
// *CrossReferences_Caller_
// *CrossReferences_Callsite_
// *CrossReferences_RelatedNode_
// *CrossReferences_NodeDefinition_
Entry isCrossReferences_Entry `protobuf_oneof:"entry"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrossReferences) Reset() { *m = CrossReferences{} }
func (m *CrossReferences) String() string { return proto.CompactTextString(m) }
func (*CrossReferences) ProtoMessage() {}
func (*CrossReferences) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1}
}
func (m *CrossReferences) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrossReferences.Unmarshal(m, b)
}
func (m *CrossReferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrossReferences.Marshal(b, m, deterministic)
}
func (dst *CrossReferences) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrossReferences.Merge(dst, src)
}
func (m *CrossReferences) XXX_Size() int {
return xxx_messageInfo_CrossReferences.Size(m)
}
func (m *CrossReferences) XXX_DiscardUnknown() {
xxx_messageInfo_CrossReferences.DiscardUnknown(m)
}
var xxx_messageInfo_CrossReferences proto.InternalMessageInfo
func (m *CrossReferences) GetSource() *storage_go_proto.VName {
if m != nil {
return m.Source
}
return nil
}
type isCrossReferences_Entry interface {
isCrossReferences_Entry()
}
type CrossReferences_Index_ struct {
Index *CrossReferences_Index `protobuf:"bytes,2,opt,name=index,proto3,oneof"`
}
type CrossReferences_Reference_ struct {
Reference *CrossReferences_Reference `protobuf:"bytes,3,opt,name=reference,proto3,oneof"`
}
type CrossReferences_Relation_ struct {
Relation *CrossReferences_Relation `protobuf:"bytes,4,opt,name=relation,proto3,oneof"`
}
type CrossReferences_Caller_ struct {
Caller *CrossReferences_Caller `protobuf:"bytes,5,opt,name=caller,proto3,oneof"`
}
type CrossReferences_Callsite_ struct {
Callsite *CrossReferences_Callsite `protobuf:"bytes,6,opt,name=callsite,proto3,oneof"`
}
type CrossReferences_RelatedNode_ struct {
RelatedNode *CrossReferences_RelatedNode `protobuf:"bytes,7,opt,name=related_node,json=relatedNode,proto3,oneof"`
}
type CrossReferences_NodeDefinition_ struct {
NodeDefinition *CrossReferences_NodeDefinition `protobuf:"bytes,8,opt,name=node_definition,json=nodeDefinition,proto3,oneof"`
}
func (*CrossReferences_Index_) isCrossReferences_Entry() {}
func (*CrossReferences_Reference_) isCrossReferences_Entry() {}
func (*CrossReferences_Relation_) isCrossReferences_Entry() {}
func (*CrossReferences_Caller_) isCrossReferences_Entry() {}
func (*CrossReferences_Callsite_) isCrossReferences_Entry() {}
func (*CrossReferences_RelatedNode_) isCrossReferences_Entry() {}
func (*CrossReferences_NodeDefinition_) isCrossReferences_Entry() {}
func (m *CrossReferences) GetEntry() isCrossReferences_Entry {
if m != nil {
return m.Entry
}
return nil
}
func (m *CrossReferences) GetIndex() *CrossReferences_Index {
if x, ok := m.GetEntry().(*CrossReferences_Index_); ok {
return x.Index
}
return nil
}
func (m *CrossReferences) GetReference() *CrossReferences_Reference {
if x, ok := m.GetEntry().(*CrossReferences_Reference_); ok {
return x.Reference
}
return nil
}
func (m *CrossReferences) GetRelation() *CrossReferences_Relation {
if x, ok := m.GetEntry().(*CrossReferences_Relation_); ok {
return x.Relation
}
return nil
}
func (m *CrossReferences) GetCaller() *CrossReferences_Caller {
if x, ok := m.GetEntry().(*CrossReferences_Caller_); ok {
return x.Caller
}
return nil
}
func (m *CrossReferences) GetCallsite() *CrossReferences_Callsite {
if x, ok := m.GetEntry().(*CrossReferences_Callsite_); ok {
return x.Callsite
}
return nil
}
func (m *CrossReferences) GetRelatedNode() *CrossReferences_RelatedNode {
if x, ok := m.GetEntry().(*CrossReferences_RelatedNode_); ok {
return x.RelatedNode
}
return nil
}
func (m *CrossReferences) GetNodeDefinition() *CrossReferences_NodeDefinition {
if x, ok := m.GetEntry().(*CrossReferences_NodeDefinition_); ok {
return x.NodeDefinition
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*CrossReferences) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _CrossReferences_OneofMarshaler, _CrossReferences_OneofUnmarshaler, _CrossReferences_OneofSizer, []interface{}{
(*CrossReferences_Index_)(nil),
(*CrossReferences_Reference_)(nil),
(*CrossReferences_Relation_)(nil),
(*CrossReferences_Caller_)(nil),
(*CrossReferences_Callsite_)(nil),
(*CrossReferences_RelatedNode_)(nil),
(*CrossReferences_NodeDefinition_)(nil),
}
}
func _CrossReferences_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*CrossReferences)
// entry
switch x := m.Entry.(type) {
case *CrossReferences_Index_:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Index); err != nil {
return err
}
case *CrossReferences_Reference_:
b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Reference); err != nil {
return err
}
case *CrossReferences_Relation_:
b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Relation); err != nil {
return err
}
case *CrossReferences_Caller_:
b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Caller); err != nil {
return err
}
case *CrossReferences_Callsite_:
b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Callsite); err != nil {
return err
}
case *CrossReferences_RelatedNode_:
b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.RelatedNode); err != nil {
return err
}
case *CrossReferences_NodeDefinition_:
b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.NodeDefinition); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("CrossReferences.Entry has unexpected type %T", x)
}
return nil
}
func _CrossReferences_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*CrossReferences)
switch tag {
case 2: // entry.index
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CrossReferences_Index)
err := b.DecodeMessage(msg)
m.Entry = &CrossReferences_Index_{msg}
return true, err
case 3: // entry.reference
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CrossReferences_Reference)
err := b.DecodeMessage(msg)
m.Entry = &CrossReferences_Reference_{msg}
return true, err
case 4: // entry.relation
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CrossReferences_Relation)
err := b.DecodeMessage(msg)
m.Entry = &CrossReferences_Relation_{msg}
return true, err
case 5: // entry.caller
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CrossReferences_Caller)
err := b.DecodeMessage(msg)
m.Entry = &CrossReferences_Caller_{msg}
return true, err
case 6: // entry.callsite
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CrossReferences_Callsite)
err := b.DecodeMessage(msg)
m.Entry = &CrossReferences_Callsite_{msg}
return true, err
case 7: // entry.related_node
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CrossReferences_RelatedNode)
err := b.DecodeMessage(msg)
m.Entry = &CrossReferences_RelatedNode_{msg}
return true, err
case 8: // entry.node_definition
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CrossReferences_NodeDefinition)
err := b.DecodeMessage(msg)
m.Entry = &CrossReferences_NodeDefinition_{msg}
return true, err
default:
return false, nil
}
}
func _CrossReferences_OneofSizer(msg proto.Message) (n int) {
m := msg.(*CrossReferences)
// entry
switch x := m.Entry.(type) {
case *CrossReferences_Index_:
s := proto.Size(x.Index)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CrossReferences_Reference_:
s := proto.Size(x.Reference)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CrossReferences_Relation_:
s := proto.Size(x.Relation)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CrossReferences_Caller_:
s := proto.Size(x.Caller)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CrossReferences_Callsite_:
s := proto.Size(x.Callsite)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CrossReferences_RelatedNode_:
s := proto.Size(x.RelatedNode)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CrossReferences_NodeDefinition_:
s := proto.Size(x.NodeDefinition)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type CrossReferences_Index struct {
Node *schema_go_proto.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
MarkedSource *common_go_proto.MarkedSource `protobuf:"bytes,2,opt,name=marked_source,json=markedSource,proto3" json:"marked_source,omitempty"`
MergeWith []*storage_go_proto.VName `protobuf:"bytes,3,rep,name=merge_with,json=mergeWith,proto3" json:"merge_with,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrossReferences_Index) Reset() { *m = CrossReferences_Index{} }
func (m *CrossReferences_Index) String() string { return proto.CompactTextString(m) }
func (*CrossReferences_Index) ProtoMessage() {}
func (*CrossReferences_Index) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1, 0}
}
func (m *CrossReferences_Index) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrossReferences_Index.Unmarshal(m, b)
}
func (m *CrossReferences_Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrossReferences_Index.Marshal(b, m, deterministic)
}
func (dst *CrossReferences_Index) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrossReferences_Index.Merge(dst, src)
}
func (m *CrossReferences_Index) XXX_Size() int {
return xxx_messageInfo_CrossReferences_Index.Size(m)
}
func (m *CrossReferences_Index) XXX_DiscardUnknown() {
xxx_messageInfo_CrossReferences_Index.DiscardUnknown(m)
}
var xxx_messageInfo_CrossReferences_Index proto.InternalMessageInfo
func (m *CrossReferences_Index) GetNode() *schema_go_proto.Node {
if m != nil {
return m.Node
}
return nil
}
func (m *CrossReferences_Index) GetMarkedSource() *common_go_proto.MarkedSource {
if m != nil {
return m.MarkedSource
}
return nil
}
func (m *CrossReferences_Index) GetMergeWith() []*storage_go_proto.VName {
if m != nil {
return m.MergeWith
}
return nil
}
type CrossReferences_Reference struct {
// Types that are valid to be assigned to Kind:
// *CrossReferences_Reference_KytheKind
// *CrossReferences_Reference_GenericKind
Kind isCrossReferences_Reference_Kind `protobuf_oneof:"kind"`
Location *serving_go_proto.ExpandedAnchor `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrossReferences_Reference) Reset() { *m = CrossReferences_Reference{} }
func (m *CrossReferences_Reference) String() string { return proto.CompactTextString(m) }
func (*CrossReferences_Reference) ProtoMessage() {}
func (*CrossReferences_Reference) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1, 1}
}
func (m *CrossReferences_Reference) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrossReferences_Reference.Unmarshal(m, b)
}
func (m *CrossReferences_Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrossReferences_Reference.Marshal(b, m, deterministic)
}
func (dst *CrossReferences_Reference) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrossReferences_Reference.Merge(dst, src)
}
func (m *CrossReferences_Reference) XXX_Size() int {
return xxx_messageInfo_CrossReferences_Reference.Size(m)
}
func (m *CrossReferences_Reference) XXX_DiscardUnknown() {
xxx_messageInfo_CrossReferences_Reference.DiscardUnknown(m)
}
var xxx_messageInfo_CrossReferences_Reference proto.InternalMessageInfo
type isCrossReferences_Reference_Kind interface {
isCrossReferences_Reference_Kind()
}
type CrossReferences_Reference_KytheKind struct {
KytheKind schema_go_proto.EdgeKind `protobuf:"varint,1,opt,name=kythe_kind,json=kytheKind,proto3,enum=kythe.proto.schema.EdgeKind,oneof"`
}
type CrossReferences_Reference_GenericKind struct {
GenericKind string `protobuf:"bytes,2,opt,name=generic_kind,json=genericKind,proto3,oneof"`
}
func (*CrossReferences_Reference_KytheKind) isCrossReferences_Reference_Kind() {}
func (*CrossReferences_Reference_GenericKind) isCrossReferences_Reference_Kind() {}
func (m *CrossReferences_Reference) GetKind() isCrossReferences_Reference_Kind {
if m != nil {
return m.Kind
}
return nil
}
func (m *CrossReferences_Reference) GetKytheKind() schema_go_proto.EdgeKind {
if x, ok := m.GetKind().(*CrossReferences_Reference_KytheKind); ok {
return x.KytheKind
}
return schema_go_proto.EdgeKind_UNKNOWN_EDGE_KIND
}
func (m *CrossReferences_Reference) GetGenericKind() string {
if x, ok := m.GetKind().(*CrossReferences_Reference_GenericKind); ok {
return x.GenericKind
}
return ""
}
func (m *CrossReferences_Reference) GetLocation() *serving_go_proto.ExpandedAnchor {
if m != nil {
return m.Location
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*CrossReferences_Reference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _CrossReferences_Reference_OneofMarshaler, _CrossReferences_Reference_OneofUnmarshaler, _CrossReferences_Reference_OneofSizer, []interface{}{
(*CrossReferences_Reference_KytheKind)(nil),
(*CrossReferences_Reference_GenericKind)(nil),
}
}
func _CrossReferences_Reference_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*CrossReferences_Reference)
// kind
switch x := m.Kind.(type) {
case *CrossReferences_Reference_KytheKind:
b.EncodeVarint(1<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.KytheKind))
case *CrossReferences_Reference_GenericKind:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeStringBytes(x.GenericKind)
case nil:
default:
return fmt.Errorf("CrossReferences_Reference.Kind has unexpected type %T", x)
}
return nil
}
func _CrossReferences_Reference_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*CrossReferences_Reference)
switch tag {
case 1: // kind.kythe_kind
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.Kind = &CrossReferences_Reference_KytheKind{schema_go_proto.EdgeKind(x)}
return true, err
case 2: // kind.generic_kind
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeStringBytes()
m.Kind = &CrossReferences_Reference_GenericKind{x}
return true, err
default:
return false, nil
}
}
func _CrossReferences_Reference_OneofSizer(msg proto.Message) (n int) {
m := msg.(*CrossReferences_Reference)
// kind
switch x := m.Kind.(type) {
case *CrossReferences_Reference_KytheKind:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(x.KytheKind))
case *CrossReferences_Reference_GenericKind:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.GenericKind)))
n += len(x.GenericKind)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type CrossReferences_Relation struct {
Node *storage_go_proto.VName `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// Types that are valid to be assigned to Kind:
// *CrossReferences_Relation_KytheKind
// *CrossReferences_Relation_GenericKind
Kind isCrossReferences_Relation_Kind `protobuf_oneof:"kind"`
Ordinal int32 `protobuf:"varint,4,opt,name=ordinal,proto3" json:"ordinal,omitempty"`
Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrossReferences_Relation) Reset() { *m = CrossReferences_Relation{} }
func (m *CrossReferences_Relation) String() string { return proto.CompactTextString(m) }
func (*CrossReferences_Relation) ProtoMessage() {}
func (*CrossReferences_Relation) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1, 2}
}
func (m *CrossReferences_Relation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrossReferences_Relation.Unmarshal(m, b)
}
func (m *CrossReferences_Relation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrossReferences_Relation.Marshal(b, m, deterministic)
}
func (dst *CrossReferences_Relation) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrossReferences_Relation.Merge(dst, src)
}
func (m *CrossReferences_Relation) XXX_Size() int {
return xxx_messageInfo_CrossReferences_Relation.Size(m)
}
func (m *CrossReferences_Relation) XXX_DiscardUnknown() {
xxx_messageInfo_CrossReferences_Relation.DiscardUnknown(m)
}
var xxx_messageInfo_CrossReferences_Relation proto.InternalMessageInfo
func (m *CrossReferences_Relation) GetNode() *storage_go_proto.VName {
if m != nil {
return m.Node
}
return nil
}
type isCrossReferences_Relation_Kind interface {
isCrossReferences_Relation_Kind()
}
type CrossReferences_Relation_KytheKind struct {
KytheKind schema_go_proto.EdgeKind `protobuf:"varint,2,opt,name=kythe_kind,json=kytheKind,proto3,enum=kythe.proto.schema.EdgeKind,oneof"`
}
type CrossReferences_Relation_GenericKind struct {
GenericKind string `protobuf:"bytes,3,opt,name=generic_kind,json=genericKind,proto3,oneof"`
}
func (*CrossReferences_Relation_KytheKind) isCrossReferences_Relation_Kind() {}
func (*CrossReferences_Relation_GenericKind) isCrossReferences_Relation_Kind() {}
func (m *CrossReferences_Relation) GetKind() isCrossReferences_Relation_Kind {
if m != nil {
return m.Kind
}
return nil
}
func (m *CrossReferences_Relation) GetKytheKind() schema_go_proto.EdgeKind {
if x, ok := m.GetKind().(*CrossReferences_Relation_KytheKind); ok {
return x.KytheKind
}
return schema_go_proto.EdgeKind_UNKNOWN_EDGE_KIND
}
func (m *CrossReferences_Relation) GetGenericKind() string {
if x, ok := m.GetKind().(*CrossReferences_Relation_GenericKind); ok {
return x.GenericKind
}
return ""
}
func (m *CrossReferences_Relation) GetOrdinal() int32 {
if m != nil {
return m.Ordinal
}
return 0
}
func (m *CrossReferences_Relation) GetReverse() bool {
if m != nil {
return m.Reverse
}
return false
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*CrossReferences_Relation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _CrossReferences_Relation_OneofMarshaler, _CrossReferences_Relation_OneofUnmarshaler, _CrossReferences_Relation_OneofSizer, []interface{}{
(*CrossReferences_Relation_KytheKind)(nil),
(*CrossReferences_Relation_GenericKind)(nil),
}
}
func _CrossReferences_Relation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*CrossReferences_Relation)
// kind
switch x := m.Kind.(type) {
case *CrossReferences_Relation_KytheKind:
b.EncodeVarint(2<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.KytheKind))
case *CrossReferences_Relation_GenericKind:
b.EncodeVarint(3<<3 | proto.WireBytes)
b.EncodeStringBytes(x.GenericKind)
case nil:
default:
return fmt.Errorf("CrossReferences_Relation.Kind has unexpected type %T", x)
}
return nil
}
func _CrossReferences_Relation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*CrossReferences_Relation)
switch tag {
case 2: // kind.kythe_kind
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.Kind = &CrossReferences_Relation_KytheKind{schema_go_proto.EdgeKind(x)}
return true, err
case 3: // kind.generic_kind
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeStringBytes()
m.Kind = &CrossReferences_Relation_GenericKind{x}
return true, err
default:
return false, nil
}
}
func _CrossReferences_Relation_OneofSizer(msg proto.Message) (n int) {
m := msg.(*CrossReferences_Relation)
// kind
switch x := m.Kind.(type) {
case *CrossReferences_Relation_KytheKind:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(x.KytheKind))
case *CrossReferences_Relation_GenericKind:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.GenericKind)))
n += len(x.GenericKind)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type CrossReferences_Caller struct {
Caller *storage_go_proto.VName `protobuf:"bytes,1,opt,name=caller,proto3" json:"caller,omitempty"`
Location *serving_go_proto.ExpandedAnchor `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
MarkedSource *common_go_proto.MarkedSource `protobuf:"bytes,3,opt,name=marked_source,json=markedSource,proto3" json:"marked_source,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrossReferences_Caller) Reset() { *m = CrossReferences_Caller{} }
func (m *CrossReferences_Caller) String() string { return proto.CompactTextString(m) }
func (*CrossReferences_Caller) ProtoMessage() {}
func (*CrossReferences_Caller) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1, 3}
}
func (m *CrossReferences_Caller) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrossReferences_Caller.Unmarshal(m, b)
}
func (m *CrossReferences_Caller) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrossReferences_Caller.Marshal(b, m, deterministic)
}
func (dst *CrossReferences_Caller) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrossReferences_Caller.Merge(dst, src)
}
func (m *CrossReferences_Caller) XXX_Size() int {
return xxx_messageInfo_CrossReferences_Caller.Size(m)
}
func (m *CrossReferences_Caller) XXX_DiscardUnknown() {
xxx_messageInfo_CrossReferences_Caller.DiscardUnknown(m)
}
var xxx_messageInfo_CrossReferences_Caller proto.InternalMessageInfo
func (m *CrossReferences_Caller) GetCaller() *storage_go_proto.VName {
if m != nil {
return m.Caller
}
return nil
}
func (m *CrossReferences_Caller) GetLocation() *serving_go_proto.ExpandedAnchor {
if m != nil {
return m.Location
}
return nil
}
func (m *CrossReferences_Caller) GetMarkedSource() *common_go_proto.MarkedSource {
if m != nil {
return m.MarkedSource
}
return nil
}
type CrossReferences_Callsite struct {
Caller *storage_go_proto.VName `protobuf:"bytes,1,opt,name=caller,proto3" json:"caller,omitempty"`
Location *serving_go_proto.ExpandedAnchor `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
Kind CrossReferences_Callsite_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=kythe.proto.serving.xrefs.CrossReferences_Callsite_Kind" json:"kind,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrossReferences_Callsite) Reset() { *m = CrossReferences_Callsite{} }
func (m *CrossReferences_Callsite) String() string { return proto.CompactTextString(m) }
func (*CrossReferences_Callsite) ProtoMessage() {}
func (*CrossReferences_Callsite) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1, 4}
}
func (m *CrossReferences_Callsite) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrossReferences_Callsite.Unmarshal(m, b)
}
func (m *CrossReferences_Callsite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrossReferences_Callsite.Marshal(b, m, deterministic)
}
func (dst *CrossReferences_Callsite) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrossReferences_Callsite.Merge(dst, src)
}
func (m *CrossReferences_Callsite) XXX_Size() int {
return xxx_messageInfo_CrossReferences_Callsite.Size(m)
}
func (m *CrossReferences_Callsite) XXX_DiscardUnknown() {
xxx_messageInfo_CrossReferences_Callsite.DiscardUnknown(m)
}
var xxx_messageInfo_CrossReferences_Callsite proto.InternalMessageInfo
func (m *CrossReferences_Callsite) GetCaller() *storage_go_proto.VName {
if m != nil {
return m.Caller
}
return nil
}
func (m *CrossReferences_Callsite) GetLocation() *serving_go_proto.ExpandedAnchor {
if m != nil {
return m.Location
}
return nil
}
func (m *CrossReferences_Callsite) GetKind() CrossReferences_Callsite_Kind {
if m != nil {
return m.Kind
}
return CrossReferences_Callsite_UNKNOWN
}
type CrossReferences_RelatedNode struct {
Node *schema_go_proto.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrossReferences_RelatedNode) Reset() { *m = CrossReferences_RelatedNode{} }
func (m *CrossReferences_RelatedNode) String() string { return proto.CompactTextString(m) }
func (*CrossReferences_RelatedNode) ProtoMessage() {}
func (*CrossReferences_RelatedNode) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1, 5}
}
func (m *CrossReferences_RelatedNode) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrossReferences_RelatedNode.Unmarshal(m, b)
}
func (m *CrossReferences_RelatedNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrossReferences_RelatedNode.Marshal(b, m, deterministic)
}
func (dst *CrossReferences_RelatedNode) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrossReferences_RelatedNode.Merge(dst, src)
}
func (m *CrossReferences_RelatedNode) XXX_Size() int {
return xxx_messageInfo_CrossReferences_RelatedNode.Size(m)
}
func (m *CrossReferences_RelatedNode) XXX_DiscardUnknown() {
xxx_messageInfo_CrossReferences_RelatedNode.DiscardUnknown(m)
}
var xxx_messageInfo_CrossReferences_RelatedNode proto.InternalMessageInfo
func (m *CrossReferences_RelatedNode) GetNode() *schema_go_proto.Node {
if m != nil {
return m.Node
}
return nil
}
type CrossReferences_NodeDefinition struct {
Node *storage_go_proto.VName `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
Location *serving_go_proto.ExpandedAnchor `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrossReferences_NodeDefinition) Reset() { *m = CrossReferences_NodeDefinition{} }
func (m *CrossReferences_NodeDefinition) String() string { return proto.CompactTextString(m) }
func (*CrossReferences_NodeDefinition) ProtoMessage() {}
func (*CrossReferences_NodeDefinition) Descriptor() ([]byte, []int) {
return fileDescriptor_xref_serving_786243265900b36f, []int{1, 6}
}
func (m *CrossReferences_NodeDefinition) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrossReferences_NodeDefinition.Unmarshal(m, b)
}
func (m *CrossReferences_NodeDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrossReferences_NodeDefinition.Marshal(b, m, deterministic)
}
func (dst *CrossReferences_NodeDefinition) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrossReferences_NodeDefinition.Merge(dst, src)
}
func (m *CrossReferences_NodeDefinition) XXX_Size() int {
return xxx_messageInfo_CrossReferences_NodeDefinition.Size(m)
}
func (m *CrossReferences_NodeDefinition) XXX_DiscardUnknown() {
xxx_messageInfo_CrossReferences_NodeDefinition.DiscardUnknown(m)
}
var xxx_messageInfo_CrossReferences_NodeDefinition proto.InternalMessageInfo
func (m *CrossReferences_NodeDefinition) GetNode() *storage_go_proto.VName {
if m != nil {
return m.Node
}
return nil
}
func (m *CrossReferences_NodeDefinition) GetLocation() *serving_go_proto.ExpandedAnchor {
if m != nil {
return m.Location
}
return nil
}
func init() {
proto.RegisterType((*FileDecorations)(nil), "kythe.proto.serving.xrefs.FileDecorations")
proto.RegisterType((*FileDecorations_Index)(nil), "kythe.proto.serving.xrefs.FileDecorations.Index")
proto.RegisterType((*FileDecorations_Text)(nil), "kythe.proto.serving.xrefs.FileDecorations.Text")
proto.RegisterType((*FileDecorations_Target)(nil), "kythe.proto.serving.xrefs.FileDecorations.Target")
proto.RegisterType((*FileDecorations_TargetOverride)(nil), "kythe.proto.serving.xrefs.FileDecorations.TargetOverride")
proto.RegisterType((*FileDecorations_TargetNode)(nil), "kythe.proto.serving.xrefs.FileDecorations.TargetNode")
proto.RegisterType((*FileDecorations_TargetDefinition)(nil), "kythe.proto.serving.xrefs.FileDecorations.TargetDefinition")
proto.RegisterType((*FileDecorations_DefinitionLocation)(nil), "kythe.proto.serving.xrefs.FileDecorations.DefinitionLocation")
proto.RegisterType((*FileDecorations_Override)(nil), "kythe.proto.serving.xrefs.FileDecorations.Override")
proto.RegisterType((*FileDecorations_Diagnostic)(nil), "kythe.proto.serving.xrefs.FileDecorations.Diagnostic")
proto.RegisterType((*CrossReferences)(nil), "kythe.proto.serving.xrefs.CrossReferences")
proto.RegisterType((*CrossReferences_Index)(nil), "kythe.proto.serving.xrefs.CrossReferences.Index")
proto.RegisterType((*CrossReferences_Reference)(nil), "kythe.proto.serving.xrefs.CrossReferences.Reference")
proto.RegisterType((*CrossReferences_Relation)(nil), "kythe.proto.serving.xrefs.CrossReferences.Relation")
proto.RegisterType((*CrossReferences_Caller)(nil), "kythe.proto.serving.xrefs.CrossReferences.Caller")
proto.RegisterType((*CrossReferences_Callsite)(nil), "kythe.proto.serving.xrefs.CrossReferences.Callsite")
proto.RegisterType((*CrossReferences_RelatedNode)(nil), "kythe.proto.serving.xrefs.CrossReferences.RelatedNode")
proto.RegisterType((*CrossReferences_NodeDefinition)(nil), "kythe.proto.serving.xrefs.CrossReferences.NodeDefinition")
proto.RegisterEnum("kythe.proto.serving.xrefs.FileDecorations_TargetOverride_Kind", FileDecorations_TargetOverride_Kind_name, FileDecorations_TargetOverride_Kind_value)
proto.RegisterEnum("kythe.proto.serving.xrefs.CrossReferences_Callsite_Kind", CrossReferences_Callsite_Kind_name, CrossReferences_Callsite_Kind_value)
}
func init() {
proto.RegisterFile("kythe/proto/xref_serving.proto", fileDescriptor_xref_serving_786243265900b36f)
}
var fileDescriptor_xref_serving_786243265900b36f = []byte{
// 1172 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x5f, 0x6f, 0x1b, 0x45,
0x10, 0xf7, 0xf9, 0x5f, 0xec, 0xb1, 0xe3, 0x98, 0x45, 0x48, 0xd7, 0x13, 0x94, 0x34, 0x91, 0x10,
0x42, 0xc5, 0x21, 0x09, 0xa0, 0x42, 0xd5, 0x22, 0x12, 0x1b, 0x39, 0x4a, 0x70, 0xc4, 0x26, 0x6d,
0x2a, 0x40, 0x3a, 0x5d, 0x6f, 0xd7, 0x97, 0x23, 0xe7, 0xdd, 0x68, 0x6f, 0x1b, 0x92, 0x47, 0x1e,
0xf8, 0x3c, 0xbc, 0xf2, 0xc0, 0x47, 0xe0, 0x89, 0x17, 0xbe, 0x08, 0xaf, 0x48, 0x68, 0xf7, 0xfe,
0xf8, 0xce, 0x71, 0x12, 0x2e, 0xa9, 0xfa, 0xe4, 0xdb, 0x99, 0xd9, 0xdf, 0xec, 0xec, 0xec, 0xfc,
0x66, 0x0c, 0xf7, 0x4f, 0x2e, 0xe4, 0x31, 0x5d, 0x3b, 0x15, 0x5c, 0xf2, 0xb5, 0x73, 0x41, 0xc7,
0x76, 0x48, 0xc5, 0x99, 0xcf, 0xbc, 0x9e, 0x16, 0xa1, 0x7b, 0x5a, 0x1f, 0x2d, 0x7a, 0x89, 0x4a,
0xd9, 0x85, 0x96, 0x99, 0xdd, 0xea, 0xf2, 0xc9, 0x84, 0xb3, 0xc8, 0x2e, 0xaf, 0x09, 0xdd, 0x63,
0x3a, 0x71, 0x62, 0xcd, 0xbd, 0x9c, 0x26, 0xeb, 0x69, 0x46, 0x25, 0xb9, 0x70, 0xbc, 0xd8, 0xef,
0xca, 0x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