metadata_go_proto

package
v0.0.59 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0, NCSA Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GeneratedCodeInfo_Type_name = map[int32]string{
		0: "NONE",
		1: "KYTHE0",
	}
	GeneratedCodeInfo_Type_value = map[string]int32{
		"NONE":   0,
		"KYTHE0": 1,
	}
)

Enum value maps for GeneratedCodeInfo_Type.

View Source
var (
	MappingRule_Type_name = map[int32]string{
		0: "NONE",
		1: "NOP",
		2: "ANCHOR_DEFINES",
		3: "ANCHOR_ANCHOR",
	}
	MappingRule_Type_value = map[string]int32{
		"NONE":           0,
		"NOP":            1,
		"ANCHOR_DEFINES": 2,
		"ANCHOR_ANCHOR":  3,
	}
)

Enum value maps for MappingRule_Type.

View Source
var (
	MappingRule_Semantic_name = map[int32]string{
		0: "SEMA_NONE",
		1: "SEMA_WRITE",
		2: "SEMA_READ_WRITE",
	}
	MappingRule_Semantic_value = map[string]int32{
		"SEMA_NONE":       0,
		"SEMA_WRITE":      1,
		"SEMA_READ_WRITE": 2,
	}
)

Enum value maps for MappingRule_Semantic.

View Source
var File_kythe_proto_metadata_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GeneratedCodeInfo

type GeneratedCodeInfo struct {
	Type GeneratedCodeInfo_Type `protobuf:"varint,1,opt,name=type,proto3,enum=kythe.proto.metadata.GeneratedCodeInfo_Type" json:"type,omitempty"`
	Meta []*MappingRule         `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneratedCodeInfo) Descriptor deprecated

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

Deprecated: Use GeneratedCodeInfo.ProtoReflect.Descriptor instead.

func (*GeneratedCodeInfo) GetMeta

func (x *GeneratedCodeInfo) GetMeta() []*MappingRule

func (*GeneratedCodeInfo) GetType

func (*GeneratedCodeInfo) ProtoMessage

func (*GeneratedCodeInfo) ProtoMessage()

func (*GeneratedCodeInfo) ProtoReflect

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

func (*GeneratedCodeInfo) Reset

func (x *GeneratedCodeInfo) Reset()

func (*GeneratedCodeInfo) String

func (x *GeneratedCodeInfo) String() string

type GeneratedCodeInfo_Type

type GeneratedCodeInfo_Type int32
const (
	GeneratedCodeInfo_NONE   GeneratedCodeInfo_Type = 0
	GeneratedCodeInfo_KYTHE0 GeneratedCodeInfo_Type = 1
)

func (GeneratedCodeInfo_Type) Descriptor

func (GeneratedCodeInfo_Type) Enum

func (GeneratedCodeInfo_Type) EnumDescriptor deprecated

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

Deprecated: Use GeneratedCodeInfo_Type.Descriptor instead.

func (GeneratedCodeInfo_Type) Number

func (GeneratedCodeInfo_Type) String

func (x GeneratedCodeInfo_Type) String() string

func (GeneratedCodeInfo_Type) Type

type MappingRule

type MappingRule struct {
	Type        MappingRule_Type        `protobuf:"varint,1,opt,name=type,proto3,enum=kythe.proto.metadata.MappingRule_Type" json:"type,omitempty"`
	Edge        string                  `protobuf:"bytes,2,opt,name=edge,proto3" json:"edge,omitempty"`
	Vname       *storage_go_proto.VName `protobuf:"bytes,3,opt,name=vname,proto3" json:"vname,omitempty"`
	Begin       uint32                  `protobuf:"varint,4,opt,name=begin,proto3" json:"begin,omitempty"`
	End         uint32                  `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"`
	Semantic    MappingRule_Semantic    `protobuf:"varint,11,opt,name=semantic,proto3,enum=kythe.proto.metadata.MappingRule_Semantic" json:"semantic,omitempty"`
	SourceVname *storage_go_proto.VName `protobuf:"bytes,6,opt,name=source_vname,json=sourceVname,proto3" json:"source_vname,omitempty"`
	SourceBegin uint32                  `protobuf:"varint,7,opt,name=source_begin,json=sourceBegin,proto3" json:"source_begin,omitempty"`
	SourceEnd   uint32                  `protobuf:"varint,8,opt,name=source_end,json=sourceEnd,proto3" json:"source_end,omitempty"`
	TargetBegin uint32                  `protobuf:"varint,9,opt,name=target_begin,json=targetBegin,proto3" json:"target_begin,omitempty"`
	TargetEnd   uint32                  `protobuf:"varint,10,opt,name=target_end,json=targetEnd,proto3" json:"target_end,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingRule) Descriptor deprecated

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

Deprecated: Use MappingRule.ProtoReflect.Descriptor instead.

func (*MappingRule) GetBegin

func (x *MappingRule) GetBegin() uint32

func (*MappingRule) GetEdge

func (x *MappingRule) GetEdge() string

func (*MappingRule) GetEnd

func (x *MappingRule) GetEnd() uint32

func (*MappingRule) GetSemantic

func (x *MappingRule) GetSemantic() MappingRule_Semantic

func (*MappingRule) GetSourceBegin

func (x *MappingRule) GetSourceBegin() uint32

func (*MappingRule) GetSourceEnd

func (x *MappingRule) GetSourceEnd() uint32

func (*MappingRule) GetSourceVname

func (x *MappingRule) GetSourceVname() *storage_go_proto.VName

func (*MappingRule) GetTargetBegin

func (x *MappingRule) GetTargetBegin() uint32

func (*MappingRule) GetTargetEnd

func (x *MappingRule) GetTargetEnd() uint32

func (*MappingRule) GetType

func (x *MappingRule) GetType() MappingRule_Type

func (*MappingRule) GetVname

func (x *MappingRule) GetVname() *storage_go_proto.VName

func (*MappingRule) ProtoMessage

func (*MappingRule) ProtoMessage()

func (*MappingRule) ProtoReflect

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

func (*MappingRule) Reset

func (x *MappingRule) Reset()

func (*MappingRule) String

func (x *MappingRule) String() string

type MappingRule_Semantic

type MappingRule_Semantic int32
const (
	MappingRule_SEMA_NONE       MappingRule_Semantic = 0
	MappingRule_SEMA_WRITE      MappingRule_Semantic = 1
	MappingRule_SEMA_READ_WRITE MappingRule_Semantic = 2
)

func (MappingRule_Semantic) Descriptor

func (MappingRule_Semantic) Enum

func (MappingRule_Semantic) EnumDescriptor deprecated

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

Deprecated: Use MappingRule_Semantic.Descriptor instead.

func (MappingRule_Semantic) Number

func (MappingRule_Semantic) String

func (x MappingRule_Semantic) String() string

func (MappingRule_Semantic) Type

type MappingRule_Type

type MappingRule_Type int32
const (
	MappingRule_NONE           MappingRule_Type = 0
	MappingRule_NOP            MappingRule_Type = 1
	MappingRule_ANCHOR_DEFINES MappingRule_Type = 2
	MappingRule_ANCHOR_ANCHOR  MappingRule_Type = 3
)

func (MappingRule_Type) Descriptor

func (MappingRule_Type) Enum

func (MappingRule_Type) EnumDescriptor deprecated

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

Deprecated: Use MappingRule_Type.Descriptor instead.

func (MappingRule_Type) Number

func (MappingRule_Type) String

func (x MappingRule_Type) String() string

func (MappingRule_Type) Type

Jump to

Keyboard shortcuts

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