analysisv1

package
v1.33.0-20240404104327... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_testrepo_analysis_v1_analysis_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_compute_state_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_laps_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_occupancy_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_pit_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_stint_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_racegraph_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Analysis

type Analysis struct {
	CarOccupancies   []*CarOccupancy    `protobuf:"bytes,1,rep,name=car_occupancies,json=carOccupancies,proto3" json:"car_occupancies,omitempty"`
	CarLaps          []*CarLaps         `protobuf:"bytes,2,rep,name=car_laps,json=carLaps,proto3" json:"car_laps,omitempty"`
	CarPits          []*CarPit          `protobuf:"bytes,3,rep,name=car_pits,json=carPits,proto3" json:"car_pits,omitempty"`
	CarStints        []*CarStint        `protobuf:"bytes,4,rep,name=car_stints,json=carStints,proto3" json:"car_stints,omitempty"`
	CarComputeStates []*CarComputeState `protobuf:"bytes,5,rep,name=car_compute_states,json=carComputeStates,proto3" json:"car_compute_states,omitempty"`
	RaceGraph        []*RaceGraph       `protobuf:"bytes,6,rep,name=race_graph,json=raceGraph,proto3" json:"race_graph,omitempty"`
	RaceOrder        []string           `protobuf:"bytes,7,rep,name=race_order,json=raceOrder,proto3" json:"race_order,omitempty"`
	// contains filtered or unexported fields
}

func (*Analysis) Descriptor deprecated

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

Deprecated: Use Analysis.ProtoReflect.Descriptor instead.

func (*Analysis) GetCarComputeStates

func (x *Analysis) GetCarComputeStates() []*CarComputeState

func (*Analysis) GetCarLaps

func (x *Analysis) GetCarLaps() []*CarLaps

func (*Analysis) GetCarOccupancies

func (x *Analysis) GetCarOccupancies() []*CarOccupancy

func (*Analysis) GetCarPits

func (x *Analysis) GetCarPits() []*CarPit

func (*Analysis) GetCarStints

func (x *Analysis) GetCarStints() []*CarStint

func (*Analysis) GetRaceGraph

func (x *Analysis) GetRaceGraph() []*RaceGraph

func (*Analysis) GetRaceOrder

func (x *Analysis) GetRaceOrder() []string

func (*Analysis) ProtoMessage

func (*Analysis) ProtoMessage()

func (*Analysis) ProtoReflect

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

func (*Analysis) Reset

func (x *Analysis) Reset()

func (*Analysis) String

func (x *Analysis) String() string

type CarComputeState

type CarComputeState struct {
	CarNum         string      `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"`
	CarState       v1.CarState `protobuf:"varint,2,opt,name=car_state,json=carState,proto3,enum=testrepo.racestate.v1.CarState" json:"car_state,omitempty"`
	OutEncountered float32     `protobuf:"fixed32,3,opt,name=out_encountered,json=outEncountered,proto3" json:"out_encountered,omitempty"`
	// contains filtered or unexported fields
}

func (*CarComputeState) Descriptor deprecated

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

Deprecated: Use CarComputeState.ProtoReflect.Descriptor instead.

func (*CarComputeState) GetCarNum

func (x *CarComputeState) GetCarNum() string

func (*CarComputeState) GetCarState

func (x *CarComputeState) GetCarState() v1.CarState

func (*CarComputeState) GetOutEncountered

func (x *CarComputeState) GetOutEncountered() float32

func (*CarComputeState) ProtoMessage

func (*CarComputeState) ProtoMessage()

func (*CarComputeState) ProtoReflect

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

func (*CarComputeState) Reset

func (x *CarComputeState) Reset()

func (*CarComputeState) String

func (x *CarComputeState) String() string

type CarLaps

type CarLaps struct {
	CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"`
	Laps   []*Lap `protobuf:"bytes,2,rep,name=laps,proto3" json:"laps,omitempty"`
	// contains filtered or unexported fields
}

CarLaps

func (*CarLaps) Descriptor deprecated

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

Deprecated: Use CarLaps.ProtoReflect.Descriptor instead.

func (*CarLaps) GetCarNum

func (x *CarLaps) GetCarNum() string

func (*CarLaps) GetLaps

func (x *CarLaps) GetLaps() []*Lap

func (*CarLaps) ProtoMessage

func (*CarLaps) ProtoMessage()

