common_go_proto

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0, NCSA Imports: 5 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MarkedSource_Kind_name = map[int32]string{
		0:  "BOX",
		1:  "TYPE",
		2:  "PARAMETER",
		3:  "IDENTIFIER",
		4:  "CONTEXT",
		5:  "INITIALIZER",
		12: "MODIFIER",
		6:  "PARAMETER_LOOKUP_BY_PARAM",
		7:  "LOOKUP_BY_PARAM",
		8:  "PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS",
		9:  "LOOKUP_BY_TYPED",
		10: "PARAMETER_LOOKUP_BY_TPARAM",
		11: "LOOKUP_BY_TPARAM",
	}
	MarkedSource_Kind_value = map[string]int32{
		"BOX":                       0,
		"TYPE":                      1,
		"PARAMETER":                 2,
		"IDENTIFIER":                3,
		"CONTEXT":                   4,
		"INITIALIZER":               5,
		"MODIFIER":                  12,
		"PARAMETER_LOOKUP_BY_PARAM": 6,
		"LOOKUP_BY_PARAM":           7,
		"PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS": 8,
		"LOOKUP_BY_TYPED":                         9,
		"PARAMETER_LOOKUP_BY_TPARAM":              10,
		"LOOKUP_BY_TPARAM":                        11,
	}
)

Enum value maps for MarkedSource_Kind.

View Source
var (
	Language_Support_name = map[int32]string{
		0: "UNKNOWN",
		1: "EXPERIMENTAL",
		2: "SUPPORTED",
	}
	Language_Support_value = map[string]int32{
		"UNKNOWN":      0,
		"EXPERIMENTAL": 1,
		"SUPPORTED":    2,
	}
)

Enum value maps for Language_Support.

View Source
var (
	Hash_HashType_name = map[int32]string{
		0: "NONE",
		1: "SHA256",
		2: "SHA1",
	}
	Hash_HashType_value = map[string]int32{
		"NONE":   0,
		"SHA256": 1,
		"SHA1":   2,
	}
)

Enum value maps for Hash_HashType.

View Source
var File_kythe_proto_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CorpusPath added in v0.0.29

type CorpusPath struct {
	Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"`
	Root   string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	Path   string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CorpusPath) Descriptor deprecated added in v0.0.29

func (*CorpusPath) Descriptor() ([]byte, []int)

Deprecated: Use CorpusPath.ProtoReflect.Descriptor instead.

func (*CorpusPath) GetCorpus added in v0.0.29

func (x *CorpusPath) GetCorpus() string

func (*CorpusPath) GetPath added in v0.0.29

func (x *CorpusPath) GetPath() string

func (*CorpusPath) GetRoot added in v0.0.29

func (x *CorpusPath) GetRoot() string

func (*CorpusPath) ProtoMessage added in v0.0.29

func (*CorpusPath) ProtoMessage()

func (*CorpusPath) ProtoReflect added in v0.0.49

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

func (*CorpusPath) Reset added in v0.0.29

func (x *CorpusPath) Reset()

func (*CorpusPath) String added in v0.0.29

func (x *CorpusPath) String() string

type Diagnostic

