Documentation ¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetLocation() *Event_Location
- func (x *Event) GetName() string
- func (x *Event) GetRound() uint32
- func (x *Event) GetSession() []*Event_Session
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Location
- func (*Event_Location) Descriptor() ([]byte, []int)deprecated
- func (x *Event_Location) GetCountry() string
- func (x *Event_Location) GetLocality() string
- func (*Event_Location) ProtoMessage()
- func (x *Event_Location) ProtoReflect() protoreflect.Message
- func (x *Event_Location) Reset()
- func (x *Event_Location) String() string
- type Event_Session
- func (*Event_Session) Descriptor() ([]byte, []int)deprecated
- func (x *Event_Session) GetTimestamp() *timestamppb.Timestamp
- func (x *Event_Session) GetType() Event_Session_Type
- func (*Event_Session) ProtoMessage()
- func (x *Event_Session) ProtoReflect() protoreflect.Message
- func (x *Event_Session) Reset()
- func (x *Event_Session) String() string
- type Event_Session_Type
- func (Event_Session_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Event_Session_Type) Enum() *Event_Session_Type
- func (Event_Session_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_Session_Type) Number() protoreflect.EnumNumber
- func (x Event_Session_Type) String() string
- func (Event_Session_Type) Type() protoreflect.EnumType
- type Schedule
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.
View Source
var File_f1_proto protoreflect.FileDescriptor
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) GetLocation ¶
func (x *Event) GetLocation() *Event_Location
func (*Event) GetSession ¶
func (x *Event) GetSession() []*Event_Session
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (Event_Session_Type) Enum ¶
func (x Event_Session_Type) Enum() *Event_Session_Type
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 (x Event_Session_Type) Number() protoreflect.EnumNumber
func (Event_Session_Type) String ¶
func (x Event_Session_Type) String() string
func (Event_Session_Type) Type ¶
func (Event_Session_Type) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*Schedule) ProtoMessage()
func (*Schedule) ProtoReflect ¶
func (x *Schedule) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.