func (*CarLaps) ProtoReflect

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

func (*CarLaps) Reset

func (x *CarLaps) Reset()

func (*CarLaps) String

func (x *CarLaps) String() string

type CarOccupancy

type CarOccupancy struct {

	// in team races this is the team name, otherwise the driver name
	Name              string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CarNum            string    `protobuf:"bytes,2,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"`
	CarClass          string    `protobuf:"bytes,3,opt,name=car_class,json=carClass,proto3" json:"car_class,omitempty"`
	CurrentDriverName string    `protobuf:"bytes,4,opt,name=current_driver_name,json=currentDriverName,proto3" json:"current_driver_name,omitempty"`
	Drivers           []*Driver `protobuf:"bytes,5,rep,name=drivers,proto3" json:"drivers,omitempty"`
	// contains filtered or unexported fields
}

CarOccupancy contains information which drivers used a specific car

func (*CarOccupancy) Descriptor deprecated

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

Deprecated: Use CarOccupancy.ProtoReflect.Descriptor instead.

func (*CarOccupancy) GetCarClass

func (x *CarOccupancy) GetCarClass() string

func (*CarOccupancy) GetCarNum

func (x *CarOccupancy) GetCarNum() string

func (*CarOccupancy) GetCurrentDriverName

func (x *CarOccupancy) GetCurrentDriverName() string

func (*CarOccupancy) GetDrivers

func (x *CarOccupancy) GetDrivers() []*Driver

func (*CarOccupancy) GetName

func (x *CarOccupancy) GetName() string

func (*CarOccupancy) ProtoMessage

func (*CarOccupancy) ProtoMessage()

func (*CarOccupancy) ProtoReflect

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

func (*CarOccupancy) Reset

func (x *CarOccupancy) Reset()

func (*CarOccupancy) String

func (x *CarOccupancy) String() string

type CarPit

type CarPit struct {
	CarNum  string     `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"`
	Current *PitInfo   `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
	History []*PitInfo `protobuf:"bytes,3,rep,name=history,proto3" json:"history,omitempty"`
	// contains filtered or unexported fields
}

CarPit

func (*CarPit) Descriptor deprecated

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

Deprecated: Use CarPit.ProtoReflect.Descriptor instead.

func (*CarPit) GetCarNum

func (x *CarPit) GetCarNum() string

func (*CarPit) GetCurrent

func (x *CarPit) GetCurrent() *PitInfo

func (*CarPit) GetHistory

func (x *CarPit) GetHistory() []*PitInfo

func (*CarPit) ProtoMessage

func (*CarPit) ProtoMessage()

func (*CarPit) ProtoReflect

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

func (*CarPit) Reset

func (x *CarPit) Reset()

func (*CarPit) String

func (x *CarPit) String() string

type CarStint

type CarStint struct {
	CarNum  string       `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"`
	Current *StintInfo   `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
	History []*StintInfo `protobuf:"bytes,3,rep,name=history,proto3" json:"history,omitempty"`
	// contains filtered or unexported fields
}

CarStint

func (*CarStint) Descriptor deprecated

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

Deprecated: Use CarStint.ProtoReflect.Descriptor instead.

func (*CarStint) GetCarNum

func (x *CarStint) GetCarNum() string

func (*CarStint) GetCurrent

func (x *CarStint) GetCurrent() *StintInfo

func (*CarStint) GetHistory

func (x *CarStint) GetHistory() []*StintInfo

func (*CarStint) ProtoMessage

func (*CarStint) ProtoMessage()

func (*CarStint) ProtoReflect

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

func (*CarStint) Reset

func (x *CarStint) Reset()

func (*CarStint) String

func (x *CarStint) String() string

type Driver

type Driver struct {
	Name      string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SeatTimes []*SeatTime `protobuf:"bytes,2,rep,name=seat_times,json=seatTimes,proto3" json:"seat_times,omitempty"`
	// contains filtered or unexported fields
}

func (*Driver) Descriptor deprecated

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

Deprecated: Use Driver.ProtoReflect.Descriptor instead.

func (*Driver) GetName

func (x *Driver) GetName() string

func (*Driver) GetSeatTimes

func (x *Driver) GetSeatTimes() []*SeatTime

func (*Driver) ProtoMessage

func (*Driver) ProtoMessage()

func (*Driver) ProtoReflect

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

func (*Driver) Reset

func (x *Driver) Reset()

func (*Driver) String

func (x *Driver) String() string

type GapInfo

type GapInfo struct {
	CarNum string  `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"`
	LapNo  int32   `protobuf:"varint,2,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,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"`
	Gap    float32 `protobuf:"fixed32,5,opt,name=gap,proto3" json:"gap,omitempty"`
	// contains filtered or unexported fields
}

