Documentation
¶
Overview ¶
Package internal_proto is a generated protocol buffer package.
It is generated from these files:
kythe/proto/internal.proto
It has these top-level messages:
PageToken CrossReference
Index ¶
- Variables
- type CrossReference
- func (*CrossReference) Descriptor() ([]byte, []int)
- func (m *CrossReference) GetReferent() *kythe_proto_serving.Node
- func (m *CrossReference) GetSourceAnchor() *kythe_proto_serving.ExpandedAnchor
- func (m *CrossReference) GetSourceDecoration() *CrossReference_Decoration
- func (m *CrossReference) GetTargetAnchor() *kythe_proto_serving.ExpandedAnchor
- func (m *CrossReference) GetTargetDecoration() *CrossReference_Decoration
- func (m *CrossReference) Marshal() (data []byte, err error)
- func (m *CrossReference) MarshalTo(data []byte) (int, error)
- func (*CrossReference) ProtoMessage()
- func (m *CrossReference) Reset()
- func (m *CrossReference) Size() (n int)
- func (m *CrossReference) String() string
- func (m *CrossReference) Unmarshal(data []byte) error
- type CrossReference_Decoration
- func (*CrossReference_Decoration) Descriptor() ([]byte, []int)
- func (m *CrossReference_Decoration) GetAnchor() *kythe_proto_serving.RawAnchor
- func (m *CrossReference_Decoration) GetFile() *kythe_proto_serving.File
- func (m *CrossReference_Decoration) Marshal() (data []byte, err error)
- func (m *CrossReference_Decoration) MarshalTo(data []byte) (int, error)
- func (*CrossReference_Decoration) ProtoMessage()
- func (m *CrossReference_Decoration) Reset()
- func (m *CrossReference_Decoration) Size() (n int)
- func (m *CrossReference_Decoration) String() string
- func (m *CrossReference_Decoration) Unmarshal(data []byte) error
- type PageToken
- func (*PageToken) Descriptor() ([]byte, []int)
- func (m *PageToken) Marshal() (data []byte, err error)
- func (m *PageToken) MarshalTo(data []byte) (int, error)
- func (*PageToken) ProtoMessage()
- func (m *PageToken) Reset()
- func (m *PageToken) Size() (n int)
- func (m *PageToken) String() string
- func (m *PageToken) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthInternal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowInternal = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type CrossReference ¶
type CrossReference struct { SourceDecoration *CrossReference_Decoration `protobuf:"bytes,1,opt,name=source_decoration" json:"source_decoration,omitempty"` Referent *kythe_proto_serving.Node `protobuf:"bytes,2,opt,name=referent" json:"referent,omitempty"` TargetDecoration *CrossReference_Decoration `protobuf:"bytes,3,opt,name=target_decoration" json:"target_decoration,omitempty"` SourceAnchor *kythe_proto_serving.ExpandedAnchor `protobuf:"bytes,4,opt,name=source_anchor" json:"source_anchor,omitempty"` TargetAnchor *kythe_proto_serving.ExpandedAnchor `protobuf:"bytes,5,opt,name=target_anchor" json:"target_anchor,omitempty"` }
A CrossReference represents a path between two anchors, crossing between a single common node. Abstractly this a (file, anchor, kind, node, kind', anchor', file') tuple where the two (file, anchor, kind) sub-components have been named Decorations.
This structure can be used to represent the intermediary* structures needed to build pre-cached responses to the Decorations and CrossReferences service methods.
* where only a subset of this structure is known at that moment in time
func (*CrossReference) Descriptor ¶
func (*CrossReference) Descriptor() ([]byte, []int)
func (*CrossReference) GetReferent ¶
func (m *CrossReference) GetReferent() *kythe_proto_serving.Node
func (*CrossReference) GetSourceAnchor ¶
func (m *CrossReference) GetSourceAnchor() *kythe_proto_serving.ExpandedAnchor
func (*CrossReference) GetSourceDecoration ¶
func (m *CrossReference) GetSourceDecoration() *CrossReference_Decoration
func (*CrossReference) GetTargetAnchor ¶
func (m *CrossReference) GetTargetAnchor() *kythe_proto_serving.ExpandedAnchor
func (*CrossReference) GetTargetDecoration ¶
func (m *CrossReference) GetTargetDecoration() *CrossReference_Decoration
func (*CrossReference) Marshal ¶
func (m *CrossReference) Marshal() (data []byte, err error)
func (*CrossReference) ProtoMessage ¶
func (*CrossReference) ProtoMessage()
func (*CrossReference) Reset ¶
func (m *CrossReference) Reset()
func (*CrossReference) Size ¶
func (m *CrossReference) Size() (n int)
func (*CrossReference) String ¶
func (m *CrossReference) String() string
func (*CrossReference) Unmarshal ¶
func (m *CrossReference) Unmarshal(data []byte) error
type CrossReference_Decoration ¶
type CrossReference_Decoration struct { File *kythe_proto_serving.File `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Anchor *kythe_proto_serving.RawAnchor `protobuf:"bytes,2,opt,name=anchor" json:"anchor,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` }
A Decoration is specialized partial edge with an anchor on one end, stored along side its parent file node. The partial edge's other end is stored in the referent field of the parent CrossReference.
func (*CrossReference_Decoration) Descriptor ¶
func (*CrossReference_Decoration) Descriptor() ([]byte, []int)
func (*CrossReference_Decoration) GetAnchor ¶
func (m *CrossReference_Decoration) GetAnchor() *kythe_proto_serving.RawAnchor
func (*CrossReference_Decoration) GetFile ¶
func (m *CrossReference_Decoration) GetFile() *kythe_proto_serving.File
func (*CrossReference_Decoration) Marshal ¶
func (m *CrossReference_Decoration) Marshal() (data []byte, err error)
func (*CrossReference_Decoration) MarshalTo ¶
func (m *CrossReference_Decoration) MarshalTo(data []byte) (int, error)
func (*CrossReference_Decoration) ProtoMessage ¶
func (*CrossReference_Decoration) ProtoMessage()
func (*CrossReference_Decoration) Reset ¶
func (m *CrossReference_Decoration) Reset()
func (*CrossReference_Decoration) Size ¶
func (m *CrossReference_Decoration) Size() (n int)
func (*CrossReference_Decoration) String ¶
func (m *CrossReference_Decoration) String() string
func (*CrossReference_Decoration) Unmarshal ¶
func (m *CrossReference_Decoration) Unmarshal(data []byte) error
type PageToken ¶
type PageToken struct { // Index into the primary reply sequence. Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // Secondary page token for reply sub-query. SecondaryToken string `protobuf:"bytes,2,opt,name=secondary_token,proto3" json:"secondary_token,omitempty"` }
Internal encoding for an EdgesReply/CrossReferencesReply page_token
func (*PageToken) Descriptor ¶
func (*PageToken) ProtoMessage ¶
func (*PageToken) ProtoMessage()