Documentation
¶
Index ¶
- Variables
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifact) GetCommit() string
- func (x *Artifact) GetContentHash() []byte
- func (x *Artifact) GetDiagnostics() []*Diagnostic
- func (x *Artifact) GetEdges() []*Edge
- func (x *Artifact) GetExtensions() []*Extension
- func (x *Artifact) GetFiles() []*File
- func (x *Artifact) GetImportedAt() int64
- func (x *Artifact) GetMetadata() []*MetadataEntry
- func (x *Artifact) GetNodes() []*Node
- func (x *Artifact) GetProducer() *Producer
- func (x *Artifact) GetRepository() string
- func (x *Artifact) GetSchemaVersion() uint32
- func (x *Artifact) GetUnresolved() []*UnresolvedReference
- func (*Artifact) ProtoMessage()
- func (x *Artifact) ProtoReflect() protoreflect.Message
- func (x *Artifact) Reset()
- func (x *Artifact) String() string
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetCode() string
- func (x *Diagnostic) GetExtensions() []*Extension
- func (x *Diagnostic) GetLocation() *Location
- func (x *Diagnostic) GetMessage() string
- func (x *Diagnostic) GetOccurrence() string
- func (x *Diagnostic) GetSeverity() string
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type Edge
- func (*Edge) Descriptor() ([]byte, []int)deprecated
- func (x *Edge) GetConfidence() float64
- func (x *Edge) GetExtensions() []*Extension
- func (x *Edge) GetKind() EdgeKind
- func (x *Edge) GetLocation() *Location
- func (x *Edge) GetOccurrence() string
- func (x *Edge) GetProvenance() string
- func (x *Edge) GetResolutionReason() string
- func (x *Edge) GetSource() string
- func (x *Edge) GetSourceId() string
- func (x *Edge) GetTarget() string
- func (*Edge) ProtoMessage()
- func (x *Edge) ProtoReflect() protoreflect.Message
- func (x *Edge) Reset()
- func (x *Edge) String() string
- type EdgeKind
- type Extension
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetContentHash() string
- func (x *File) GetErrors() *Extension
- func (x *File) GetExtensions() []*Extension
- func (x *File) GetGenerated() bool
- func (x *File) GetIndexedAt() int64
- func (x *File) GetLanguage() string
- func (x *File) GetModifiedAt() int64
- func (x *File) GetNodeCount() int64
- func (x *File) GetPath() string
- func (x *File) GetSize() int64
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetEnd() *Position
- func (x *Location) GetPath() string
- func (x *Location) GetStart() *Position
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type MetadataEntry
- func (*MetadataEntry) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataEntry) GetKey() string
- func (x *MetadataEntry) GetUpdatedAt() int64
- func (x *MetadataEntry) GetValue() string
- func (*MetadataEntry) ProtoMessage()
- func (x *MetadataEntry) ProtoReflect() protoreflect.Message
- func (x *MetadataEntry) Reset()
- func (x *MetadataEntry) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetDecorators() *StringList
- func (x *Node) GetDocumentation() string
- func (x *Node) GetExtensions() []*Extension
- func (x *Node) GetIsAbstract() bool
- func (x *Node) GetIsAsync() bool
- func (x *Node) GetIsExported() bool
- func (x *Node) GetIsStatic() bool
- func (x *Node) GetKind() string
- func (x *Node) GetLanguage() string
- func (x *Node) GetLocation() *Location
- func (x *Node) GetName() string
- func (x *Node) GetOccurrence() string
- func (x *Node) GetPath() string
- func (x *Node) GetQualifiedName() string
- func (x *Node) GetReturnType() string
- func (x *Node) GetScipSymbol() string
- func (x *Node) GetSignature() string
- func (x *Node) GetSourceId() string
- func (x *Node) GetTypeParameters() *StringList
- func (x *Node) GetUpdatedAt() int64
- func (x *Node) GetVisibility() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type Position
- type Producer
- func (*Producer) Descriptor() ([]byte, []int)deprecated
- func (x *Producer) GetConfiguration() string
- func (x *Producer) GetName() string
- func (x *Producer) GetVersion() string
- func (*Producer) ProtoMessage()
- func (x *Producer) ProtoReflect() protoreflect.Message
- func (x *Producer) Reset()
- func (x *Producer) String() string
- type StringList
- type UnresolvedReference
- func (*UnresolvedReference) Descriptor() ([]byte, []int)deprecated
- func (x *UnresolvedReference) GetCandidates() *StringList
- func (x *UnresolvedReference) GetExtensions() []*Extension
- func (x *UnresolvedReference) GetKind() string
- func (x *UnresolvedReference) GetLanguage() string
- func (x *UnresolvedReference) GetLocation() *Location
- func (x *UnresolvedReference) GetName() string
- func (x *UnresolvedReference) GetNameTail() string
- func (x *UnresolvedReference) GetOccurrence() string
- func (x *UnresolvedReference) GetPath() string
- func (x *UnresolvedReference) GetSource() string
- func (x *UnresolvedReference) GetSourceId() string
- func (x *UnresolvedReference) GetStatus() string
- func (*UnresolvedReference) ProtoMessage()
- func (x *UnresolvedReference) ProtoReflect() protoreflect.Message
- func (x *UnresolvedReference) Reset()
- func (x *UnresolvedReference) String() string
Constants ¶
This section is empty.
Variables ¶
var ( EdgeKind_name = map[int32]string{ 0: "EDGE_KIND_UNSPECIFIED", 1: "EDGE_KIND_CONTAINS", 2: "EDGE_KIND_IMPORTS", 3: "EDGE_KIND_REFERENCES", 4: "EDGE_KIND_CALLS", 5: "EDGE_KIND_EXTENDS", 6: "EDGE_KIND_IMPLEMENTS", 7: "EDGE_KIND_EXPORTS", 8: "EDGE_KIND_TYPE_OF", 9: "EDGE_KIND_RETURNS", 10: "EDGE_KIND_INSTANTIATES", 11: "EDGE_KIND_OVERRIDES", 12: "EDGE_KIND_DECORATES", 13: "EDGE_KIND_NAVIGATES", } EdgeKind_value = map[string]int32{ "EDGE_KIND_UNSPECIFIED": 0, "EDGE_KIND_CONTAINS": 1, "EDGE_KIND_IMPORTS": 2, "EDGE_KIND_REFERENCES": 3, "EDGE_KIND_CALLS": 4, "EDGE_KIND_EXTENDS": 5, "EDGE_KIND_IMPLEMENTS": 6, "EDGE_KIND_EXPORTS": 7, "EDGE_KIND_TYPE_OF": 8, "EDGE_KIND_RETURNS": 9, "EDGE_KIND_INSTANTIATES": 10, "EDGE_KIND_OVERRIDES": 11, "EDGE_KIND_DECORATES": 12, "EDGE_KIND_NAVIGATES": 13, } )
Enum value maps for EdgeKind.
var File_artifact_v2_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct {
SchemaVersion uint32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
// Stable public repository identity, never a server database row ID.
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
Producer *Producer `protobuf:"bytes,4,opt,name=producer,proto3" json:"producer,omitempty"`
ContentHash []byte `protobuf:"bytes,5,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
Nodes []*Node `protobuf:"bytes,6,rep,name=nodes,proto3" json:"nodes,omitempty"`
Edges []*Edge `protobuf:"bytes,7,rep,name=edges,proto3" json:"edges,omitempty"`
Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"`
Unresolved []*UnresolvedReference `protobuf:"bytes,9,rep,name=unresolved,proto3" json:"unresolved,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,10,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
Extensions []*Extension `protobuf:"bytes,11,rep,name=extensions,proto3" json:"extensions,omitempty"`
ImportedAt int64 `protobuf:"varint,12,opt,name=imported_at,json=importedAt,proto3" json:"imported_at,omitempty"`
Metadata []*MetadataEntry `protobuf:"bytes,13,rep,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
A contract artifact only: current v1 publication paths must reject this version.
func (*Artifact) Descriptor
deprecated
func (*Artifact) GetContentHash ¶
func (*Artifact) GetDiagnostics ¶
func (x *Artifact) GetDiagnostics() []*Diagnostic
func (*Artifact) GetExtensions ¶
func (*Artifact) GetImportedAt ¶
func (*Artifact) GetMetadata ¶
func (x *Artifact) GetMetadata() []*MetadataEntry
func (*Artifact) GetProducer ¶
func (*Artifact) GetRepository ¶
func (*Artifact) GetSchemaVersion ¶
func (*Artifact) GetUnresolved ¶
func (x *Artifact) GetUnresolved() []*UnresolvedReference
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) ProtoReflect ¶
func (x *Artifact) ProtoReflect() protoreflect.Message
type Diagnostic ¶
type Diagnostic struct {
Occurrence string `protobuf:"bytes,1,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
Code *string `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"`
Location *Location `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
Extensions []*Extension `protobuf:"bytes,6,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetCode ¶
func (x *Diagnostic) GetCode() string
func (*Diagnostic) GetExtensions ¶
func (x *Diagnostic) GetExtensions() []*Extension
func (*Diagnostic) GetLocation ¶
func (x *Diagnostic) GetLocation() *Location
func (*Diagnostic) GetMessage ¶
func (x *Diagnostic) GetMessage() string
func (*Diagnostic) GetOccurrence ¶
func (x *Diagnostic) GetOccurrence() string
func (*Diagnostic) GetSeverity ¶
func (x *Diagnostic) GetSeverity() string
func (*Diagnostic) ProtoMessage ¶
func (*Diagnostic) ProtoMessage()
func (*Diagnostic) ProtoReflect ¶
func (x *Diagnostic) ProtoReflect() protoreflect.Message
func (*Diagnostic) Reset ¶
func (x *Diagnostic) Reset()
func (*Diagnostic) String ¶
func (x *Diagnostic) String() string
type Edge ¶
type Edge struct {
// Original producer database row identity, evidence only (excluded from hash).
SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
Occurrence string `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
// Endpoint declaration occurrences, not ambiguous source IDs/names.
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
Kind EdgeKind `protobuf:"varint,5,opt,name=kind,proto3,enum=graphnest.graph.v2.EdgeKind" json:"kind,omitempty"`
Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
Confidence *float64 `protobuf:"fixed64,7,opt,name=confidence,proto3,oneof" json:"confidence,omitempty"`
Provenance *string `protobuf:"bytes,8,opt,name=provenance,proto3,oneof" json:"provenance,omitempty"`
ResolutionReason *string `protobuf:"bytes,9,opt,name=resolution_reason,json=resolutionReason,proto3,oneof" json:"resolution_reason,omitempty"`
Extensions []*Extension `protobuf:"bytes,10,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}
func (*Edge) Descriptor
deprecated
func (*Edge) GetConfidence ¶
func (*Edge) GetExtensions ¶
func (*Edge) GetLocation ¶
func (*Edge) GetOccurrence ¶
func (*Edge) GetProvenance ¶
func (*Edge) GetResolutionReason ¶
func (*Edge) GetSourceId ¶
func (*Edge) ProtoMessage ¶
func (*Edge) ProtoMessage()
func (*Edge) ProtoReflect ¶
func (x *Edge) ProtoReflect() protoreflect.Message
type EdgeKind ¶
type EdgeKind int32
Values 1-6 are the established GraphNest v1 values, not CodeGraph enum order.
const ( EdgeKind_EDGE_KIND_UNSPECIFIED EdgeKind = 0 EdgeKind_EDGE_KIND_CONTAINS EdgeKind = 1 EdgeKind_EDGE_KIND_IMPORTS EdgeKind = 2 EdgeKind_EDGE_KIND_REFERENCES EdgeKind = 3 EdgeKind_EDGE_KIND_CALLS EdgeKind = 4 EdgeKind_EDGE_KIND_EXTENDS EdgeKind = 5 EdgeKind_EDGE_KIND_IMPLEMENTS EdgeKind = 6 EdgeKind_EDGE_KIND_EXPORTS EdgeKind = 7 EdgeKind_EDGE_KIND_TYPE_OF EdgeKind = 8 EdgeKind_EDGE_KIND_RETURNS EdgeKind = 9 EdgeKind_EDGE_KIND_INSTANTIATES EdgeKind = 10 EdgeKind_EDGE_KIND_OVERRIDES EdgeKind = 11 EdgeKind_EDGE_KIND_DECORATES EdgeKind = 12 EdgeKind_EDGE_KIND_NAVIGATES EdgeKind = 13 )
func (EdgeKind) Descriptor ¶
func (EdgeKind) Descriptor() protoreflect.EnumDescriptor
func (EdgeKind) EnumDescriptor
deprecated
func (EdgeKind) Number ¶
func (x EdgeKind) Number() protoreflect.EnumNumber
func (EdgeKind) Type ¶
func (EdgeKind) Type() protoreflect.EnumType
type Extension ¶
type Extension struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Json []byte `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"`
// contains filtered or unexported fields
}
Namespace identifies the producer-owned shape; JSON is bounded and validated.
func (*Extension) Descriptor
deprecated
func (*Extension) GetNamespace ¶
func (*Extension) ProtoMessage ¶
func (*Extension) ProtoMessage()
func (*Extension) ProtoReflect ¶
func (x *Extension) ProtoReflect() protoreflect.Message
type File ¶
type File struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
ContentHash string `protobuf:"bytes,2,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
ModifiedAt *int64 `protobuf:"varint,5,opt,name=modified_at,json=modifiedAt,proto3,oneof" json:"modified_at,omitempty"`
IndexedAt *int64 `protobuf:"varint,6,opt,name=indexed_at,json=indexedAt,proto3,oneof" json:"indexed_at,omitempty"`
NodeCount *int64 `protobuf:"varint,7,opt,name=node_count,json=nodeCount,proto3,oneof" json:"node_count,omitempty"`
Generated *bool `protobuf:"varint,8,opt,name=generated,proto3,oneof" json:"generated,omitempty"`
// Original optional error list, including any producer-specific fields.
Errors *Extension `protobuf:"bytes,9,opt,name=errors,proto3" json:"errors,omitempty"`
Extensions []*Extension `protobuf:"bytes,10,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}
func (*File) Descriptor
deprecated
func (*File) GetContentHash ¶
func (*File) GetExtensions ¶
func (*File) GetGenerated ¶
func (*File) GetIndexedAt ¶
func (*File) GetLanguage ¶
func (*File) GetModifiedAt ¶
func (*File) GetNodeCount ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type Location ¶
type Location struct {
Path *string `protobuf:"bytes,1,opt,name=path,proto3,oneof" json:"path,omitempty"`
Start *Position `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
End *Position `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
// contains filtered or unexported fields
}
func (*Location) Descriptor
deprecated
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type MetadataEntry ¶
type MetadataEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*MetadataEntry) Descriptor
deprecated
func (*MetadataEntry) Descriptor() ([]byte, []int)
Deprecated: Use MetadataEntry.ProtoReflect.Descriptor instead.
func (*MetadataEntry) GetKey ¶
func (x *MetadataEntry) GetKey() string
func (*MetadataEntry) GetUpdatedAt ¶
func (x *MetadataEntry) GetUpdatedAt() int64
func (*MetadataEntry) GetValue ¶
func (x *MetadataEntry) GetValue() string
func (*MetadataEntry) ProtoMessage ¶
func (*MetadataEntry) ProtoMessage()
func (*MetadataEntry) ProtoReflect ¶
func (x *MetadataEntry) ProtoReflect() protoreflect.Message
func (*MetadataEntry) Reset ¶
func (x *MetadataEntry) Reset()
func (*MetadataEntry) String ¶
func (x *MetadataEntry) String() string
type Node ¶
type Node struct {
SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
// Unique declaration occurrence within this artifact, not a qualified name.
Occurrence string `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
QualifiedName string `protobuf:"bytes,5,opt,name=qualified_name,json=qualifiedName,proto3" json:"qualified_name,omitempty"`
Path *string `protobuf:"bytes,6,opt,name=path,proto3,oneof" json:"path,omitempty"`
Language string `protobuf:"bytes,7,opt,name=language,proto3" json:"language,omitempty"`
Location *Location `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
Documentation *string `protobuf:"bytes,9,opt,name=documentation,proto3,oneof" json:"documentation,omitempty"`
Signature *string `protobuf:"bytes,10,opt,name=signature,proto3,oneof" json:"signature,omitempty"`
Visibility *string `protobuf:"bytes,11,opt,name=visibility,proto3,oneof" json:"visibility,omitempty"`
IsExported *bool `protobuf:"varint,12,opt,name=is_exported,json=isExported,proto3,oneof" json:"is_exported,omitempty"`
IsAsync *bool `protobuf:"varint,13,opt,name=is_async,json=isAsync,proto3,oneof" json:"is_async,omitempty"`
IsStatic *bool `protobuf:"varint,14,opt,name=is_static,json=isStatic,proto3,oneof" json:"is_static,omitempty"`
IsAbstract *bool `protobuf:"varint,15,opt,name=is_abstract,json=isAbstract,proto3,oneof" json:"is_abstract,omitempty"`
Decorators *StringList `protobuf:"bytes,16,opt,name=decorators,proto3" json:"decorators,omitempty"`
TypeParameters *StringList `protobuf:"bytes,17,opt,name=type_parameters,json=typeParameters,proto3" json:"type_parameters,omitempty"`
ReturnType *string `protobuf:"bytes,18,opt,name=return_type,json=returnType,proto3,oneof" json:"return_type,omitempty"`
Extensions []*Extension `protobuf:"bytes,19,rep,name=extensions,proto3" json:"extensions,omitempty"`
UpdatedAt *int64 `protobuf:"varint,20,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
ScipSymbol *string `protobuf:"bytes,21,opt,name=scip_symbol,json=scipSymbol,proto3,oneof" json:"scip_symbol,omitempty"`
// contains filtered or unexported fields
}
func (*Node) Descriptor
deprecated
func (*Node) GetDecorators ¶
func (x *Node) GetDecorators() *StringList
func (*Node) GetDocumentation ¶
func (*Node) GetExtensions ¶
func (*Node) GetIsAbstract ¶
func (*Node) GetIsAsync ¶
func (*Node) GetIsExported ¶
func (*Node) GetIsStatic ¶
func (*Node) GetLanguage ¶
func (*Node) GetLocation ¶
func (*Node) GetOccurrence ¶
func (*Node) GetQualifiedName ¶
func (*Node) GetReturnType ¶
func (*Node) GetScipSymbol ¶
func (*Node) GetSignature ¶
func (*Node) GetSourceId ¶
func (*Node) GetTypeParameters ¶
func (x *Node) GetTypeParameters() *StringList
func (*Node) GetUpdatedAt ¶
func (*Node) GetVisibility ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Position ¶
type Position struct {
Line *int32 `protobuf:"varint,1,opt,name=line,proto3,oneof" json:"line,omitempty"`
Character *int32 `protobuf:"varint,2,opt,name=character,proto3,oneof" json:"character,omitempty"`
// contains filtered or unexported fields
}
Canonical coordinates are zero-based UTF-16 code units, end-exclusive. A point may have only a line, preserving partial producer evidence.
func (*Position) Descriptor
deprecated
func (*Position) GetCharacter ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
type Producer ¶
type Producer struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Configuration string `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"`
// contains filtered or unexported fields
}
func (*Producer) Descriptor
deprecated
func (*Producer) GetConfiguration ¶
func (*Producer) GetVersion ¶
func (*Producer) ProtoMessage ¶
func (*Producer) ProtoMessage()
func (*Producer) ProtoReflect ¶
func (x *Producer) ProtoReflect() protoreflect.Message
type StringList ¶
type StringList struct {
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
Presence of a list distinguishes absent metadata from an empty producer list.
func (*StringList) Descriptor
deprecated
func (*StringList) Descriptor() ([]byte, []int)
Deprecated: Use StringList.ProtoReflect.Descriptor instead.
func (*StringList) GetValues ¶
func (x *StringList) GetValues() []string
func (*StringList) ProtoMessage ¶
func (*StringList) ProtoMessage()
func (*StringList) ProtoReflect ¶
func (x *StringList) ProtoReflect() protoreflect.Message
func (*StringList) Reset ¶
func (x *StringList) Reset()
func (*StringList) String ¶
func (x *StringList) String() string
type UnresolvedReference ¶
type UnresolvedReference struct {
SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
Occurrence string `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// Relationship registry name, or CodeGraph's internal function_ref.
Kind string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"`
Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
Candidates *StringList `protobuf:"bytes,7,opt,name=candidates,proto3" json:"candidates,omitempty"`
Path *string `protobuf:"bytes,8,opt,name=path,proto3,oneof" json:"path,omitempty"`
Language *string `protobuf:"bytes,9,opt,name=language,proto3,oneof" json:"language,omitempty"`
Status *string `protobuf:"bytes,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
NameTail *string `protobuf:"bytes,11,opt,name=name_tail,json=nameTail,proto3,oneof" json:"name_tail,omitempty"`
Extensions []*Extension `protobuf:"bytes,12,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}
func (*UnresolvedReference) Descriptor
deprecated
func (*UnresolvedReference) Descriptor() ([]byte, []int)
Deprecated: Use UnresolvedReference.ProtoReflect.Descriptor instead.
func (*UnresolvedReference) GetCandidates ¶
func (x *UnresolvedReference) GetCandidates() *StringList
func (*UnresolvedReference) GetExtensions ¶
func (x *UnresolvedReference) GetExtensions() []*Extension
func (*UnresolvedReference) GetKind ¶
func (x *UnresolvedReference) GetKind() string
func (*UnresolvedReference) GetLanguage ¶
func (x *UnresolvedReference) GetLanguage() string
func (*UnresolvedReference) GetLocation ¶
func (x *UnresolvedReference) GetLocation() *Location
func (*UnresolvedReference) GetName ¶
func (x *UnresolvedReference) GetName() string
func (*UnresolvedReference) GetNameTail ¶
func (x *UnresolvedReference) GetNameTail() string
func (*UnresolvedReference) GetOccurrence ¶
func (x *UnresolvedReference) GetOccurrence() string
func (*UnresolvedReference) GetPath ¶
func (x *UnresolvedReference) GetPath() string
func (*UnresolvedReference) GetSource ¶
func (x *UnresolvedReference) GetSource() string
func (*UnresolvedReference) GetSourceId ¶
func (x *UnresolvedReference) GetSourceId() string
func (*UnresolvedReference) GetStatus ¶
func (x *UnresolvedReference) GetStatus() string
func (*UnresolvedReference) ProtoMessage ¶
func (*UnresolvedReference) ProtoMessage()
func (*UnresolvedReference) ProtoReflect ¶
func (x *UnresolvedReference) ProtoReflect() protoreflect.Message
func (*UnresolvedReference) Reset ¶
func (x *UnresolvedReference) Reset()
func (*UnresolvedReference) String ¶
func (x *UnresolvedReference) String() string