func (*GapInfo) Descriptor deprecated

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

Deprecated: Use GapInfo.ProtoReflect.Descriptor instead.

func (*GapInfo) GetCarNum

func (x *GapInfo) GetCarNum() string

func (*GapInfo) GetGap

func (x *GapInfo) GetGap() float32

func (*GapInfo) GetLapNo

func (x *GapInfo) GetLapNo() int32

func (*GapInfo) GetPic

func (x *GapInfo) GetPic() int32

func (*GapInfo) GetPos

func (x *GapInfo) GetPos() int32

func (*GapInfo) ProtoMessage

func (*GapInfo) ProtoMessage()

func (*GapInfo) ProtoReflect

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

func (*GapInfo) Reset

func (x *GapInfo) Reset()

func (*GapInfo) String

func (x *GapInfo) String() string

type Lap

type Lap struct {
	LapNo   int32   `protobuf:"varint,1,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,omitempty"`
	LapTime float32 `protobuf:"fixed32,2,opt,name=lap_time,json=lapTime,proto3" json:"lap_time,omitempty"`
	// contains filtered or unexported fields
}

Lap

func (*Lap) Descriptor deprecated

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

Deprecated: Use Lap.ProtoReflect.Descriptor instead.

func (*Lap) GetLapNo

func (x *Lap) GetLapNo() int32

func (*Lap) GetLapTime

func (x *Lap) GetLapTime() float32

func (*Lap) ProtoMessage

func (*Lap) ProtoMessage()

func (*Lap) ProtoReflect

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

func (*Lap) Reset

func (x *Lap) Reset()

func (*Lap) String

func (x *Lap) String() string

type PitInfo

type PitInfo struct {
	CarNum           string  `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"`
	EnterTime        float32 `protobuf:"fixed32,2,opt,name=enter_time,json=enterTime,proto3" json:"enter_time,omitempty"`
	ExitTime         float32 `protobuf:"fixed32,3,opt,name=exit_time,json=exitTime,proto3" json:"exit_time,omitempty"`
	LapEnter         int32   `protobuf:"varint,4,opt,name=lap_enter,json=lapEnter,proto3" json:"lap_enter,omitempty"`
	LapExit          int32   `protobuf:"varint,5,opt,name=lap_exit,json=lapExit,proto3" json:"lap_exit,omitempty"`
	LaneTime         float32 `protobuf:"fixed32,6,opt,name=lane_time,json=laneTime,proto3" json:"lane_time,omitempty"`
	IsCurrentPitstop bool    `protobuf:"varint,7,opt,name=is_current_pitstop,json=isCurrentPitstop,proto3" json:"is_current_pitstop,omitempty"`
	// contains filtered or unexported fields
}

func (*PitInfo) Descriptor deprecated

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

Deprecated: Use PitInfo.ProtoReflect.Descriptor instead.

func (*PitInfo) GetCarNum

func (x *PitInfo) GetCarNum() string

func (*PitInfo) GetEnterTime

func (x *PitInfo) GetEnterTime() float32

func (*PitInfo) GetExitTime

func (x *PitInfo) GetExitTime() float32

func (*PitInfo) GetIsCurrentPitstop

func (x *PitInfo) GetIsCurrentPitstop() bool

func (*PitInfo) GetLaneTime

func (x *PitInfo) GetLaneTime() float32

func (*PitInfo) GetLapEnter

func (x *PitInfo) GetLapEnter() int32

func (*PitInfo) GetLapExit

func (x *PitInfo) GetLapExit() int32

func (*PitInfo) ProtoMessage

func (*PitInfo) ProtoMessage()

func (*PitInfo) ProtoReflect

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

func (*PitInfo) Reset

func (x *PitInfo) Reset()

func (*PitInfo) String

func (x *PitInfo) String() string

type RaceGraph

