proto

package
v0.0.0-...-4b0f3de Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_proto_dbc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DecodedSignal

type DecodedSignal struct {
	MessageName string `protobuf:"bytes,1,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to Raw:
	//
	//	*DecodedSignal_RawU
	//	*DecodedSignal_RawS
	//	*DecodedSignal_RawF
	//	*DecodedSignal_RawB
	//	*DecodedSignal_RawBytes
	Raw         isDecodedSignal_Raw    `protobuf_oneof:"raw"`
	Physical    *float64               `protobuf:"fixed64,8,opt,name=physical,proto3,oneof" json:"physical,omitempty"`
	Description string                 `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	Signal      *Signal                `protobuf:"bytes,10,opt,name=signal,proto3" json:"signal,omitempty"`
	Timestamp   *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	CanId       uint32                 `protobuf:"varint,12,opt,name=can_id,json=canId,proto3" json:"can_id,omitempty"`
	IsExtended  bool                   `protobuf:"varint,13,opt,name=is_extended,json=isExtended,proto3" json:"is_extended,omitempty"`
	FrameBytes  []byte                 `protobuf:"bytes,14,opt,name=frame_bytes,json=frameBytes,proto3" json:"frame_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodedSignal) Descriptor deprecated

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

Deprecated: Use DecodedSignal.ProtoReflect.Descriptor instead.

func (*DecodedSignal) GetCanId

func (x *DecodedSignal) GetCanId() uint32

func (*DecodedSignal) GetDescription

func (x *DecodedSignal) GetDescription() string

func (*DecodedSignal) GetFrameBytes

func (x *DecodedSignal) GetFrameBytes() []byte

func (*DecodedSignal) GetIsExtended

func (x *DecodedSignal) GetIsExtended() bool

func (*DecodedSignal) GetMessageName

func (x *DecodedSignal) GetMessageName() string

func (*DecodedSignal) GetName

func (x *DecodedSignal) GetName() string

func (*DecodedSignal) GetPhysical

func (x *DecodedSignal) GetPhysical() float64

func (*DecodedSignal) GetRaw

func (x *DecodedSignal) GetRaw() isDecodedSignal_Raw

func (*DecodedSignal) GetRawB

func (x *DecodedSignal) GetRawB() bool

func (*DecodedSignal) GetRawBytes

func (x *DecodedSignal) GetRawBytes() []byte

func (*DecodedSignal) GetRawF

func (x *DecodedSignal) GetRawF() float64

func (*DecodedSignal) GetRawS

func (x *DecodedSignal) GetRawS() int64

func (*DecodedSignal) GetRawU

func (x *DecodedSignal) GetRawU() uint64

func (*DecodedSignal) GetSignal

func (x *DecodedSignal) GetSignal() *Signal

func (*DecodedSignal) GetTimestamp

func (x *DecodedSignal) GetTimestamp() *timestamppb.Timestamp

func (*DecodedSignal) ProtoMessage

func (*DecodedSignal) ProtoMessage()

func (*DecodedSignal) ProtoReflect

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

func (*DecodedSignal) Reset

func (x *DecodedSignal) Reset()

func (*DecodedSignal) String

func (x *DecodedSignal) String() string

type DecodedSignal_RawB

type DecodedSignal_RawB struct {
	RawB bool `protobuf:"varint,6,opt,name=raw_b,json=rawB,proto3,oneof"`
}

type DecodedSignal_RawBytes

type DecodedSignal_RawBytes struct {
	RawBytes []byte `protobuf:"bytes,7,opt,name=raw_bytes,json=rawBytes,proto3,oneof"`
}

type DecodedSignal_RawF

type DecodedSignal_RawF struct {
	RawF float64 `protobuf:"fixed64,5,opt,name=raw_f,json=rawF,proto3,oneof"`
}

type DecodedSignal_RawS

type DecodedSignal_RawS struct {
	RawS int64 `protobuf:"zigzag64,4,opt,name=raw_s,json=rawS,proto3,oneof"`
}

type DecodedSignal_RawU

type DecodedSignal_RawU struct {
	RawU uint64 `protobuf:"varint,3,opt,name=raw_u,json=rawU,proto3,oneof"`
}

type Signal

type Signal struct {
	Name              string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Start             uint32              `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	Length            uint32              `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
	IsBigEndian       bool                `protobuf:"varint,4,opt,name=is_big_endian,json=isBigEndian,proto3" json:"is_big_endian,omitempty"`
	IsSigned          bool                `protobuf:"varint,5,opt,name=is_signed,json=isSigned,proto3" json:"is_signed,omitempty"`
	IsFloat           bool                `protobuf:"varint,6,opt,name=is_float,json=isFloat,proto3" json:"is_float,omitempty"`
	IsMultiplexer     bool                `protobuf:"varint,7,opt,name=is_multiplexer,json=isMultiplexer,proto3" json:"is_multiplexer,omitempty"`
	IsMultiplexed     bool                `protobuf:"varint,8,opt,name=is_multiplexed,json=isMultiplexed,proto3" json:"is_multiplexed,omitempty"`
	MultiplexerValue  uint32              `protobuf:"varint,9,opt,name=multiplexer_value,json=multiplexerValue,proto3" json:"multiplexer_value,omitempty"`
	Offset            float64             `protobuf:"fixed64,10,opt,name=offset,proto3" json:"offset,omitempty"`
	Scale             float64             `protobuf:"fixed64,11,opt,name=scale,proto3" json:"scale,omitempty"`
	Min               float64             `protobuf:"fixed64,12,opt,name=min,proto3" json:"min,omitempty"`
	Max               float64             `protobuf:"fixed64,13,opt,name=max,proto3" json:"max,omitempty"`
	Unit              string              `protobuf:"bytes,14,opt,name=unit,proto3" json:"unit,omitempty"`
	Description       string              `protobuf:"bytes,15,opt,name=description,proto3" json:"description,omitempty"`
	ValueDescriptions []*ValueDescription `protobuf:"bytes,16,rep,name=value_descriptions,json=valueDescriptions,proto3" json:"value_descriptions,omitempty"`
	ReceiverNodes     []string            `protobuf:"bytes,17,rep,name=receiver_nodes,json=receiverNodes,proto3" json:"receiver_nodes,omitempty"`
	DefaultValue      int32               `protobuf:"varint,18,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	SourceFile        string              `protobuf:"bytes,19,opt,name=source_file,json=sourceFile,proto3" json:"source_file,omitempty"`
	// contains filtered or unexported fields
}

