Documentation ¶
Index ¶
- Variables
- type Car
- func (*Car) Descriptor() ([]byte, []int)deprecated
- func (x *Car) GetBest() *TimeWithMarker
- func (x *Car) GetCarIdx() int32
- func (x *Car) GetDist() float32
- func (x *Car) GetGap() float32
- func (x *Car) GetInterval() float32
- func (x *Car) GetLap() int32
- func (x *Car) GetLast() *TimeWithMarker
- func (x *Car) GetLc() int32
- func (x *Car) GetPic() int32
- func (x *Car) GetPitstops() uint32
- func (x *Car) GetPos() int32
- func (x *Car) GetSectors() []*TimeWithMarker
- func (x *Car) GetSpeed() float32
- func (x *Car) GetState() CarState
- func (x *Car) GetStintLap() uint32
- func (x *Car) GetTireCompound() *TireCompound
- func (x *Car) GetTrackPos() float32
- func (*Car) ProtoMessage()
- func (x *Car) ProtoReflect() protoreflect.Message
- func (x *Car) Reset()
- func (x *Car) String() string
- type CarState
- type GetDriverDataRequest
- func (*GetDriverDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDriverDataRequest) GetEvent() *v1.EventSelector
- func (x *GetDriverDataRequest) GetNum() int32
- func (x *GetDriverDataRequest) GetStart() *timestamppb.Timestamp
- func (*GetDriverDataRequest) ProtoMessage()
- func (x *GetDriverDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetDriverDataRequest) Reset()
- func (x *GetDriverDataRequest) String() string
- type GetDriverDataResponse
- func (*GetDriverDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDriverDataResponse) GetDriverData() []*PublishDriverDataRequest
- func (x *GetDriverDataResponse) GetLastTs() *timestamppb.Timestamp
- func (*GetDriverDataResponse) ProtoMessage()
- func (x *GetDriverDataResponse) ProtoReflect() protoreflect.Message
- func (x *GetDriverDataResponse) Reset()
- func (x *GetDriverDataResponse) String() string
- type GetSpeedmapsRequest
- func (*GetSpeedmapsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpeedmapsRequest) GetEvent() *v1.EventSelector
- func (x *GetSpeedmapsRequest) GetNum() int32
- func (x *GetSpeedmapsRequest) GetStart() *timestamppb.Timestamp
- func (*GetSpeedmapsRequest) ProtoMessage()
- func (x *GetSpeedmapsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSpeedmapsRequest) Reset()
- func (x *GetSpeedmapsRequest) String() string
- type GetSpeedmapsResponse
- func (*GetSpeedmapsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpeedmapsResponse) GetLastTs() *timestamppb.Timestamp
- func (x *GetSpeedmapsResponse) GetSpeedmaps() []*PublishSpeedmapRequest
- func (*GetSpeedmapsResponse) ProtoMessage()
- func (x *GetSpeedmapsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSpeedmapsResponse) Reset()
- func (x *GetSpeedmapsResponse) String() string
- type GetStatesRequest
- func (*GetStatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatesRequest) GetEvent() *v1.EventSelector
- func (x *GetStatesRequest) GetNum() int32
- func (x *GetStatesRequest) GetStart() *timestamppb.Timestamp
- func (*GetStatesRequest) ProtoMessage()
- func (x *GetStatesRequest) ProtoReflect() protoreflect.Message
- func (x *GetStatesRequest) Reset()
- func (x *GetStatesRequest) String() string
- type GetStatesResponse
- func (*GetStatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatesResponse) GetLastTs() *timestamppb.Timestamp
- func (x *GetStatesResponse) GetStates() []*PublishStateRequest
- func (*GetStatesResponse) ProtoMessage()
- func (x *GetStatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetStatesResponse) Reset()
- func (x *GetStatesResponse) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetCarClass() string
- func (x *Message) GetCarIdx() uint32
- func (x *Message) GetCarNum() string
- func (x *Message) GetMsg() string
- func (x *Message) GetSubType() MessageSubType
- func (x *Message) GetType() MessageType
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageContainer
- func (*MessageContainer) Descriptor() ([]byte, []int)deprecated
- func (x *MessageContainer) GetMessage() *Message
- func (x *MessageContainer) GetSessionTime() float32
- func (x *MessageContainer) GetTimestamp() *timestamppb.Timestamp
- func (*MessageContainer) ProtoMessage()
- func (x *MessageContainer) ProtoReflect() protoreflect.Message
- func (x *MessageContainer) Reset()
- func (x *MessageContainer) String() string
- type MessageSubType
- func (MessageSubType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageSubType) Enum() *MessageSubType
- func (MessageSubType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageSubType) Number() protoreflect.EnumNumber
- func (x MessageSubType) String() string
- func (MessageSubType) Type() protoreflect.EnumType
- type MessageType
- func (MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageType) Enum() *MessageType
- func (MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageType) Number() protoreflect.EnumNumber
- func (x MessageType) String() string
- func (MessageType) Type() protoreflect.EnumType
- type PublishDriverDataRequest
- func (*PublishDriverDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishDriverDataRequest) GetCarClasses() []*v12.CarClass
- func (x *PublishDriverDataRequest) GetCars() []*v12.CarInfo
- func (x *PublishDriverDataRequest) GetCurrentDrivers() map[uint32]string
- func (x *PublishDriverDataRequest) GetEntries() []*v12.CarEntry
- func (x *PublishDriverDataRequest) GetEvent() *v1.EventSelector
- func (x *PublishDriverDataRequest) GetSessionTime() float32
- func (x *PublishDriverDataRequest) GetTimestamp() *timestamppb.Timestamp
- func (*PublishDriverDataRequest) ProtoMessage()
- func (x *PublishDriverDataRequest) ProtoReflect() protoreflect.Message
- func (x *PublishDriverDataRequest) Reset()
- func (x *PublishDriverDataRequest) String() string
- type PublishDriverDataResponse
- type PublishEventExtraInfoRequest
- func (*PublishEventExtraInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishEventExtraInfoRequest) GetEvent() *v1.EventSelector
- func (x *PublishEventExtraInfoRequest) GetPitInfo() *v13.PitInfo
- func (x *PublishEventExtraInfoRequest) GetTimestamp() *timestamppb.Timestamp
- func (*PublishEventExtraInfoRequest) ProtoMessage()
- func (x *PublishEventExtraInfoRequest) ProtoReflect() protoreflect.Message
- func (x *PublishEventExtraInfoRequest) Reset()
- func (x *PublishEventExtraInfoRequest) String() string
- type PublishEventExtraInfoResponse
- func (*PublishEventExtraInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (*PublishEventExtraInfoResponse) ProtoMessage()
- func (x *PublishEventExtraInfoResponse) ProtoReflect() protoreflect.Message
- func (x *PublishEventExtraInfoResponse) Reset()
- func (x *PublishEventExtraInfoResponse) String() string
- type PublishSpeedmapRequest
- func (*PublishSpeedmapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishSpeedmapRequest) GetEvent() *v1.EventSelector
- func (x *PublishSpeedmapRequest) GetSpeedmap() *v11.Speedmap
- func (x *PublishSpeedmapRequest) GetTimestamp() *timestamppb.Timestamp
- func (*PublishSpeedmapRequest) ProtoMessage()
- func (x *PublishSpeedmapRequest) ProtoReflect() protoreflect.Message
- func (x *PublishSpeedmapRequest) Reset()
- func (x *PublishSpeedmapRequest) String() string
- type PublishSpeedmapResponse
- type PublishStateRequest
- func (*PublishStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishStateRequest) GetCars() []*Car
- func (x *PublishStateRequest) GetEvent() *v1.EventSelector
- func (x *PublishStateRequest) GetMessages() []*Message
- func (x *PublishStateRequest) GetSession() *Session
- func (x *PublishStateRequest) GetTimestamp() *timestamppb.Timestamp
- func (*PublishStateRequest) ProtoMessage()
- func (x *PublishStateRequest) ProtoReflect() protoreflect.Message
- func (x *PublishStateRequest) Reset()
- func (x *PublishStateRequest) String() string
- type PublishStateResponse
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetAirDensity() float32
- func (x *Session) GetAirPressure() float32
- func (x *Session) GetAirTemp() float32
- func (x *Session) GetFlagState() string
- func (x *Session) GetLapsRemain() int32
- func (x *Session) GetPrecipitation() float32
- func (x *Session) GetSessionFlagsRaw() uint32
- func (x *Session) GetSessionNum() uint32
- func (x *Session) GetSessionStateRaw() int32
- func (x *Session) GetSessionTime() float32
- func (x *Session) GetTimeOfDay() uint32
- func (x *Session) GetTimeRemain() float32
- func (x *Session) GetTrackTemp() float32
- func (x *Session) GetTrackWetness() v1.TrackWetness
- func (x *Session) GetWindDir() float32
- func (x *Session) GetWindVel() float32
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type StateContainer
- func (*StateContainer) Descriptor() ([]byte, []int)deprecated
- func (x *StateContainer) GetCars() []*Car
- func (x *StateContainer) GetMessages() []*MessageContainer
- func (x *StateContainer) GetSession() *Session
- func (*StateContainer) ProtoMessage()
- func (x *StateContainer) ProtoReflect() protoreflect.Message
- func (x *StateContainer) Reset()
- func (x *StateContainer) String() string
- type TimeMarker
- type TimeWithMarker
- func (*TimeWithMarker) Descriptor() ([]byte, []int)deprecated
- func (x *TimeWithMarker) GetMarker() TimeMarker
- func (x *TimeWithMarker) GetTime() float32
- func (*TimeWithMarker) ProtoMessage()
- func (x *TimeWithMarker) ProtoReflect() protoreflect.Message
- func (x *TimeWithMarker) Reset()
- func (x *TimeWithMarker) String() string
- type TireCompound
Constants ¶
This section is empty.
Variables ¶
var ( TimeMarker_name = map[int32]string{ 0: "TIME_MARKER_UNSPECIFIED", 1: "TIME_MARKER_OVERALL_BEST", 2: "TIME_MARKER_CLASS_BEST", 3: "TIME_MARKER_CAR_BEST", 4: "TIME_MARKER_PERSONAL_BEST", 5: "TIME_MARKER_OLD_VALUE", } TimeMarker_value = map[string]int32{ "TIME_MARKER_UNSPECIFIED": 0, "TIME_MARKER_OVERALL_BEST": 1, "TIME_MARKER_CLASS_BEST": 2, "TIME_MARKER_CAR_BEST": 3, "TIME_MARKER_PERSONAL_BEST": 4, "TIME_MARKER_OLD_VALUE": 5, } )
Enum value maps for TimeMarker.
var ( CarState_name = map[int32]string{ 0: "CAR_STATE_UNSPECIFIED", 1: "CAR_STATE_INIT", 2: "CAR_STATE_RUN", 3: "CAR_STATE_PIT", 4: "CAR_STATE_SLOW", 5: "CAR_STATE_FIN", 6: "CAR_STATE_OUT", } CarState_value = map[string]int32{ "CAR_STATE_UNSPECIFIED": 0, "CAR_STATE_INIT": 1, "CAR_STATE_RUN": 2, "CAR_STATE_PIT": 3, "CAR_STATE_SLOW": 4, "CAR_STATE_FIN": 5, "CAR_STATE_OUT": 6, } )
Enum value maps for CarState.
var ( MessageType_name = map[int32]string{ 0: "MESSAGE_TYPE_UNSPECIFIED", 1: "MESSAGE_TYPE_PITS", 2: "MESSAGE_TYPE_TIMING", } MessageType_value = map[string]int32{ "MESSAGE_TYPE_UNSPECIFIED": 0, "MESSAGE_TYPE_PITS": 1, "MESSAGE_TYPE_TIMING": 2, } )
Enum value maps for MessageType.
var ( MessageSubType_name = map[int32]string{ 0: "MESSAGE_SUB_TYPE_UNSPECIFIED", 1: "MESSAGE_SUB_TYPE_DRIVER", 2: "MESSAGE_SUB_TYPE_RACE_CONTROL", } MessageSubType_value = map[string]int32{ "MESSAGE_SUB_TYPE_UNSPECIFIED": 0, "MESSAGE_SUB_TYPE_DRIVER": 1, "MESSAGE_SUB_TYPE_RACE_CONTROL": 2, } )
Enum value maps for MessageSubType.
var File_testrepo_racestate_v1_racestate_proto protoreflect.FileDescriptor
var File_testrepo_racestate_v1_racestate_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Car ¶
type Car struct { CarIdx int32 `protobuf:"varint,1,opt,name=car_idx,json=carIdx,proto3" json:"car_idx,omitempty"` State CarState `protobuf:"varint,2,opt,name=state,proto3,enum=testrepo.racestate.v1.CarState" json:"state,omitempty"` Pos int32 `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"` Pic int32 `protobuf:"varint,4,opt,name=pic,proto3" json:"pic,omitempty"` Lap int32 `protobuf:"varint,5,opt,name=lap,proto3" json:"lap,omitempty"` Lc int32 `protobuf:"varint,6,opt,name=lc,proto3" json:"lc,omitempty"` TrackPos float32 `protobuf:"fixed32,7,opt,name=track_pos,json=trackPos,proto3" json:"track_pos,omitempty"` Pitstops uint32 `protobuf:"varint,8,opt,name=pitstops,proto3" json:"pitstops,omitempty"` StintLap uint32 `protobuf:"varint,9,opt,name=stint_lap,json=stintLap,proto3" json:"stint_lap,omitempty"` Speed float32 `protobuf:"fixed32,10,opt,name=speed,proto3" json:"speed,omitempty"` Dist float32 `protobuf:"fixed32,11,opt,name=dist,proto3" json:"dist,omitempty"` Interval float32 `protobuf:"fixed32,12,opt,name=interval,proto3" json:"interval,omitempty"` Gap float32 `protobuf:"fixed32,13,opt,name=gap,proto3" json:"gap,omitempty"` TireCompound *TireCompound `protobuf:"bytes,14,opt,name=tire_compound,json=tireCompound,proto3" json:"tire_compound,omitempty"` Last *TimeWithMarker `protobuf:"bytes,15,opt,name=last,proto3" json:"last,omitempty"` Best *TimeWithMarker `protobuf:"bytes,16,opt,name=best,proto3" json:"best,omitempty"` Sectors []*TimeWithMarker `protobuf:"bytes,17,rep,name=sectors,proto3" json:"sectors,omitempty"` // contains filtered or unexported fields }
func (*Car) GetBest ¶
func (x *Car) GetBest() *TimeWithMarker
func (*Car) GetLast ¶
func (x *Car) GetLast() *TimeWithMarker
func (*Car) GetSectors ¶
func (x *Car) GetSectors() []*TimeWithMarker
func (*Car) GetTireCompound ¶
func (x *Car) GetTireCompound() *TireCompound
func (*Car) ProtoReflect ¶
func (x *Car) ProtoReflect() protoreflect.Message
type CarState ¶
type CarState int32
func (CarState) Descriptor ¶
func (CarState) Descriptor() protoreflect.EnumDescriptor
func (CarState) Number ¶
func (x CarState) Number() protoreflect.EnumNumber
func (CarState) Type ¶
func (CarState) Type() protoreflect.EnumType
type GetDriverDataRequest ¶
type GetDriverDataRequest struct { Event *v1.EventSelector `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` Num int32 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*GetDriverDataRequest) Descriptor
deprecated
func (*GetDriverDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDriverDataRequest.ProtoReflect.Descriptor instead.
func (*GetDriverDataRequest) GetEvent ¶
func (x *GetDriverDataRequest) GetEvent() *v1.EventSelector
func (*GetDriverDataRequest) GetNum ¶
func (x *GetDriverDataRequest) GetNum() int32
func (*GetDriverDataRequest) GetStart ¶
func (x *GetDriverDataRequest) GetStart() *timestamppb.Timestamp
func (*GetDriverDataRequest) ProtoMessage ¶
func (*GetDriverDataRequest) ProtoMessage()
func (*GetDriverDataRequest) ProtoReflect ¶
func (x *GetDriverDataRequest) ProtoReflect() protoreflect.Message
func (*GetDriverDataRequest) Reset ¶
func (x *GetDriverDataRequest) Reset()
func (*GetDriverDataRequest) String ¶
func (x *GetDriverDataRequest) String() string
type GetDriverDataResponse ¶
type GetDriverDataResponse struct { DriverData []*PublishDriverDataRequest `protobuf:"bytes,1,rep,name=driver_data,json=driverData,proto3" json:"driver_data,omitempty"` LastTs *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_ts,json=lastTs,proto3" json:"last_ts,omitempty"` // contains filtered or unexported fields }
func (*GetDriverDataResponse) Descriptor
deprecated
func (*GetDriverDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDriverDataResponse.ProtoReflect.Descriptor instead.
func (*GetDriverDataResponse) GetDriverData ¶
func (x *GetDriverDataResponse) GetDriverData() []*PublishDriverDataRequest
func (*GetDriverDataResponse) GetLastTs ¶
func (x *GetDriverDataResponse) GetLastTs() *timestamppb.Timestamp
func (*GetDriverDataResponse) ProtoMessage ¶
func (*GetDriverDataResponse) ProtoMessage()
func (*GetDriverDataResponse) ProtoReflect ¶
func (x *GetDriverDataResponse) ProtoReflect() protoreflect.Message
func (*GetDriverDataResponse) Reset ¶
func (x *GetDriverDataResponse) Reset()
func (*GetDriverDataResponse) String ¶
func (x *GetDriverDataResponse) String() string
type GetSpeedmapsRequest ¶
type GetSpeedmapsRequest struct { Event *v1.EventSelector `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` Num int32 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*GetSpeedmapsRequest) Descriptor
deprecated
func (*GetSpeedmapsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSpeedmapsRequest.ProtoReflect.Descriptor instead.
func (*GetSpeedmapsRequest) GetEvent ¶
func (x *GetSpeedmapsRequest) GetEvent() *v1.EventSelector
func (*GetSpeedmapsRequest) GetNum ¶
func (x *GetSpeedmapsRequest) GetNum() int32
func (*GetSpeedmapsRequest) GetStart ¶
func (x *GetSpeedmapsRequest) GetStart() *timestamppb.Timestamp
func (*GetSpeedmapsRequest) ProtoMessage ¶
func (*GetSpeedmapsRequest) ProtoMessage()
func (*GetSpeedmapsRequest) ProtoReflect ¶
func (x *GetSpeedmapsRequest) ProtoReflect() protoreflect.Message
func (*GetSpeedmapsRequest) Reset ¶
func (x *GetSpeedmapsRequest) Reset()
func (*GetSpeedmapsRequest) String ¶
func (x *GetSpeedmapsRequest) String() string
type GetSpeedmapsResponse ¶
type GetSpeedmapsResponse struct { Speedmaps []*PublishSpeedmapRequest `protobuf:"bytes,1,rep,name=speedmaps,proto3" json:"speedmaps,omitempty"` LastTs *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_ts,json=lastTs,proto3" json:"last_ts,omitempty"` // contains filtered or unexported fields }
func (*GetSpeedmapsResponse) Descriptor
deprecated
func (*GetSpeedmapsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSpeedmapsResponse.ProtoReflect.Descriptor instead.
func (*GetSpeedmapsResponse) GetLastTs ¶
func (x *GetSpeedmapsResponse) GetLastTs() *timestamppb.Timestamp
func (*GetSpeedmapsResponse) GetSpeedmaps ¶
func (x *GetSpeedmapsResponse) GetSpeedmaps() []*PublishSpeedmapRequest
func (*GetSpeedmapsResponse) ProtoMessage ¶
func (*GetSpeedmapsResponse) ProtoMessage()
func (*GetSpeedmapsResponse) ProtoReflect ¶
func (x *GetSpeedmapsResponse) ProtoReflect() protoreflect.Message
func (*GetSpeedmapsResponse) Reset ¶
func (x *GetSpeedmapsResponse) Reset()
func (*GetSpeedmapsResponse) String ¶
func (x *GetSpeedmapsResponse) String() string
type GetStatesRequest ¶
type GetStatesRequest struct { Event *v1.EventSelector `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` Num int32 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*GetStatesRequest) Descriptor
deprecated
func (*GetStatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStatesRequest.ProtoReflect.Descriptor instead.
func (*GetStatesRequest) GetEvent ¶
func (x *GetStatesRequest) GetEvent() *v1.EventSelector
func (*GetStatesRequest) GetNum ¶
func (x *GetStatesRequest) GetNum() int32
func (*GetStatesRequest) GetStart ¶
func (x *GetStatesRequest) GetStart() *timestamppb.Timestamp
func (*GetStatesRequest) ProtoMessage ¶
func (*GetStatesRequest) ProtoMessage()
func (*GetStatesRequest) ProtoReflect ¶
func (x *GetStatesRequest) ProtoReflect() protoreflect.Message
func (*GetStatesRequest) Reset ¶
func (x *GetStatesRequest) Reset()
func (*GetStatesRequest) String ¶
func (x *GetStatesRequest) String() string
type GetStatesResponse ¶
type GetStatesResponse struct { States []*PublishStateRequest `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"` LastTs *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_ts,json=lastTs,proto3" json:"last_ts,omitempty"` // contains filtered or unexported fields }
func (*GetStatesResponse) Descriptor
deprecated
func (*GetStatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStatesResponse.ProtoReflect.Descriptor instead.
func (*GetStatesResponse) GetLastTs ¶
func (x *GetStatesResponse) GetLastTs() *timestamppb.Timestamp
func (*GetStatesResponse) GetStates ¶
func (x *GetStatesResponse) GetStates() []*PublishStateRequest
func (*GetStatesResponse) ProtoMessage ¶
func (*GetStatesResponse) ProtoMessage()
func (*GetStatesResponse) ProtoReflect ¶
func (x *GetStatesResponse) ProtoReflect() protoreflect.Message
func (*GetStatesResponse) Reset ¶
func (x *GetStatesResponse) Reset()
func (*GetStatesResponse) String ¶
func (x *GetStatesResponse) String() string
type Message ¶
type Message struct { Type MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=testrepo.racestate.v1.MessageType" json:"type,omitempty"` SubType MessageSubType `protobuf:"varint,2,opt,name=sub_type,json=subType,proto3,enum=testrepo.racestate.v1.MessageSubType" json:"sub_type,omitempty"` CarIdx uint32 `protobuf:"varint,3,opt,name=car_idx,json=carIdx,proto3" json:"car_idx,omitempty"` CarNum string `protobuf:"bytes,4,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` CarClass string `protobuf:"bytes,5,opt,name=car_class,json=carClass,proto3" json:"car_class,omitempty"` Msg string `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Message) GetSubType ¶
func (x *Message) GetSubType() MessageSubType
func (*Message) GetType ¶
func (x *Message) GetType() MessageType
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageContainer ¶
type MessageContainer struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` SessionTime float32 `protobuf:"fixed32,2,opt,name=session_time,json=sessionTime,proto3" json:"session_time,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*MessageContainer) Descriptor
deprecated
func (*MessageContainer) Descriptor() ([]byte, []int)
Deprecated: Use MessageContainer.ProtoReflect.Descriptor instead.
func (*MessageContainer) GetMessage ¶
func (x *MessageContainer) GetMessage() *Message
func (*MessageContainer) GetSessionTime ¶
func (x *MessageContainer) GetSessionTime() float32
func (*MessageContainer) GetTimestamp ¶
func (x *MessageContainer) GetTimestamp() *timestamppb.Timestamp
func (*MessageContainer) ProtoMessage ¶
func (*MessageContainer) ProtoMessage()
func (*MessageContainer) ProtoReflect ¶
func (x *MessageContainer) ProtoReflect() protoreflect.Message
func (*MessageContainer) Reset ¶
func (x *MessageContainer) Reset()
func (*MessageContainer) String ¶
func (x *MessageContainer) String() string
type MessageSubType ¶
type MessageSubType int32
const ( MessageSubType_MESSAGE_SUB_TYPE_UNSPECIFIED MessageSubType = 0 MessageSubType_MESSAGE_SUB_TYPE_DRIVER MessageSubType = 1 MessageSubType_MESSAGE_SUB_TYPE_RACE_CONTROL MessageSubType = 2 )
func (MessageSubType) Descriptor ¶
func (MessageSubType) Descriptor() protoreflect.EnumDescriptor
func (MessageSubType) Enum ¶
func (x MessageSubType) Enum() *MessageSubType
func (MessageSubType) EnumDescriptor
deprecated
func (MessageSubType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageSubType.Descriptor instead.
func (MessageSubType) Number ¶
func (x MessageSubType) Number() protoreflect.EnumNumber
func (MessageSubType) String ¶
func (x MessageSubType) String() string
func (MessageSubType) Type ¶
func (MessageSubType) Type() protoreflect.EnumType
type MessageType ¶
type MessageType int32
const ( MessageType_MESSAGE_TYPE_UNSPECIFIED MessageType = 0 MessageType_MESSAGE_TYPE_PITS MessageType = 1 MessageType_MESSAGE_TYPE_TIMING MessageType = 2 )
func (MessageType) Descriptor ¶
func (MessageType) Descriptor() protoreflect.EnumDescriptor
func (MessageType) Enum ¶
func (x MessageType) Enum() *MessageType
func (MessageType) EnumDescriptor
deprecated
func (MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageType.Descriptor instead.
func (MessageType) Number ¶
func (x MessageType) Number() protoreflect.EnumNumber
func (MessageType) String ¶
func (x MessageType) String() string
func (MessageType) Type ¶
func (MessageType) Type() protoreflect.EnumType
type PublishDriverDataRequest ¶
type PublishDriverDataRequest struct { Event *v1.EventSelector `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Entries []*v12.CarEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"` Cars []*v12.CarInfo `protobuf:"bytes,4,rep,name=cars,proto3" json:"cars,omitempty"` CarClasses []*v12.CarClass `protobuf:"bytes,5,rep,name=car_classes,json=carClasses,proto3" json:"car_classes,omitempty"` SessionTime float32 `protobuf:"fixed32,6,opt,name=session_time,json=sessionTime,proto3" json:"session_time,omitempty"` CurrentDrivers map[uint32]string `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
sent when driver data changed
func (*PublishDriverDataRequest) Descriptor
deprecated
func (*PublishDriverDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishDriverDataRequest.ProtoReflect.Descriptor instead.
func (*PublishDriverDataRequest) GetCarClasses ¶
func (x *PublishDriverDataRequest) GetCarClasses() []*v12.CarClass
func (*PublishDriverDataRequest) GetCars ¶
func (x *PublishDriverDataRequest) GetCars() []*v12.CarInfo
func (*PublishDriverDataRequest) GetCurrentDrivers ¶
func (x *PublishDriverDataRequest) GetCurrentDrivers() map[uint32]string
func (*PublishDriverDataRequest) GetEntries ¶
func (x *PublishDriverDataRequest) GetEntries() []*v12.CarEntry
func (*PublishDriverDataRequest) GetEvent ¶
func (x *PublishDriverDataRequest) GetEvent() *v1.EventSelector
func (*PublishDriverDataRequest) GetSessionTime ¶
func (x *PublishDriverDataRequest) GetSessionTime() float32
func (*PublishDriverDataRequest) GetTimestamp ¶
func (x *PublishDriverDataRequest) GetTimestamp() *timestamppb.Timestamp
func (*PublishDriverDataRequest) ProtoMessage ¶
func (*PublishDriverDataRequest) ProtoMessage()
func (*PublishDriverDataRequest) ProtoReflect ¶
func (x *PublishDriverDataRequest) ProtoReflect() protoreflect.Message
func (*PublishDriverDataRequest) Reset ¶
func (x *PublishDriverDataRequest) Reset()
func (*PublishDriverDataRequest) String ¶
func (x *PublishDriverDataRequest) String() string
type PublishDriverDataResponse ¶
type PublishDriverDataResponse struct {
// contains filtered or unexported fields
}
func (*PublishDriverDataResponse) Descriptor
deprecated
func (*PublishDriverDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishDriverDataResponse.ProtoReflect.Descriptor instead.
func (*PublishDriverDataResponse) ProtoMessage ¶
func (*PublishDriverDataResponse) ProtoMessage()
func (*PublishDriverDataResponse) ProtoReflect ¶
func (x *PublishDriverDataResponse) ProtoReflect() protoreflect.Message
func (*PublishDriverDataResponse) Reset ¶
func (x *PublishDriverDataResponse) Reset()
func (*PublishDriverDataResponse) String ¶
func (x *PublishDriverDataResponse) String() string
type PublishEventExtraInfoRequest ¶
type PublishEventExtraInfoRequest struct { Event *v1.EventSelector `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` PitInfo *v13.PitInfo `protobuf:"bytes,3,opt,name=pit_info,json=pitInfo,proto3" json:"pit_info,omitempty"` // contains filtered or unexported fields }
sent when event is finished. Backend decides what to do with these informations
func (*PublishEventExtraInfoRequest) Descriptor
deprecated
func (*PublishEventExtraInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishEventExtraInfoRequest.ProtoReflect.Descriptor instead.
func (*PublishEventExtraInfoRequest) GetEvent ¶
func (x *PublishEventExtraInfoRequest) GetEvent() *v1.EventSelector
func (*PublishEventExtraInfoRequest) GetPitInfo ¶
func (x *PublishEventExtraInfoRequest) GetPitInfo() *v13.PitInfo
func (*PublishEventExtraInfoRequest) GetTimestamp ¶
func (x *PublishEventExtraInfoRequest) GetTimestamp() *timestamppb.Timestamp
func (*PublishEventExtraInfoRequest) ProtoMessage ¶
func (*PublishEventExtraInfoRequest) ProtoMessage()
func (*PublishEventExtraInfoRequest) ProtoReflect ¶
func (x *PublishEventExtraInfoRequest) ProtoReflect() protoreflect.Message
func (*PublishEventExtraInfoRequest) Reset ¶
func (x *PublishEventExtraInfoRequest) Reset()
func (*PublishEventExtraInfoRequest) String ¶
func (x *PublishEventExtraInfoRequest) String() string
type PublishEventExtraInfoResponse ¶
type PublishEventExtraInfoResponse struct {
// contains filtered or unexported fields
}
func (*PublishEventExtraInfoResponse) Descriptor
deprecated
func (*PublishEventExtraInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishEventExtraInfoResponse.ProtoReflect.Descriptor instead.
func (*PublishEventExtraInfoResponse) ProtoMessage ¶
func (*PublishEventExtraInfoResponse) ProtoMessage()
func (*PublishEventExtraInfoResponse) ProtoReflect ¶
func (x *PublishEventExtraInfoResponse) ProtoReflect() protoreflect.Message
func (*PublishEventExtraInfoResponse) Reset ¶
func (x *PublishEventExtraInfoResponse) Reset()
func (*PublishEventExtraInfoResponse) String ¶
func (x *PublishEventExtraInfoResponse) String() string
type PublishSpeedmapRequest ¶
type PublishSpeedmapRequest struct { Event *v1.EventSelector `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Speedmap *v11.Speedmap `protobuf:"bytes,3,opt,name=speedmap,proto3" json:"speedmap,omitempty"` // contains filtered or unexported fields }
func (*PublishSpeedmapRequest) Descriptor
deprecated
func (*PublishSpeedmapRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishSpeedmapRequest.ProtoReflect.Descriptor instead.
func (*PublishSpeedmapRequest) GetEvent ¶
func (x *PublishSpeedmapRequest) GetEvent() *v1.EventSelector
func (*PublishSpeedmapRequest) GetSpeedmap ¶
func (x *PublishSpeedmapRequest) GetSpeedmap() *v11.Speedmap
func (*PublishSpeedmapRequest) GetTimestamp ¶
func (x *PublishSpeedmapRequest) GetTimestamp() *timestamppb.Timestamp
func (*PublishSpeedmapRequest) ProtoMessage ¶
func (*PublishSpeedmapRequest) ProtoMessage()
func (*PublishSpeedmapRequest) ProtoReflect ¶
func (x *PublishSpeedmapRequest) ProtoReflect() protoreflect.Message
func (*PublishSpeedmapRequest) Reset ¶
func (x *PublishSpeedmapRequest) Reset()
func (*PublishSpeedmapRequest) String ¶
func (x *PublishSpeedmapRequest) String() string
type PublishSpeedmapResponse ¶
type PublishSpeedmapResponse struct {
// contains filtered or unexported fields
}
func (*PublishSpeedmapResponse) Descriptor
deprecated
func (*PublishSpeedmapResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishSpeedmapResponse.ProtoReflect.Descriptor instead.
func (*PublishSpeedmapResponse) ProtoMessage ¶
func (*PublishSpeedmapResponse) ProtoMessage()
func (*PublishSpeedmapResponse) ProtoReflect ¶
func (x *PublishSpeedmapResponse) ProtoReflect() protoreflect.Message
func (*PublishSpeedmapResponse) Reset ¶
func (x *PublishSpeedmapResponse) Reset()
func (*PublishSpeedmapResponse) String ¶
func (x *PublishSpeedmapResponse) String() string
type PublishStateRequest ¶
type PublishStateRequest struct { Event *v1.EventSelector `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Session *Session `protobuf:"bytes,3,opt,name=session,proto3" json:"session,omitempty"` Cars []*Car `protobuf:"bytes,4,rep,name=cars,proto3" json:"cars,omitempty"` Messages []*Message `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*PublishStateRequest) Descriptor
deprecated
func (*PublishStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishStateRequest.ProtoReflect.Descriptor instead.
func (*PublishStateRequest) GetCars ¶
func (x *PublishStateRequest) GetCars() []*Car
func (*PublishStateRequest) GetEvent ¶
func (x *PublishStateRequest) GetEvent() *v1.EventSelector
func (*PublishStateRequest) GetMessages ¶
func (x *PublishStateRequest) GetMessages() []*Message
func (*PublishStateRequest) GetSession ¶
func (x *PublishStateRequest) GetSession() *Session
func (*PublishStateRequest) GetTimestamp ¶
func (x *PublishStateRequest) GetTimestamp() *timestamppb.Timestamp
func (*PublishStateRequest) ProtoMessage ¶
func (*PublishStateRequest) ProtoMessage()
func (*PublishStateRequest) ProtoReflect ¶
func (x *PublishStateRequest) ProtoReflect() protoreflect.Message
func (*PublishStateRequest) Reset ¶
func (x *PublishStateRequest) Reset()
func (*PublishStateRequest) String ¶
func (x *PublishStateRequest) String() string
type PublishStateResponse ¶
type PublishStateResponse struct {
// contains filtered or unexported fields
}
func (*PublishStateResponse) Descriptor
deprecated
func (*PublishStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishStateResponse.ProtoReflect.Descriptor instead.
func (*PublishStateResponse) ProtoMessage ¶
func (*PublishStateResponse) ProtoMessage()
func (*PublishStateResponse) ProtoReflect ¶
func (x *PublishStateResponse) ProtoReflect() protoreflect.Message
func (*PublishStateResponse) Reset ¶
func (x *PublishStateResponse) Reset()
func (*PublishStateResponse) String ¶
func (x *PublishStateResponse) String() string
type Session ¶
type Session struct { SessionNum uint32 `protobuf:"varint,1,opt,name=session_num,json=sessionNum,proto3" json:"session_num,omitempty"` SessionTime float32 `protobuf:"fixed32,2,opt,name=session_time,json=sessionTime,proto3" json:"session_time,omitempty"` TimeRemain float32 `protobuf:"fixed32,3,opt,name=time_remain,json=timeRemain,proto3" json:"time_remain,omitempty"` LapsRemain int32 `protobuf:"varint,4,opt,name=laps_remain,json=lapsRemain,proto3" json:"laps_remain,omitempty"` TimeOfDay uint32 `protobuf:"varint,5,opt,name=time_of_day,json=timeOfDay,proto3" json:"time_of_day,omitempty"` AirTemp float32 `protobuf:"fixed32,6,opt,name=air_temp,json=airTemp,proto3" json:"air_temp,omitempty"` AirDensity float32 `protobuf:"fixed32,7,opt,name=air_density,json=airDensity,proto3" json:"air_density,omitempty"` AirPressure float32 `protobuf:"fixed32,8,opt,name=air_pressure,json=airPressure,proto3" json:"air_pressure,omitempty"` TrackTemp float32 `protobuf:"fixed32,9,opt,name=track_temp,json=trackTemp,proto3" json:"track_temp,omitempty"` TrackWetness v1.TrackWetness `` /* 136-byte string literal not displayed */ WindDir float32 `protobuf:"fixed32,11,opt,name=wind_dir,json=windDir,proto3" json:"wind_dir,omitempty"` WindVel float32 `protobuf:"fixed32,12,opt,name=wind_vel,json=windVel,proto3" json:"wind_vel,omitempty"` Precipitation float32 `protobuf:"fixed32,13,opt,name=precipitation,proto3" json:"precipitation,omitempty"` FlagState string `protobuf:"bytes,14,opt,name=flag_state,json=flagState,proto3" json:"flag_state,omitempty"` SessionStateRaw int32 `protobuf:"varint,15,opt,name=session_state_raw,json=sessionStateRaw,proto3" json:"session_state_raw,omitempty"` SessionFlagsRaw uint32 `protobuf:"varint,16,opt,name=session_flags_raw,json=sessionFlagsRaw,proto3" json:"session_flags_raw,omitempty"` // contains filtered or unexported fields }
func (*Session) GetTrackWetness ¶
func (x *Session) GetTrackWetness() v1.TrackWetness
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type StateContainer ¶
type StateContainer struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` Cars []*Car `protobuf:"bytes,2,rep,name=cars,proto3" json:"cars,omitempty"` Messages []*MessageContainer `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*StateContainer) Descriptor
deprecated
func (*StateContainer) Descriptor() ([]byte, []int)
Deprecated: Use StateContainer.ProtoReflect.Descriptor instead.
func (*StateContainer) GetCars ¶
func (x *StateContainer) GetCars() []*Car
func (*StateContainer) GetMessages ¶
func (x *StateContainer) GetMessages() []*MessageContainer
func (*StateContainer) GetSession ¶
func (x *StateContainer) GetSession() *Session
func (*StateContainer) ProtoMessage ¶
func (*StateContainer) ProtoMessage()
func (*StateContainer) ProtoReflect ¶
func (x *StateContainer) ProtoReflect() protoreflect.Message
func (*StateContainer) Reset ¶
func (x *StateContainer) Reset()
func (*StateContainer) String ¶
func (x *StateContainer) String() string
type TimeMarker ¶
type TimeMarker int32
const ( TimeMarker_TIME_MARKER_UNSPECIFIED TimeMarker = 0 TimeMarker_TIME_MARKER_OVERALL_BEST TimeMarker = 1 TimeMarker_TIME_MARKER_CLASS_BEST TimeMarker = 2 TimeMarker_TIME_MARKER_CAR_BEST TimeMarker = 3 TimeMarker_TIME_MARKER_PERSONAL_BEST TimeMarker = 4 TimeMarker_TIME_MARKER_OLD_VALUE TimeMarker = 5 )
func (TimeMarker) Descriptor ¶
func (TimeMarker) Descriptor() protoreflect.EnumDescriptor
func (TimeMarker) Enum ¶
func (x TimeMarker) Enum() *TimeMarker
func (TimeMarker) EnumDescriptor
deprecated
func (TimeMarker) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeMarker.Descriptor instead.
func (TimeMarker) Number ¶
func (x TimeMarker) Number() protoreflect.EnumNumber
func (TimeMarker) String ¶
func (x TimeMarker) String() string
func (TimeMarker) Type ¶
func (TimeMarker) Type() protoreflect.EnumType
type TimeWithMarker ¶
type TimeWithMarker struct { Time float32 `protobuf:"fixed32,1,opt,name=time,proto3" json:"time,omitempty"` Marker TimeMarker `protobuf:"varint,2,opt,name=marker,proto3,enum=testrepo.racestate.v1.TimeMarker" json:"marker,omitempty"` // contains filtered or unexported fields }
func (*TimeWithMarker) Descriptor
deprecated
func (*TimeWithMarker) Descriptor() ([]byte, []int)
Deprecated: Use TimeWithMarker.ProtoReflect.Descriptor instead.
func (*TimeWithMarker) GetMarker ¶
func (x *TimeWithMarker) GetMarker() TimeMarker
func (*TimeWithMarker) GetTime ¶
func (x *TimeWithMarker) GetTime() float32
func (*TimeWithMarker) ProtoMessage ¶
func (*TimeWithMarker) ProtoMessage()
func (*TimeWithMarker) ProtoReflect ¶
func (x *TimeWithMarker) ProtoReflect() protoreflect.Message
func (*TimeWithMarker) Reset ¶
func (x *TimeWithMarker) Reset()
func (*TimeWithMarker) String ¶
func (x *TimeWithMarker) String() string
type TireCompound ¶
type TireCompound struct { RawValue uint32 `protobuf:"varint,1,opt,name=raw_value,json=rawValue,proto3" json:"raw_value,omitempty"` // contains filtered or unexported fields }
func (*TireCompound) Descriptor
deprecated
func (*TireCompound) Descriptor() ([]byte, []int)
Deprecated: Use TireCompound.ProtoReflect.Descriptor instead.
func (*TireCompound) GetRawValue ¶
func (x *TireCompound) GetRawValue() uint32
func (*TireCompound) ProtoMessage ¶
func (*TireCompound) ProtoMessage()
func (*TireCompound) ProtoReflect ¶
func (x *TireCompound) ProtoReflect() protoreflect.Message
func (*TireCompound) Reset ¶
func (x *TireCompound) Reset()
func (*TireCompound) String ¶
func (x *TireCompound) String() string