graphv2

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetCommit

func (x *Artifact) GetCommit() string

func (*Artifact) GetContentHash

func (x *Artifact) GetContentHash() []byte

func (*Artifact) GetDiagnostics

func (x *Artifact) GetDiagnostics() []*Diagnostic

func (*Artifact) GetEdges

func (x *Artifact) GetEdges() []*Edge

func (*Artifact) GetExtensions

func (x *Artifact) GetExtensions() []*Extension

func (*Artifact) GetFiles

func (x *Artifact) GetFiles() []*File

func (*Artifact) GetImportedAt

func (x *Artifact) GetImportedAt() int64

func (*Artifact) GetMetadata

func (x *Artifact) GetMetadata() []*MetadataEntry

func (*Artifact) GetNodes

func (x *Artifact) GetNodes() []*Node

func (*Artifact) GetProducer

func (x *Artifact) GetProducer() *Producer

func (*Artifact) GetRepository

func (x *Artifact) GetRepository() string

func (*Artifact) GetSchemaVersion

func (x *Artifact) GetSchemaVersion() uint32

func (*Artifact) GetUnresolved

func (x *Artifact) GetUnresolved() []*UnresolvedReference

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

func (x *Artifact) ProtoReflect() protoreflect.Message

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Edge.ProtoReflect.Descriptor instead.

func (*Edge) GetConfidence

func (x *Edge) GetConfidence() float64

func (*Edge) GetExtensions

func (x *Edge) GetExtensions() []*Extension

func (*Edge) GetKind

func (x *Edge) GetKind() EdgeKind

func (*Edge) GetLocation

func (x *Edge) GetLocation() *Location

func (*Edge) GetOccurrence

func (x *Edge) GetOccurrence() string

func (*Edge) GetProvenance

func (x *Edge) GetProvenance() string

func (*Edge) GetResolutionReason

func (x *Edge) GetResolutionReason() string

func (*Edge) GetSource

func (x *Edge) GetSource() string

func (*Edge) GetSourceId

func (x *Edge) GetSourceId() string

func (*Edge) GetTarget

func (x *Edge) GetTarget() string

func (*Edge) ProtoMessage

func (*Edge) ProtoMessage()

func (*Edge) ProtoReflect

func (x *Edge) ProtoReflect() protoreflect.Message

func (*Edge) Reset

func (x *Edge) Reset()

func (*Edge) String

func (x *Edge) String() string

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) Enum

func (x EdgeKind) Enum() *EdgeKind

func (EdgeKind) EnumDescriptor deprecated

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

Deprecated: Use EdgeKind.Descriptor instead.

func (EdgeKind) Number

func (x EdgeKind) Number() protoreflect.EnumNumber

func (EdgeKind) String

func (x EdgeKind) String() string

func (EdgeKind) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetJson

func (x *Extension) GetJson() []byte

func (*Extension) GetNamespace

func (x *Extension) GetNamespace() string

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect

func (x *Extension) ProtoReflect() protoreflect.Message

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) String

func (x *Extension) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetContentHash

func (x *File) GetContentHash() string

func (*File) GetErrors

func (x *File) GetErrors() *Extension

func (*File) GetExtensions

func (x *File) GetExtensions() []*Extension

func (*File) GetGenerated

func (x *File) GetGenerated() bool

func (*File) GetIndexedAt

func (x *File) GetIndexedAt() int64

func (*File) GetLanguage

func (x *File) GetLanguage() string

func (*File) GetModifiedAt

func (x *File) GetModifiedAt() int64

func (*File) GetNodeCount

func (x *File) GetNodeCount() int64

func (*File) GetPath

func (x *File) GetPath() string

func (*File) GetSize

func (x *File) GetSize() int64

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetEnd

func (x *Location) GetEnd() *Position

func (*Location) GetPath

func (x *Location) GetPath() string

func (*Location) GetStart

func (x *Location) GetStart() *Position

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetDecorators

func (x *Node) GetDecorators() *StringList

func (*Node) GetDocumentation

func (x *Node) GetDocumentation() string

func (*Node) GetExtensions

func (x *Node) GetExtensions() []*Extension

func (*Node) GetIsAbstract

func (x *Node) GetIsAbstract() bool

func (*Node) GetIsAsync

func (x *Node) GetIsAsync() bool

func (*Node) GetIsExported

func (x *Node) GetIsExported() bool

func (*Node) GetIsStatic

func (x *Node) GetIsStatic() bool

func (*Node) GetKind

func (x *Node) GetKind() string

func (*Node) GetLanguage

func (x *Node) GetLanguage() string

func (*Node) GetLocation

func (x *Node) GetLocation() *Location

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetOccurrence

func (x *Node) GetOccurrence() string

func (*Node) GetPath

func (x *Node) GetPath() string

func (*Node) GetQualifiedName

func (x *Node) GetQualifiedName() string

func (*Node) GetReturnType

func (x *Node) GetReturnType() string

func (*Node) GetScipSymbol

func (x *Node) GetScipSymbol() string

func (*Node) GetSignature

func (x *Node) GetSignature() string

func (*Node) GetSourceId

func (x *Node) GetSourceId() string

func (*Node) GetTypeParameters

func (x *Node) GetTypeParameters() *StringList

func (*Node) GetUpdatedAt

func (x *Node) GetUpdatedAt() int64

func (*Node) GetVisibility

func (x *Node) GetVisibility() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetCharacter

func (x *Position) GetCharacter() int32

func (*Position) GetLine

func (x *Position) GetLine() int32

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

func (x *Position) ProtoReflect() protoreflect.Message

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Producer.ProtoReflect.Descriptor instead.

func (*Producer) GetConfiguration

func (x *Producer) GetConfiguration() string

func (*Producer) GetName

func (x *Producer) GetName() string

func (*Producer) GetVersion

func (x *Producer) GetVersion() string

func (*Producer) ProtoMessage

func (*Producer) ProtoMessage()

func (*Producer) ProtoReflect

func (x *Producer) ProtoReflect() protoreflect.Message

func (*Producer) Reset

func (x *Producer) Reset()

func (*Producer) String

func (x *Producer) String() string

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

Jump to

Keyboard shortcuts

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