Documentation ¶
Index ¶
- Variables
- type ObjectType
- type WellKnownTypeCode
- func (WellKnownTypeCode) Descriptor() protoreflect.EnumDescriptor
- func (x WellKnownTypeCode) Enum() *WellKnownTypeCode
- func (WellKnownTypeCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x WellKnownTypeCode) Number() protoreflect.EnumNumber
- func (x WellKnownTypeCode) String() string
- func (WellKnownTypeCode) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WellKnownTypeCode_name = map[int32]string{ 0: "WellKnownTypeCode_Unknown", 1: "WellKnownTypeCode_ObjectType", } WellKnownTypeCode_value = map[string]int32{ "WellKnownTypeCode_Unknown": 0, "WellKnownTypeCode_ObjectType": 1, } )
Enum value maps for WellKnownTypeCode.
View Source
var File_pkg_otel_otlptracefile_pb_file_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ObjectType ¶
type ObjectType struct { TypeCode uint32 `protobuf:"varint,1,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"` TypeName string `protobuf:"bytes,2,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` // contains filtered or unexported fields }
ObjectType is used to identify the type of objects in the file. Each object has a header, and there is a type_code value in the header. Before an object is written, the type information must have been recorded with an ObjectType record.
func (*ObjectType) Descriptor
deprecated
func (*ObjectType) Descriptor() ([]byte, []int)
Deprecated: Use ObjectType.ProtoReflect.Descriptor instead.
func (*ObjectType) GetTypeCode ¶
func (x *ObjectType) GetTypeCode() uint32
func (*ObjectType) GetTypeName ¶
func (x *ObjectType) GetTypeName() string
func (*ObjectType) ProtoMessage ¶
func (*ObjectType) ProtoMessage()
func (*ObjectType) ProtoReflect ¶
func (x *ObjectType) ProtoReflect() protoreflect.Message
func (*ObjectType) Reset ¶
func (x *ObjectType) Reset()
func (*ObjectType) String ¶
func (x *ObjectType) String() string
type WellKnownTypeCode ¶
type WellKnownTypeCode int32
const ( WellKnownTypeCode_WellKnownTypeCode_Unknown WellKnownTypeCode = 0 WellKnownTypeCode_WellKnownTypeCode_ObjectType WellKnownTypeCode = 1 )
func (WellKnownTypeCode) Descriptor ¶
func (WellKnownTypeCode) Descriptor() protoreflect.EnumDescriptor
func (WellKnownTypeCode) Enum ¶
func (x WellKnownTypeCode) Enum() *WellKnownTypeCode
func (WellKnownTypeCode) EnumDescriptor
deprecated
func (WellKnownTypeCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use WellKnownTypeCode.Descriptor instead.
func (WellKnownTypeCode) Number ¶
func (x WellKnownTypeCode) Number() protoreflect.EnumNumber
func (WellKnownTypeCode) String ¶
func (x WellKnownTypeCode) String() string
func (WellKnownTypeCode) Type ¶
func (WellKnownTypeCode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.