proto

package
v0.0.0-...-d98acf1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Event_Session_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_FP1",
		2: "TYPE_FP2",
		3: "TYPE_FP3",
		4: "TYPE_SPRINT_QUAL",
		5: "TYPE_SPRINT",
		6: "TYPE_QUAL",
		7: "TYPE_RACE",
	}
	Event_Session_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_FP1":         1,
		"TYPE_FP2":         2,
		"TYPE_FP3":         3,
		"TYPE_SPRINT_QUAL": 4,
		"TYPE_SPRINT":      5,
		"TYPE_QUAL":        6,
		"TYPE_RACE":        7,
	}
)

Enum value maps for Event_Session_Type.

Functions

This section is empty.

Types

type Event

type Event struct {
	Round    uint32           `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
	Name     string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Location *Event_Location  `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	Session  []*Event_Session `protobuf:"bytes,4,rep,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetLocation

func (x *Event) GetLocation() *Event_Location

func (*Event) GetName

func (x *Event) GetName() string

func (*Event) GetRound

func (x *Event) GetRound() uint32

func (*Event) GetSession

func (x *Event) GetSession() []*Event_Session

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_Location

type Event_Location struct {
	Country  string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
	Locality string `protobuf:"bytes,2,opt,name=locality,proto3" json:"locality,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_Location) Descriptor deprecated

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

Deprecated: Use Event_Location.ProtoReflect.Descriptor instead.

func (*Event_Location) GetCountry

func (x *Event_Location) GetCountry() string

func (*Event_Location) GetLocality

func (x *Event_Location) GetLocality() string

func (*Event_Location) ProtoMessage

func (*Event_Location) ProtoMessage()

func (*Event_Location) ProtoReflect

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

func (*Event_Location) Reset

func (x *Event_Location) Reset()

func (*Event_Location) String

func (x *Event_Location) String() string

type Event_Session

type Event_Session struct {
	Type      Event_Session_Type     `protobuf:"varint,1,opt,name=type,proto3,enum=f1.Event_Session_Type" json:"type,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_Session) Descriptor deprecated

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

Deprecated: Use Event_Session.ProtoReflect.Descriptor instead.

func (*Event_Session) GetTimestamp

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

func (*Event_Session) GetType

func (x *Event_Session) GetType() Event_Session_Type

func (*Event_Session) ProtoMessage

func (*Event_Session) ProtoMessage()

func (*Event_Session) ProtoReflect

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

func (*Event_Session) Reset

func (x *Event_Session) Reset()

func (*Event_Session) String

func (x *Event_Session) String() string

type Event_Session_Type

type Event_Session_Type int32
const (
	Event_Session_TYPE_UNSPECIFIED Event_Session_Type = 0
	Event_Session_TYPE_FP1         Event_Session_Type = 1
	Event_Session_TYPE_FP2         Event_Session_Type = 2
	Event_Session_TYPE_FP3         Event_Session_Type = 3
	Event_Session_TYPE_SPRINT_QUAL Event_Session_Type = 4
	Event_Session_TYPE_SPRINT      Event_Session_Type = 5
	Event_Session_TYPE_QUAL        Event_Session_Type = 6
	Event_Session_TYPE_RACE        Event_Session_Type = 7
)

func (Event_Session_Type) Descriptor

func (Event_Session_Type) Enum

func (Event_Session_Type) EnumDescriptor deprecated

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

Deprecated: Use Event_Session_Type.Descriptor instead.

func (Event_Session_Type) Number

func (Event_Session_Type) String

func (x Event_Session_Type) String() string

func (Event_Session_Type) Type

type Schedule

type Schedule struct {
	Season uint32   `protobuf:"varint,1,opt,name=season,proto3" json:"season,omitempty"`
	Event  []*Event `protobuf:"bytes,2,rep,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*Schedule) Descriptor deprecated

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

Deprecated: Use Schedule.ProtoReflect.Descriptor instead.

func (*Schedule) GetEvent

func (x *Schedule) GetEvent() []*Event

func (*Schedule) GetSeason

func (x *Schedule) GetSeason() uint32

func (*Schedule) ProtoMessage

func (*Schedule) ProtoMessage()

func (*Schedule) ProtoReflect

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

func (*Schedule) Reset

func (x *Schedule) Reset()

func (*Schedule) String

func (x *Schedule) String() string

Jump to

Keyboard shortcuts

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