Documentation ¶
Index ¶
- Variables
- type CppShapeInferenceInputsNeeded
- func (*CppShapeInferenceInputsNeeded) Descriptor() ([]byte, []int)deprecated
- func (x *CppShapeInferenceInputsNeeded) GetInputTensorsAsShapesNeeded() []int32
- func (x *CppShapeInferenceInputsNeeded) GetInputTensorsNeeded() []int32
- func (*CppShapeInferenceInputsNeeded) ProtoMessage()
- func (x *CppShapeInferenceInputsNeeded) ProtoReflect() protoreflect.Message
- func (x *CppShapeInferenceInputsNeeded) Reset()
- func (x *CppShapeInferenceInputsNeeded) String() string
- type CppShapeInferenceResult
- func (*CppShapeInferenceResult) Descriptor() ([]byte, []int)deprecated
- func (x *CppShapeInferenceResult) GetHandleData() *CppShapeInferenceResult_HandleData
- func (x *CppShapeInferenceResult) GetShape() *framework.TensorShapeProto
- func (*CppShapeInferenceResult) ProtoMessage()
- func (x *CppShapeInferenceResult) ProtoReflect() protoreflect.Message
- func (x *CppShapeInferenceResult) Reset()
- func (x *CppShapeInferenceResult) String() string
- type CppShapeInferenceResult_HandleData
- func (*CppShapeInferenceResult_HandleData) Descriptor() ([]byte, []int)deprecated
- func (x *CppShapeInferenceResult_HandleData) GetIsSet() bool
- func (x *CppShapeInferenceResult_HandleData) GetShapeAndType() []*CppShapeInferenceResult_HandleShapeAndType
- func (*CppShapeInferenceResult_HandleData) ProtoMessage()
- func (x *CppShapeInferenceResult_HandleData) ProtoReflect() protoreflect.Message
- func (x *CppShapeInferenceResult_HandleData) Reset()
- func (x *CppShapeInferenceResult_HandleData) String() string
- type CppShapeInferenceResult_HandleShapeAndType
- func (*CppShapeInferenceResult_HandleShapeAndType) Descriptor() ([]byte, []int)deprecated
- func (x *CppShapeInferenceResult_HandleShapeAndType) GetDtype() framework.DataType
- func (x *CppShapeInferenceResult_HandleShapeAndType) GetShape() *framework.TensorShapeProto
- func (x *CppShapeInferenceResult_HandleShapeAndType) GetType() *framework.FullTypeDef
- func (*CppShapeInferenceResult_HandleShapeAndType) ProtoMessage()
- func (x *CppShapeInferenceResult_HandleShapeAndType) ProtoReflect() protoreflect.Message
- func (x *CppShapeInferenceResult_HandleShapeAndType) Reset()
- func (x *CppShapeInferenceResult_HandleShapeAndType) String() string
- type GeneratedCodeInfo
- func (*GeneratedCodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GeneratedCodeInfo) GetMeta() []*MappingRule
- func (x *GeneratedCodeInfo) GetType() GeneratedCodeInfo_Type
- func (*GeneratedCodeInfo) ProtoMessage()
- func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message
- func (x *GeneratedCodeInfo) Reset()
- func (x *GeneratedCodeInfo) String() string
- type GeneratedCodeInfo_Type
- func (GeneratedCodeInfo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x GeneratedCodeInfo_Type) Enum() *GeneratedCodeInfo_Type
- func (GeneratedCodeInfo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x GeneratedCodeInfo_Type) Number() protoreflect.EnumNumber
- func (x GeneratedCodeInfo_Type) String() string
- func (GeneratedCodeInfo_Type) Type() protoreflect.EnumType
- type MappingRule
- func (*MappingRule) Descriptor() ([]byte, []int)deprecated
- func (x *MappingRule) GetBegin() uint32
- func (x *MappingRule) GetEdge() string
- func (x *MappingRule) GetEnd() uint32
- func (x *MappingRule) GetSemantic() MappingRule_Semantic
- func (x *MappingRule) GetSourceBegin() uint32
- func (x *MappingRule) GetSourceEnd() uint32
- func (x *MappingRule) GetSourceVname() *VName
- func (x *MappingRule) GetTargetBegin() uint32
- func (x *MappingRule) GetTargetEnd() uint32
- func (x *MappingRule) GetType() MappingRule_Type
- func (x *MappingRule) GetVname() *VName
- func (*MappingRule) ProtoMessage()
- func (x *MappingRule) ProtoReflect() protoreflect.Message
- func (x *MappingRule) Reset()
- func (x *MappingRule) String() string
- type MappingRule_Semantic
- func (MappingRule_Semantic) Descriptor() protoreflect.EnumDescriptor
- func (x MappingRule_Semantic) Enum() *MappingRule_Semantic
- func (MappingRule_Semantic) EnumDescriptor() ([]byte, []int)deprecated
- func (x MappingRule_Semantic) Number() protoreflect.EnumNumber
- func (x MappingRule_Semantic) String() string
- func (MappingRule_Semantic) Type() protoreflect.EnumType
- type MappingRule_Type
- func (MappingRule_Type) Descriptor() protoreflect.EnumDescriptor
- func (x MappingRule_Type) Enum() *MappingRule_Type
- func (MappingRule_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x MappingRule_Type) Number() protoreflect.EnumNumber
- func (x MappingRule_Type) String() string
- func (MappingRule_Type) Type() protoreflect.EnumType
- type OpRegOffset
- func (*OpRegOffset) Descriptor() ([]byte, []int)deprecated
- func (x *OpRegOffset) GetEnd() uint32
- func (x *OpRegOffset) GetFilepath() string
- func (x *OpRegOffset) GetName() string
- func (x *OpRegOffset) GetStart() uint32
- func (*OpRegOffset) ProtoMessage()
- func (x *OpRegOffset) ProtoReflect() protoreflect.Message
- func (x *OpRegOffset) Reset()
- func (x *OpRegOffset) String() string
- type OpRegOffsets
- type VName
- func (*VName) Descriptor() ([]byte, []int)deprecated
- func (x *VName) GetCorpus() string
- func (x *VName) GetLanguage() string
- func (x *VName) GetPath() string
- func (x *VName) GetRoot() string
- func (x *VName) GetSignature() string
- func (*VName) ProtoMessage()
- func (x *VName) ProtoReflect() protoreflect.Message
- func (x *VName) Reset()
- func (x *VName) String() string
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
var File_tensorflow_python_framework_cpp_shape_inference_proto protoreflect.FileDescriptor
var File_tensorflow_python_framework_kythe_metadata_proto protoreflect.FileDescriptor
var File_tensorflow_python_framework_op_reg_offset_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CppShapeInferenceInputsNeeded ¶
type CppShapeInferenceInputsNeeded struct { InputTensorsNeeded []int32 `protobuf:"varint,1,rep,packed,name=input_tensors_needed,json=inputTensorsNeeded,proto3" json:"input_tensors_needed,omitempty"` InputTensorsAsShapesNeeded []int32 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CppShapeInferenceInputsNeeded) Descriptor
deprecated
func (*CppShapeInferenceInputsNeeded) Descriptor() ([]byte, []int)
Deprecated: Use CppShapeInferenceInputsNeeded.ProtoReflect.Descriptor instead.
func (*CppShapeInferenceInputsNeeded) GetInputTensorsAsShapesNeeded ¶
func (x *CppShapeInferenceInputsNeeded) GetInputTensorsAsShapesNeeded() []int32
func (*CppShapeInferenceInputsNeeded) GetInputTensorsNeeded ¶
func (x *CppShapeInferenceInputsNeeded) GetInputTensorsNeeded() []int32
func (*CppShapeInferenceInputsNeeded) ProtoMessage ¶
func (*CppShapeInferenceInputsNeeded) ProtoMessage()
func (*CppShapeInferenceInputsNeeded) ProtoReflect ¶
func (x *CppShapeInferenceInputsNeeded) ProtoReflect() protoreflect.Message
func (*CppShapeInferenceInputsNeeded) Reset ¶
func (x *CppShapeInferenceInputsNeeded) Reset()
func (*CppShapeInferenceInputsNeeded) String ¶
func (x *CppShapeInferenceInputsNeeded) String() string
type CppShapeInferenceResult ¶
type CppShapeInferenceResult struct { Shape *framework.TensorShapeProto `protobuf:"bytes,1,opt,name=shape,proto3" json:"shape,omitempty"` HandleData *CppShapeInferenceResult_HandleData `protobuf:"bytes,4,opt,name=handle_data,json=handleData,proto3" json:"handle_data,omitempty"` // contains filtered or unexported fields }
LINT.IfChange
func (*CppShapeInferenceResult) Descriptor
deprecated
func (*CppShapeInferenceResult) Descriptor() ([]byte, []int)
Deprecated: Use CppShapeInferenceResult.ProtoReflect.Descriptor instead.
func (*CppShapeInferenceResult) GetHandleData ¶
func (x *CppShapeInferenceResult) GetHandleData() *CppShapeInferenceResult_HandleData
func (*CppShapeInferenceResult) GetShape ¶
func (x *CppShapeInferenceResult) GetShape() *framework.TensorShapeProto
func (*CppShapeInferenceResult) ProtoMessage ¶
func (*CppShapeInferenceResult) ProtoMessage()
func (*CppShapeInferenceResult) ProtoReflect ¶
func (x *CppShapeInferenceResult) ProtoReflect() protoreflect.Message
func (*CppShapeInferenceResult) Reset ¶
func (x *CppShapeInferenceResult) Reset()
func (*CppShapeInferenceResult) String ¶
func (x *CppShapeInferenceResult) String() string
type CppShapeInferenceResult_HandleData ¶
type CppShapeInferenceResult_HandleData struct { IsSet bool `protobuf:"varint,1,opt,name=is_set,json=isSet,proto3" json:"is_set,omitempty"` // Only valid if <is_set>. ShapeAndType []*CppShapeInferenceResult_HandleShapeAndType `protobuf:"bytes,2,rep,name=shape_and_type,json=shapeAndType,proto3" json:"shape_and_type,omitempty"` // contains filtered or unexported fields }
func (*CppShapeInferenceResult_HandleData) Descriptor
deprecated
func (*CppShapeInferenceResult_HandleData) Descriptor() ([]byte, []int)
Deprecated: Use CppShapeInferenceResult_HandleData.ProtoReflect.Descriptor instead.
func (*CppShapeInferenceResult_HandleData) GetIsSet ¶
func (x *CppShapeInferenceResult_HandleData) GetIsSet() bool
func (*CppShapeInferenceResult_HandleData) GetShapeAndType ¶
func (x *CppShapeInferenceResult_HandleData) GetShapeAndType() []*CppShapeInferenceResult_HandleShapeAndType
func (*CppShapeInferenceResult_HandleData) ProtoMessage ¶
func (*CppShapeInferenceResult_HandleData) ProtoMessage()
func (*CppShapeInferenceResult_HandleData) ProtoReflect ¶
func (x *CppShapeInferenceResult_HandleData) ProtoReflect() protoreflect.Message
func (*CppShapeInferenceResult_HandleData) Reset ¶
func (x *CppShapeInferenceResult_HandleData) Reset()
func (*CppShapeInferenceResult_HandleData) String ¶
func (x *CppShapeInferenceResult_HandleData) String() string
type CppShapeInferenceResult_HandleShapeAndType ¶
type CppShapeInferenceResult_HandleShapeAndType struct { Shape *framework.TensorShapeProto `protobuf:"bytes,1,opt,name=shape,proto3" json:"shape,omitempty"` Dtype framework.DataType `protobuf:"varint,2,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"` Type *framework.FullTypeDef `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CppShapeInferenceResult_HandleShapeAndType) Descriptor
deprecated
func (*CppShapeInferenceResult_HandleShapeAndType) Descriptor() ([]byte, []int)
Deprecated: Use CppShapeInferenceResult_HandleShapeAndType.ProtoReflect.Descriptor instead.
func (*CppShapeInferenceResult_HandleShapeAndType) GetDtype ¶
func (x *CppShapeInferenceResult_HandleShapeAndType) GetDtype() framework.DataType
func (*CppShapeInferenceResult_HandleShapeAndType) GetShape ¶
func (x *CppShapeInferenceResult_HandleShapeAndType) GetShape() *framework.TensorShapeProto
func (*CppShapeInferenceResult_HandleShapeAndType) GetType ¶
func (x *CppShapeInferenceResult_HandleShapeAndType) GetType() *framework.FullTypeDef
func (*CppShapeInferenceResult_HandleShapeAndType) ProtoMessage ¶
func (*CppShapeInferenceResult_HandleShapeAndType) ProtoMessage()
func (*CppShapeInferenceResult_HandleShapeAndType) ProtoReflect ¶
func (x *CppShapeInferenceResult_HandleShapeAndType) ProtoReflect() protoreflect.Message
func (*CppShapeInferenceResult_HandleShapeAndType) Reset ¶
func (x *CppShapeInferenceResult_HandleShapeAndType) Reset()
func (*CppShapeInferenceResult_HandleShapeAndType) String ¶
func (x *CppShapeInferenceResult_HandleShapeAndType) String() string
type GeneratedCodeInfo ¶ added in v2.12.0
type GeneratedCodeInfo struct { Type GeneratedCodeInfo_Type `protobuf:"varint,1,opt,name=type,proto3,enum=tensorflow.GeneratedCodeInfo_Type" json:"type,omitempty"` Meta []*MappingRule `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty"` // Only relevant if type == kythe0. // contains filtered or unexported fields }
Schema for the JSON-encoded Kythe metadata describing the relationship between source and target code for generated code.
func (*GeneratedCodeInfo) Descriptor
deprecated
added in
v2.12.0
func (*GeneratedCodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use GeneratedCodeInfo.ProtoReflect.Descriptor instead.
func (*GeneratedCodeInfo) GetMeta ¶ added in v2.12.0
func (x *GeneratedCodeInfo) GetMeta() []*MappingRule
func (*GeneratedCodeInfo) GetType ¶ added in v2.12.0
func (x *GeneratedCodeInfo) GetType() GeneratedCodeInfo_Type
func (*GeneratedCodeInfo) ProtoMessage ¶ added in v2.12.0
func (*GeneratedCodeInfo) ProtoMessage()
func (*GeneratedCodeInfo) ProtoReflect ¶ added in v2.12.0
func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message
func (*GeneratedCodeInfo) Reset ¶ added in v2.12.0
func (x *GeneratedCodeInfo) Reset()
func (*GeneratedCodeInfo) String ¶ added in v2.12.0
func (x *GeneratedCodeInfo) String() string
type GeneratedCodeInfo_Type ¶ added in v2.12.0
type GeneratedCodeInfo_Type int32
const ( GeneratedCodeInfo_NONE GeneratedCodeInfo_Type = 0 GeneratedCodeInfo_KYTHE0 GeneratedCodeInfo_Type = 1 // Initial metadata document type. )
func (GeneratedCodeInfo_Type) Descriptor ¶ added in v2.12.0
func (GeneratedCodeInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (GeneratedCodeInfo_Type) Enum ¶ added in v2.12.0
func (x GeneratedCodeInfo_Type) Enum() *GeneratedCodeInfo_Type
func (GeneratedCodeInfo_Type) EnumDescriptor
deprecated
added in
v2.12.0
func (GeneratedCodeInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use GeneratedCodeInfo_Type.Descriptor instead.
func (GeneratedCodeInfo_Type) Number ¶ added in v2.12.0
func (x GeneratedCodeInfo_Type) Number() protoreflect.EnumNumber
func (GeneratedCodeInfo_Type) String ¶ added in v2.12.0
func (x GeneratedCodeInfo_Type) String() string
func (GeneratedCodeInfo_Type) Type ¶ added in v2.12.0
func (GeneratedCodeInfo_Type) Type() protoreflect.EnumType
type MappingRule ¶ added in v2.12.0
type MappingRule struct { Type MappingRule_Type `protobuf:"varint,1,opt,name=type,proto3,enum=tensorflow.MappingRule_Type" json:"type,omitempty"` // If type == anchor_defines, this should generally be a reverse generates // edge, %/kythe/edge/generates, indicating that the specified vname generated // the source range. // If type == anchor_anchor, this should generally be a forward imputes edge, // /kythe/edge/imputes, indicating that the range in the source file produced // the text in the target file. // If semantic is not NONE, this field is ignored and the identified // declaration at the indicated text range is given the associated semantic. Edge string `protobuf:"bytes,2,opt,name=edge,proto3" json:"edge,omitempty"` // Fields only relevant if type == anchor_defines. Vname *VName `protobuf:"bytes,3,opt,name=vname,proto3" json:"vname,omitempty"` // The semantic node in the source language // which generated the text range. Begin uint32 `protobuf:"varint,4,opt,name=begin,proto3" json:"begin,omitempty"` // Beginning of the range to match in the generated text. End uint32 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` // End of the range to match in the generated text. Semantic MappingRule_Semantic `protobuf:"varint,11,opt,name=semantic,proto3,enum=tensorflow.MappingRule_Semantic" json:"semantic,omitempty"` // Fields only relevant if type == anchor_anchor. SourceVname *VName `protobuf:"bytes,6,opt,name=source_vname,json=sourceVname,proto3" json:"source_vname,omitempty"` // Anchor node in the generating source file. // Note: the signature in this vname, if present, // will typically be replaced by the target indexer // using its own anchor-construction rules based on // source_begin and source_end. SourceBegin uint32 `protobuf:"varint,7,opt,name=source_begin,json=sourceBegin,proto3" json:"source_begin,omitempty"` // loc/start of the anchor node in the source file. SourceEnd uint32 `protobuf:"varint,8,opt,name=source_end,json=sourceEnd,proto3" json:"source_end,omitempty"` // loc/end of the anchor node in the source file. TargetBegin uint32 `protobuf:"varint,9,opt,name=target_begin,json=targetBegin,proto3" json:"target_begin,omitempty"` // Start of the range in the generated text. TargetEnd uint32 `protobuf:"varint,10,opt,name=target_end,json=targetEnd,proto3" json:"target_end,omitempty"` // End of the range in the generated text. // contains filtered or unexported fields }
Metadata for a single mapping between a generated source range and a node in the source language or file.
func (*MappingRule) Descriptor
deprecated
added in
v2.12.0
func (*MappingRule) Descriptor() ([]byte, []int)
Deprecated: Use MappingRule.ProtoReflect.Descriptor instead.
func (*MappingRule) GetBegin ¶ added in v2.12.0
func (x *MappingRule) GetBegin() uint32
func (*MappingRule) GetEdge ¶ added in v2.12.0
func (x *MappingRule) GetEdge() string
func (*MappingRule) GetEnd ¶ added in v2.12.0
func (x *MappingRule) GetEnd() uint32
func (*MappingRule) GetSemantic ¶ added in v2.12.0
func (x *MappingRule) GetSemantic() MappingRule_Semantic
func (*MappingRule) GetSourceBegin ¶ added in v2.12.0
func (x *MappingRule) GetSourceBegin() uint32
func (*MappingRule) GetSourceEnd ¶ added in v2.12.0
func (x *MappingRule) GetSourceEnd() uint32
func (*MappingRule) GetSourceVname ¶ added in v2.12.0
func (x *MappingRule) GetSourceVname() *VName
func (*MappingRule) GetTargetBegin ¶ added in v2.12.0
func (x *MappingRule) GetTargetBegin() uint32
func (*MappingRule) GetTargetEnd ¶ added in v2.12.0
func (x *MappingRule) GetTargetEnd() uint32
func (*MappingRule) GetType ¶ added in v2.12.0
func (x *MappingRule) GetType() MappingRule_Type
func (*MappingRule) GetVname ¶ added in v2.12.0
func (x *MappingRule) GetVname() *VName
func (*MappingRule) ProtoMessage ¶ added in v2.12.0
func (*MappingRule) ProtoMessage()
func (*MappingRule) ProtoReflect ¶ added in v2.12.0
func (x *MappingRule) ProtoReflect() protoreflect.Message
func (*MappingRule) Reset ¶ added in v2.12.0
func (x *MappingRule) Reset()
func (*MappingRule) String ¶ added in v2.12.0
func (x *MappingRule) String() string
type MappingRule_Semantic ¶ added in v2.12.0
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 ¶ added in v2.12.0
func (MappingRule_Semantic) Descriptor() protoreflect.EnumDescriptor
func (MappingRule_Semantic) Enum ¶ added in v2.12.0
func (x MappingRule_Semantic) Enum() *MappingRule_Semantic
func (MappingRule_Semantic) EnumDescriptor
deprecated
added in
v2.12.0
func (MappingRule_Semantic) EnumDescriptor() ([]byte, []int)
Deprecated: Use MappingRule_Semantic.Descriptor instead.
func (MappingRule_Semantic) Number ¶ added in v2.12.0
func (x MappingRule_Semantic) Number() protoreflect.EnumNumber
func (MappingRule_Semantic) String ¶ added in v2.12.0
func (x MappingRule_Semantic) String() string
func (MappingRule_Semantic) Type ¶ added in v2.12.0
func (MappingRule_Semantic) Type() protoreflect.EnumType
type MappingRule_Type ¶ added in v2.12.0
type MappingRule_Type int32
const ( MappingRule_NONE MappingRule_Type = 0 MappingRule_NOP MappingRule_Type = 1 // Dummy rule that contains no relevant information. MappingRule_ANCHOR_DEFINES MappingRule_Type = 2 // Rule describing a generates edge between target // range and source definition. MappingRule_ANCHOR_ANCHOR MappingRule_Type = 3 // Rule describing an imputes edge between target range )
func (MappingRule_Type) Descriptor ¶ added in v2.12.0
func (MappingRule_Type) Descriptor() protoreflect.EnumDescriptor
func (MappingRule_Type) Enum ¶ added in v2.12.0
func (x MappingRule_Type) Enum() *MappingRule_Type
func (MappingRule_Type) EnumDescriptor
deprecated
added in
v2.12.0
func (MappingRule_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use MappingRule_Type.Descriptor instead.
func (MappingRule_Type) Number ¶ added in v2.12.0
func (x MappingRule_Type) Number() protoreflect.EnumNumber
func (MappingRule_Type) String ¶ added in v2.12.0
func (x MappingRule_Type) String() string
func (MappingRule_Type) Type ¶ added in v2.12.0
func (MappingRule_Type) Type() protoreflect.EnumType
type OpRegOffset ¶ added in v2.12.0
type OpRegOffset struct { // Name of the op. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Filepath of where the op is registered. Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // The start offset of the op registration in the file. Start uint32 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"` // The end offset of the op registration in the file. End uint32 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
OpRegOffset describes the location of an op registration (i.e. where REGISTER_OP is called).
func (*OpRegOffset) Descriptor
deprecated
added in
v2.12.0
func (*OpRegOffset) Descriptor() ([]byte, []int)
Deprecated: Use OpRegOffset.ProtoReflect.Descriptor instead.
func (*OpRegOffset) GetEnd ¶ added in v2.12.0
func (x *OpRegOffset) GetEnd() uint32
func (*OpRegOffset) GetFilepath ¶ added in v2.12.0
func (x *OpRegOffset) GetFilepath() string
func (*OpRegOffset) GetName ¶ added in v2.12.0
func (x *OpRegOffset) GetName() string
func (*OpRegOffset) GetStart ¶ added in v2.12.0
func (x *OpRegOffset) GetStart() uint32
func (*OpRegOffset) ProtoMessage ¶ added in v2.12.0
func (*OpRegOffset) ProtoMessage()
func (*OpRegOffset) ProtoReflect ¶ added in v2.12.0
func (x *OpRegOffset) ProtoReflect() protoreflect.Message
func (*OpRegOffset) Reset ¶ added in v2.12.0
func (x *OpRegOffset) Reset()
func (*OpRegOffset) String ¶ added in v2.12.0
func (x *OpRegOffset) String() string
type OpRegOffsets ¶ added in v2.12.0
type OpRegOffsets struct { Offsets []*OpRegOffset `protobuf:"bytes,1,rep,name=offsets,proto3" json:"offsets,omitempty"` // contains filtered or unexported fields }
OpRegOffsets is a collection of OpRegOffset.
func (*OpRegOffsets) Descriptor
deprecated
added in
v2.12.0
func (*OpRegOffsets) Descriptor() ([]byte, []int)
Deprecated: Use OpRegOffsets.ProtoReflect.Descriptor instead.
func (*OpRegOffsets) GetOffsets ¶ added in v2.12.0
func (x *OpRegOffsets) GetOffsets() []*OpRegOffset
func (*OpRegOffsets) ProtoMessage ¶ added in v2.12.0
func (*OpRegOffsets) ProtoMessage()
func (*OpRegOffsets) ProtoReflect ¶ added in v2.12.0
func (x *OpRegOffsets) ProtoReflect() protoreflect.Message
func (*OpRegOffsets) Reset ¶ added in v2.12.0
func (x *OpRegOffsets) Reset()
func (*OpRegOffsets) String ¶ added in v2.12.0
func (x *OpRegOffsets) String() string
type VName ¶ added in v2.12.0
type VName struct { // A language-specific signature assigned by the analyzer. // e.g., "com.google.common.collect.Lists.newLinkedList<#1>()" Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // The corpus this name belongs to. // e.g., "kythe", "chromium", "github.com/creachadair/imath", "aosp" // The corpus label "kythe" is reserved for internal use. Corpus string `protobuf:"bytes,2,opt,name=corpus,proto3" json:"corpus,omitempty"` // A corpus-specific root label, designating a subordinate collection within // the corpus. If a corpus stores files in unrelated directory structures, // for example, the root can be used to distinguish them. Or, if a corpus // incorporates subprojects, the root can be a project ID that it governs. // This may also be used to distinguish virtual subgroups of a corpus such as // generated files. Root string `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` // A path-structured label describing the location of this object relative to // the corpus and the root. For code, this will generally be the relative // path to the file containing the code, e.g., "storage/service.go" in kythe. // The individual elements of the path are separated by "/". // The path must not start with "/". // The path must be normalized to a canonical form (with no path // elements "", ".", or ".."). // // However, this need not be a true file path; virtual objects like figments // can assign an ad-hoc abstract ID, or omit it entirely. // // Examples: // // "devools/kythe/platform/go/datastore.go" (a file) // "type/cpp/void.cc" (a type figment) Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // The language this name belongs to. // e.g., "c++", "python", "elisp", "haskell", "java" // // The schema will define specific labels for each supported language, so we // don't wind up with a confusion of names like "cxx", "cpp", "C++", etc. // Prototype: Official language name converted to lowercase. If a version // number is necessary, include it, e.g., "python3". Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*VName) Descriptor
deprecated
added in
v2.12.0
func (*VName) GetLanguage ¶ added in v2.12.0
func (*VName) GetSignature ¶ added in v2.12.0
func (*VName) ProtoMessage ¶ added in v2.12.0
func (*VName) ProtoMessage()
func (*VName) ProtoReflect ¶ added in v2.12.0
func (x *VName) ProtoReflect() protoreflect.Message