type Diagnostic struct {
	Span       *Span  `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"`
	Message    string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Details    string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	ContextUrl string `protobuf:"bytes,4,opt,name=context_url,json=contextUrl,proto3" json:"context_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Diagnostic) Descriptor deprecated

func (*Diagnostic) Descriptor() ([]byte, []int)

Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.

func (*Diagnostic) GetContextUrl

func (x *Diagnostic) GetContextUrl() string

func (*Diagnostic) GetDetails

func (x *Diagnostic) GetDetails() string

func (*Diagnostic) GetMessage

func (x *Diagnostic) GetMessage() string

func (*Diagnostic) GetSpan

func (x *Diagnostic) GetSpan() *Span

func (*Diagnostic) ProtoMessage

func (*Diagnostic) ProtoMessage()

func (*Diagnostic) ProtoReflect added in v0.0.49

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

func (*Diagnostic) Reset

func (x *Diagnostic) Reset()

func (*Diagnostic) String

func (x *Diagnostic) String() string

type Fact

type Fact struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Fact) Descriptor deprecated

func (*Fact) Descriptor() ([]byte, []int)

Deprecated: Use Fact.ProtoReflect.Descriptor instead.

func (*Fact) GetName

func (x *Fact) GetName() string

func (*Fact) GetValue

func (x *Fact) GetValue() []byte

func (*Fact) ProtoMessage

func (*Fact) ProtoMessage()

func (*Fact) ProtoReflect added in v0.0.49

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

func (*Fact) Reset

func (x *Fact) Reset()

func (*Fact) String

func (x *Fact) String() string

type Hash added in v0.0.58

type Hash struct {
	Type  Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=kythe.proto.common.Hash_HashType" json:"type,omitempty"`
	Value []byte        `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Hash) Descriptor deprecated added in v0.0.58

func (*Hash) Descriptor() ([]byte, []int)

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetType added in v0.0.58

func (x *Hash) GetType() Hash_HashType

func (*Hash) GetValue added in v0.0.58

func (x *Hash) GetValue() []byte

func (*Hash) ProtoMessage added in v0.0.58

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect added in v0.0.58

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

func (*Hash) Reset added in v0.0.58

func (x *Hash) Reset()

func (*Hash) String added in v0.0.58

func (x *Hash) String() string

type Hash_HashType added in v0.0.58

type Hash_HashType int32
const (
	Hash_NONE   Hash_HashType = 0
	Hash_SHA256 Hash_HashType = 1
	Hash_SHA1   Hash_HashType = 2
)

func (Hash_HashType) Descriptor added in v0.0.58

func (Hash_HashType) Enum added in v0.0.58

func (x Hash_HashType) Enum() *Hash_HashType

func (Hash_HashType) EnumDescriptor deprecated added in v0.0.58

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

Deprecated: Use Hash_HashType.Descriptor instead.

func (Hash_HashType) Number added in v0.0.58

func (Hash_HashType) String added in v0.0.58

func (x Hash_HashType) String() string

func (Hash_HashType) Type added in v0.0.58

type Language added in v0.0.50

type Language struct {
	Name            string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Support         Language_Support `protobuf:"varint,2,opt,name=support,proto3,enum=kythe.proto.common.Language_Support" json:"support,omitempty"`
	AnalyzerVersion []string         `protobuf:"bytes,3,rep,name=analyzer_version,json=analyzerVersion,proto3" json:"analyzer_version,omitempty"`
	// contains filtered or unexported fields
}

func (*Language) Descriptor deprecated added in v0.0.50

func (*Language) Descriptor() ([]byte, []int)

Deprecated: Use Language.ProtoReflect.Descriptor instead.

func (*Language) GetAnalyzerVersion added in v0.0.50

func (x *Language) GetAnalyzerVersion() []string

func (*Language) GetName added in v0.0.50

func (x *Language) GetName() string

func (*Language) GetSupport added in v0.0.50

func (x *Language) GetSupport() Language_Support

func (*Language) ProtoMessage added in v0.0.50

func (*Language) ProtoMessage()

func (*Language) ProtoReflect added in v0.0.50

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

func (*Language) Reset added in v0.0.50

func (x *Language) Reset()

func (*Language) String added in v0.0.50

func (x *Language) String() string

type Language_Support added in v0.0.50

type Language_Support int32
const (
	Language_UNKNOWN      Language_Support = 0
	Language_EXPERIMENTAL Language_Support = 1
	Language_SUPPORTED    Language_Support = 2
)

func (Language_Support) Descriptor added in v0.0.50

func (Language_Support) Enum added in v0.0.50

func (Language_Support) EnumDescriptor deprecated added in v0.0.50

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

Deprecated: Use Language_Support.Descriptor instead.

func (Language_Support) Number added in v0.0.50

func (Language_Support) String added in v0.0.50

func (x Language_Support) String() string

func (Language_Support) Type added in v0.0.50

type Link struct {
	Definition []string `protobuf:"bytes,3,rep,name=definition,proto3" json:"definition,omitempty"`
	// contains filtered or unexported fields
}

func (*Link) Descriptor deprecated

func (*Link) Descriptor() ([]byte, []int)

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetDefinition

func (x *Link) GetDefinition() []string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect added in v0.0.49

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

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

type MarkedSource

type MarkedSource struct {
	Kind                 MarkedSource_Kind   `protobuf:"varint,1,opt,name=kind,proto3,enum=kythe.proto.common.MarkedSource_Kind" json:"kind,omitempty"`
	PreText              string              `protobuf:"bytes,2,opt,name=pre_text,json=preText,proto3" json:"pre_text,omitempty"`
	Child                []*MarkedSource     `protobuf:"bytes,3,rep,name=child,proto3" json:"child,omitempty"`
	PostChildText        string              `protobuf:"bytes,4,opt,name=post_child_text,json=postChildText,proto3" json:"post_child_text,omitempty"`
	PostText             string              `protobuf:"bytes,5,opt,name=post_text,json=postText,proto3" json:"post_text,omitempty"`
	LookupIndex          uint32              `protobuf:"varint,6,opt,name=lookup_index,json=lookupIndex,proto3" json:"lookup_index,omitempty"`
	DefaultChildrenCount uint32              `protobuf:"varint,7,opt,name=default_children_count,json=defaultChildrenCount,proto3" json:"default_children_count,omitempty"`
	AddFinalListToken    bool                `protobuf:"varint,10,opt,name=add_final_list_token,json=addFinalListToken,proto3" json:"add_final_list_token,omitempty"`
	Link                 []*Link             `protobuf:"bytes,11,rep,name=link,proto3" json:"link,omitempty"`
	ExcludeOnInclude     []MarkedSource_Kind `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MarkedSource) Descriptor deprecated

