racestatev1

package
v1.34.1-20240523055039... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_testrepo_racestate_v1_racestate_proto protoreflect.FileDescriptor
View Source
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) Descriptor deprecated

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

Deprecated: Use Car.ProtoReflect.Descriptor instead.

func (*Car) GetBest

func (x *Car) GetBest() *TimeWithMarker

func (*Car) GetCarIdx

func (x *Car) GetCarIdx() int32

func (*Car) GetDist

func (x *Car) GetDist() float32

func (*Car) GetGap

func (x *Car) GetGap() float32

func (*Car) GetInterval

func (x *Car) GetInterval() float32

func (*Car) GetLap

func (x *Car) GetLap() int32

func (*Car) GetLast

func (x *Car) GetLast() *TimeWithMarker

func (*Car) GetLc

func (x *Car) GetLc() int32

func (*Car) GetPic

func (x *Car) GetPic() int32

func (*Car) GetPitstops

func (x *Car) GetPitstops() uint32

func (*Car) GetPos

func (x *Car) GetPos() int32

func (*Car) GetSectors

func (x *Car) GetSectors() []*TimeWithMarker

func (*Car) GetSpeed

func (x *Car) GetSpeed() float32

func (*Car) GetState

func (x *Car) GetState() CarState

func (*Car) GetStintLap

func (x *Car) GetStintLap() uint32

func (*Car) GetTireCompound

func (x *Car) GetTireCompound() *TireCompound

func (*Car) GetTrackPos

func (x *Car) GetTrackPos() float32

func (*Car) ProtoMessage

func (*Car) ProtoMessage()

func (*Car) ProtoReflect

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

func (*Car) Reset

func (x *Car) Reset()

func (*Car) String

func (x *Car) String() string

type CarState

type CarState int32
const (
	CarState_CAR_STATE_UNSPECIFIED CarState = 0
	CarState_CAR_STATE_INIT        CarState = 1
	CarState_CAR_STATE_RUN         CarState = 2
	CarState_CAR_STATE_PIT         CarState = 3
	CarState_CAR_STATE_SLOW        CarState = 4
	CarState_CAR_STATE_FIN         CarState = 5
	CarState_CAR_STATE_OUT         CarState = 6
)

func (CarState) Descriptor

func (CarState) Descriptor() protoreflect.EnumDescriptor

func (CarState) Enum

func (x CarState) Enum() *CarState

func (CarState) EnumDescriptor deprecated

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

Deprecated: Use CarState.Descriptor instead.

func (CarState) Number

func (x CarState) Number() protoreflect.EnumNumber

func (CarState) String

func (x CarState) String() string

func (CarState) Type

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 (*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 (*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) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetCarClass

func (x *Message) GetCarClass() string

func (*Message) GetCarIdx

func (x *Message) GetCarIdx() uint32

func (*Message) GetCarNum

func (x *Message) GetCarNum() string

func (*Message) GetMsg

func (x *Message) GetMsg() string

func (*Message) GetSubType

func (x *Message) GetSubType() MessageSubType

func (*Message) GetType

func (x *Message) GetType() MessageType

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

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) Enum

func (x MessageSubType) Enum() *MessageSubType

func (MessageSubType) EnumDescriptor deprecated

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

Deprecated: Use MessageSubType.Descriptor instead.

func (MessageSubType) Number

func (MessageSubType) String

func (x MessageSubType) String() string

func (MessageSubType) Type

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) 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

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 (*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 (*PublishEventExtraInfoRequest) GetPitInfo

func (x *PublishEventExtraInfoRequest) GetPitInfo() *v13.PitInfo

func (*PublishEventExtraInfoRequest) GetTimestamp

func (*PublishEventExtraInfoRequest) ProtoMessage

func (*PublishEventExtraInfoRequest) ProtoMessage()

func (*PublishEventExtraInfoRequest) ProtoReflect

func (*PublishEventExtraInfoRequest) Reset

func (x *PublishEventExtraInfoRequest) Reset()

func (*PublishEventExtraInfoRequest) 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 (*PublishEventExtraInfoResponse) Reset

func (x *PublishEventExtraInfoResponse) Reset()

func (*PublishEventExtraInfoResponse) 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) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetAirDensity

func (x *Session) GetAirDensity() float32

func (*Session) GetAirPressure

func (x *Session) GetAirPressure() float32

func (*Session) GetAirTemp

func (x *Session) GetAirTemp() float32

func (*Session) GetFlagState

func (x *Session) GetFlagState() string

func (*Session) GetLapsRemain

func (x *Session) GetLapsRemain() int32

func (*Session) GetPrecipitation

func (x *Session) GetPrecipitation() float32

func (*Session) GetSessionFlagsRaw

func (x *Session) GetSessionFlagsRaw() uint32

func (*Session) GetSessionNum

func (x *Session) GetSessionNum() uint32

func (*Session) GetSessionStateRaw

func (x *Session) GetSessionStateRaw() int32

func (*Session) GetSessionTime

func (x *Session) GetSessionTime() float32

func (*Session) GetTimeOfDay

func (x *Session) GetTimeOfDay() uint32

func (*Session) GetTimeRemain

func (x *Session) GetTimeRemain() float32

func (*Session) GetTrackTemp

func (x *Session) GetTrackTemp() float32

func (*Session) GetTrackWetness

func (x *Session) GetTrackWetness() v1.TrackWetness

func (*Session) GetWindDir

func (x *Session) GetWindDir() float32

func (*Session) GetWindVel

func (x *Session) GetWindVel() float32

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

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

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

Jump to

Keyboard shortcuts

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