type RaceGraph struct {
	LapNo    int32      `protobuf:"varint,1,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,omitempty"`
	CarClass string     `protobuf:"bytes,2,opt,name=car_class,json=carClass,proto3" json:"car_class,omitempty"`
	Gaps     []*GapInfo `protobuf:"bytes,3,rep,name=gaps,proto3" json:"gaps,omitempty"`
	// contains filtered or unexported fields
}

func (*RaceGraph) Descriptor deprecated

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

Deprecated: Use RaceGraph.ProtoReflect.Descriptor instead.

func (*RaceGraph) GetCarClass

func (x *RaceGraph) GetCarClass() string

func (*RaceGraph) GetGaps

func (x *RaceGraph) GetGaps() []*GapInfo

func (*RaceGraph) GetLapNo

func (x *RaceGraph) GetLapNo() int32

func (*RaceGraph) ProtoMessage

func (*RaceGraph) ProtoMessage()

func (*RaceGraph) ProtoReflect

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

func (*RaceGraph) Reset

func (x *RaceGraph) Reset()

func (*RaceGraph) String

func (x *RaceGraph) String() string

type SeatTime

type SeatTime struct {
	EnterCarTime float32 `protobuf:"fixed32,1,opt,name=enter_car_time,json=enterCarTime,proto3" json:"enter_car_time,omitempty"`
	LeaveCarTime float32 `protobuf:"fixed32,2,opt,name=leave_car_time,json=leaveCarTime,proto3" json:"leave_car_time,omitempty"`
	// contains filtered or unexported fields
}

func (*SeatTime) Descriptor deprecated

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

Deprecated: Use SeatTime.ProtoReflect.Descriptor instead.

func (*SeatTime) GetEnterCarTime

func (x *SeatTime) GetEnterCarTime() float32

func (*SeatTime) GetLeaveCarTime

func (x *SeatTime) GetLeaveCarTime() float32

func (*SeatTime) ProtoMessage

func (*SeatTime) ProtoMessage()

func (*SeatTime) ProtoReflect

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

func (*SeatTime) Reset

func (x *SeatTime) Reset()

func (*SeatTime) String

func (x *SeatTime) String() string

type StintInfo

type StintInfo struct {
	CarNum         string  `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"`
	EnterTime      float32 `protobuf:"fixed32,2,opt,name=enter_time,json=enterTime,proto3" json:"enter_time,omitempty"`
	ExitTime       float32 `protobuf:"fixed32,3,opt,name=exit_time,json=exitTime,proto3" json:"exit_time,omitempty"`
	LapEnter       int32   `protobuf:"varint,4,opt,name=lap_enter,json=lapEnter,proto3" json:"lap_enter,omitempty"`
	LapExit        int32   `protobuf:"varint,5,opt,name=lap_exit,json=lapExit,proto3" json:"lap_exit,omitempty"`
	StintTime      float32 `protobuf:"fixed32,6,opt,name=stint_time,json=stintTime,proto3" json:"stint_time,omitempty"`
	NumLaps        int32   `protobuf:"varint,7,opt,name=num_laps,json=numLaps,proto3" json:"num_laps,omitempty"`
	IsCurrentStint bool    `protobuf:"varint,8,opt,name=is_current_stint,json=isCurrentStint,proto3" json:"is_current_stint,omitempty"`
	// contains filtered or unexported fields
}

func (*StintInfo) Descriptor deprecated

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

Deprecated: Use StintInfo.ProtoReflect.Descriptor instead.

func (*StintInfo) GetCarNum

func (x *StintInfo) GetCarNum() string

func (*StintInfo) GetEnterTime

func (x *StintInfo) GetEnterTime() float32

func (*StintInfo) GetExitTime

func (x *StintInfo) GetExitTime() float32

func (*StintInfo) GetIsCurrentStint

func (x *StintInfo) GetIsCurrentStint() bool

func (*StintInfo) GetLapEnter

func (x *StintInfo) GetLapEnter() int32

func (*StintInfo) GetLapExit

func (x *StintInfo) GetLapExit() int32

func (*StintInfo) GetNumLaps

func (x *StintInfo) GetNumLaps() int32

func (*StintInfo) GetStintTime

func (x *StintInfo) GetStintTime() float32

func (*StintInfo) ProtoMessage

func (*StintInfo) ProtoMessage()

func (*StintInfo) ProtoReflect

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

func (*StintInfo) Reset

func (x *StintInfo) Reset()

func (*StintInfo) String

func (x *StintInfo) String() string

Jump to

Keyboard shortcuts

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