func (*MarkedSource) Descriptor() ([]byte, []int)

Deprecated: Use MarkedSource.ProtoReflect.Descriptor instead.

func (*MarkedSource) GetAddFinalListToken

func (x *MarkedSource) GetAddFinalListToken() bool

func (*MarkedSource) GetChild

func (x *MarkedSource) GetChild() []*MarkedSource

func (*MarkedSource) GetDefaultChildrenCount

func (x *MarkedSource) GetDefaultChildrenCount() uint32

func (*MarkedSource) GetExcludeOnInclude added in v0.0.64

func (x *MarkedSource) GetExcludeOnInclude() []MarkedSource_Kind

func (*MarkedSource) GetKind

func (x *MarkedSource) GetKind() MarkedSource_Kind
func (x *MarkedSource) GetLink() []*Link

func (*MarkedSource) GetLookupIndex

func (x *MarkedSource) GetLookupIndex() uint32

func (*MarkedSource) GetPostChildText

func (x *MarkedSource) GetPostChildText() string

func (*MarkedSource) GetPostText

func (x *MarkedSource) GetPostText() string

func (*MarkedSource) GetPreText

func (x *MarkedSource) GetPreText() string

func (*MarkedSource) ProtoMessage

func (*MarkedSource) ProtoMessage()

func (*MarkedSource) ProtoReflect added in v0.0.49

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

func (*MarkedSource) Reset

func (x *MarkedSource) Reset()

func (*MarkedSource) String

func (x *MarkedSource) String() string

type MarkedSource_Kind

type MarkedSource_Kind int32
const (
	MarkedSource_BOX                                     MarkedSource_Kind = 0
	MarkedSource_TYPE                                    MarkedSource_Kind = 1
	MarkedSource_PARAMETER                               MarkedSource_Kind = 2
	MarkedSource_IDENTIFIER                              MarkedSource_Kind = 3
	MarkedSource_CONTEXT                                 MarkedSource_Kind = 4
	MarkedSource_INITIALIZER                             MarkedSource_Kind = 5
	MarkedSource_MODIFIER                                MarkedSource_Kind = 12
	MarkedSource_PARAMETER_LOOKUP_BY_PARAM               MarkedSource_Kind = 6
	MarkedSource_LOOKUP_BY_PARAM                         MarkedSource_Kind = 7
	MarkedSource_PARAMETER_LOOKUP_BY_PARAM_WITH_DEFAULTS MarkedSource_Kind = 8
	MarkedSource_LOOKUP_BY_TYPED                         MarkedSource_Kind = 9
	MarkedSource_PARAMETER_LOOKUP_BY_TPARAM              MarkedSource_Kind = 10
	MarkedSource_LOOKUP_BY_TPARAM                        MarkedSource_Kind = 11
)

func (MarkedSource_Kind) Descriptor added in v0.0.49

func (MarkedSource_Kind) Enum added in v0.0.49

func (MarkedSource_Kind) EnumDescriptor deprecated

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

Deprecated: Use MarkedSource_Kind.Descriptor instead.

func (MarkedSource_Kind) Number added in v0.0.49

func (MarkedSource_Kind) String

func (x MarkedSource_Kind) String() string

func (MarkedSource_Kind) Type added in v0.0.49

type NodeInfo