func (*Signal) Descriptor deprecated

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

Deprecated: Use Signal.ProtoReflect.Descriptor instead.

func (*Signal) GetDefaultValue

func (x *Signal) GetDefaultValue() int32

func (*Signal) GetDescription

func (x *Signal) GetDescription() string

func (*Signal) GetIsBigEndian

func (x *Signal) GetIsBigEndian() bool

func (*Signal) GetIsFloat

func (x *Signal) GetIsFloat() bool

func (*Signal) GetIsMultiplexed

func (x *Signal) GetIsMultiplexed() bool

func (*Signal) GetIsMultiplexer

func (x *Signal) GetIsMultiplexer() bool

func (*Signal) GetIsSigned

func (x *Signal) GetIsSigned() bool

func (*Signal) GetLength

func (x *Signal) GetLength() uint32

func (*Signal) GetMax

func (x *Signal) GetMax() float64

func (*Signal) GetMin

func (x *Signal) GetMin() float64

func (*Signal) GetMultiplexerValue

func (x *Signal) GetMultiplexerValue() uint32

func (*Signal) GetName

func (x *Signal) GetName() string

func (*Signal) GetOffset

func (x *Signal) GetOffset() float64

func (*Signal) GetReceiverNodes

func (x *Signal) GetReceiverNodes() []string

func (*Signal) GetScale

func (x *Signal) GetScale() float64

func (*Signal) GetSourceFile

func (x *Signal) GetSourceFile() string

func (*Signal) GetStart

func (x *Signal) GetStart() uint32

func (*Signal) GetUnit

func (x *Signal) GetUnit() string

func (*Signal) GetValueDescriptions

func (x *Signal) GetValueDescriptions() []*ValueDescription

func (*Signal) ProtoMessage

func (*Signal) ProtoMessage()

func (*Signal) ProtoReflect

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

func (*Signal) Reset

func (x *Signal) Reset()

func (*Signal) String

func (x *Signal) String() string

type ValueDescription

type ValueDescription struct {
	Value       int64  `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ValueDescription) Descriptor deprecated

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

Deprecated: Use ValueDescription.ProtoReflect.Descriptor instead.

func (*ValueDescription) GetDescription

func (x *ValueDescription) GetDescription() string

func (*ValueDescription) GetValue

func (x *ValueDescription) GetValue() int64

func (*ValueDescription) ProtoMessage

func (*ValueDescription) ProtoMessage()

func (*ValueDescription) ProtoReflect

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

func (*ValueDescription) Reset

func (x *ValueDescription) Reset()

func (*ValueDescription) String

func (x *ValueDescription) String() string

Jump to

Keyboard shortcuts

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