type NodeInfo struct {
	Facts      map[string][]byte `` /* 151-byte string literal not displayed */
	Definition string            `protobuf:"bytes,5,opt,name=definition,proto3" json:"definition,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo) Descriptor deprecated

func (*NodeInfo) Descriptor() ([]byte, []int)

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetDefinition

func (x *NodeInfo) GetDefinition() string

func (*NodeInfo) GetFacts

func (x *NodeInfo) GetFacts() map[string][]byte

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect added in v0.0.49

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

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

type Origin added in v0.0.50

type Origin struct {
	Corpus          string                 `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"`
	Revision        string                 `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	CommitTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=commit_timestamp,json=commitTimestamp,proto3" json:"commit_timestamp,omitempty"`
	Language        []string               `protobuf:"bytes,4,rep,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*Origin) Descriptor deprecated added in v0.0.50

func (*Origin) Descriptor() ([]byte, []int)

Deprecated: Use Origin.ProtoReflect.Descriptor instead.

func (*Origin) GetCommitTimestamp added in v0.0.50

func (x *Origin) GetCommitTimestamp() *timestamppb.Timestamp

func (*Origin) GetCorpus added in v0.0.50

func (x *Origin) GetCorpus() string

func (*Origin) GetLanguage added in v0.0.53

func (x *Origin) GetLanguage() []string

func (*Origin) GetRevision added in v0.0.50

func (x *Origin) GetRevision() string

func (*Origin) ProtoMessage added in v0.0.50

func (*Origin) ProtoMessage()

func (*Origin) ProtoReflect added in v0.0.50

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

func (*Origin) Reset added in v0.0.50

func (x *Origin) Reset()

func (*Origin) String added in v0.0.50

func (x *Origin) String() string

type Point

type Point struct {
	ByteOffset   int32 `protobuf:"varint,1,opt,name=byte_offset,json=byteOffset,proto3" json:"byte_offset,omitempty"`
	LineNumber   int32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
	ColumnOffset int32 `protobuf:"varint,3,opt,name=column_offset,json=columnOffset,proto3" json:"column_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*Point) Descriptor deprecated

func (*Point) Descriptor() ([]byte, []int)

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetByteOffset

func (x *Point) GetByteOffset() int32

func (*Point) GetColumnOffset

func (x *Point) GetColumnOffset() int32

func (*Point) GetLineNumber

func (x *Point) GetLineNumber() int32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect added in v0.0.49

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

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

type ResolvedDiagnostic added in v0.0.29

type ResolvedDiagnostic struct {
	CorpusPath *CorpusPath `protobuf:"bytes,1,opt,name=corpus_path,json=corpusPath,proto3" json:"corpus_path,omitempty"`
	Diagnostic *Diagnostic `protobuf:"bytes,2,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolvedDiagnostic) Descriptor deprecated added in v0.0.29

func (*ResolvedDiagnostic) Descriptor() ([]byte, []int)

Deprecated: Use ResolvedDiagnostic.ProtoReflect.Descriptor instead.

func (*ResolvedDiagnostic) GetCorpusPath added in v0.0.29

func (x *ResolvedDiagnostic) GetCorpusPath() *CorpusPath

func (*ResolvedDiagnostic) GetDiagnostic added in v0.0.29

func (x *ResolvedDiagnostic) GetDiagnostic() *Diagnostic

func (*ResolvedDiagnostic) ProtoMessage added in v0.0.29

func (*ResolvedDiagnostic) ProtoMessage()

func (*ResolvedDiagnostic) ProtoReflect added in v0.0.49

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

func (*ResolvedDiagnostic) Reset added in v0.0.29

func (x *ResolvedDiagnostic) Reset()

func (*ResolvedDiagnostic) String added in v0.0.29

func (x *ResolvedDiagnostic) String() string

type Span

type Span struct {
	Start *Point `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End   *Point `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*Span) Descriptor deprecated

func (*Span) Descriptor() ([]byte, []int)

Deprecated: Use Span.ProtoReflect.Descriptor instead.

func (*Span) GetEnd

func (x *Span) GetEnd() *Point

func (*Span) GetStart

func (x *Span) GetStart() *Point

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) ProtoReflect added in v0.0.49

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

func (*Span) Reset

func (x *Span) Reset()

func (*Span) String

func (x *Span) String() string

type SymbolInfo

type SymbolInfo struct {
	BaseName      string `protobuf:"bytes,1,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"`
	QualifiedName string `protobuf:"bytes,2,opt,name=qualified_name,json=qualifiedName,proto3" json:"qualified_name,omitempty"`
	// contains filtered or unexported fields
}

func (*SymbolInfo) Descriptor deprecated

func (*SymbolInfo) Descriptor() ([]byte, []int)

Deprecated: Use SymbolInfo.ProtoReflect.Descriptor instead.

func (*SymbolInfo) GetBaseName

func (x *SymbolInfo) GetBaseName() string

func (*SymbolInfo) GetQualifiedName

func (x *SymbolInfo) GetQualifiedName() string

func (*SymbolInfo) ProtoMessage

func (*SymbolInfo) ProtoMessage()

func (*SymbolInfo) ProtoReflect added in v0.0.49

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

func (*SymbolInfo) Reset

func (x *SymbolInfo) Reset()

func (*SymbolInfo) String

func (x *SymbolInfo) String() string

Jump to

Keyboard shortcuts

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