ara_external_models

package module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 3

README

ara-external-models

Protocol Buffers structures for exchanges with Ara

Modifications

To create or change the models, you need Protocol Buffers. Checkout this link

Change the protobuf files in /inputs, then run make

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_complete_model_proto protoreflect.FileDescriptor
View Source
var File_lines_proto protoreflect.FileDescriptor
View Source
var File_stop_areas_proto protoreflect.FileDescriptor
View Source
var File_stop_visits_proto protoreflect.FileDescriptor
View Source
var File_vehicle_journeys_proto protoreflect.FileDescriptor
View Source
var File_vehicles_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ExternalCompleteModel added in v0.0.2

type ExternalCompleteModel struct {
	StopAreas       []*ExternalStopArea       `protobuf:"bytes,1,rep,name=stop_areas,json=stopAreas,proto3" json:"stop_areas,omitempty"`
	Lines           []*ExternalLine           `protobuf:"bytes,2,rep,name=lines,proto3" json:"lines,omitempty"`
	VehicleJourneys []*ExternalVehicleJourney `protobuf:"bytes,3,rep,name=vehicle_journeys,json=vehicleJourneys,proto3" json:"vehicle_journeys,omitempty"`
	StopVisits      []*ExternalStopVisit      `protobuf:"bytes,4,rep,name=stop_visits,json=stopVisits,proto3" json:"stop_visits,omitempty"`
	Vehicles        []*ExternalVehicle        `protobuf:"bytes,5,rep,name=vehicles,proto3" json:"vehicles,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalCompleteModel) Descriptor deprecated added in v0.0.2

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

Deprecated: Use ExternalCompleteModel.ProtoReflect.Descriptor instead.

func (*ExternalCompleteModel) GetLines added in v0.0.2

func (x *ExternalCompleteModel) GetLines() []*ExternalLine

func (*ExternalCompleteModel) GetStopAreas added in v0.0.2

func (x *ExternalCompleteModel) GetStopAreas() []*ExternalStopArea

func (*ExternalCompleteModel) GetStopVisits added in v0.0.2

func (x *ExternalCompleteModel) GetStopVisits() []*ExternalStopVisit

func (*ExternalCompleteModel) GetVehicleJourneys added in v0.0.2

func (x *ExternalCompleteModel) GetVehicleJourneys() []*ExternalVehicleJourney

func (*ExternalCompleteModel) GetVehicles added in v0.0.4

func (x *ExternalCompleteModel) GetVehicles() []*ExternalVehicle

func (*ExternalCompleteModel) ProtoMessage added in v0.0.2

func (*ExternalCompleteModel) ProtoMessage()

func (*ExternalCompleteModel) ProtoReflect added in v0.0.8

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

func (*ExternalCompleteModel) Reset added in v0.0.2

func (x *ExternalCompleteModel) Reset()

func (*ExternalCompleteModel) String added in v0.0.2

func (x *ExternalCompleteModel) String() string

type ExternalLine

type ExternalLine struct {
	Objectid string `protobuf:"bytes,1,opt,name=objectid,proto3" json:"objectid,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalLine) Descriptor deprecated

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

Deprecated: Use ExternalLine.ProtoReflect.Descriptor instead.

func (*ExternalLine) GetName

func (x *ExternalLine) GetName() string

func (*ExternalLine) GetObjectid

func (x *ExternalLine) GetObjectid() string

func (*ExternalLine) ProtoMessage

func (*ExternalLine) ProtoMessage()

func (*ExternalLine) ProtoReflect added in v0.0.8

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

func (*ExternalLine) Reset

func (x *ExternalLine) Reset()

func (*ExternalLine) String

func (x *ExternalLine) String() string

type ExternalStopArea

type ExternalStopArea struct {
	Objectid  string  `protobuf:"bytes,1,opt,name=objectid,proto3" json:"objectid,omitempty"`
	Name      string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
	Latitude  float64 `protobuf:"fixed64,4,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalStopArea) Descriptor deprecated

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

Deprecated: Use ExternalStopArea.ProtoReflect.Descriptor instead.

func (*ExternalStopArea) GetLatitude added in v0.0.3

func (x *ExternalStopArea) GetLatitude() float64

func (*ExternalStopArea) GetLongitude added in v0.0.3

func (x *ExternalStopArea) GetLongitude() float64

func (*ExternalStopArea) GetName

func (x *ExternalStopArea) GetName() string

func (*ExternalStopArea) GetObjectid

func (x *ExternalStopArea) GetObjectid() string

func (*ExternalStopArea) ProtoMessage

func (*ExternalStopArea) ProtoMessage()

func (*ExternalStopArea) ProtoReflect added in v0.0.8

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

func (*ExternalStopArea) Reset

func (x *ExternalStopArea) Reset()

func (*ExternalStopArea) String

func (x *ExternalStopArea) String() string

type ExternalStopVisit

type ExternalStopVisit struct {
	Objectid          string                   `protobuf:"bytes,1,opt,name=objectid,proto3" json:"objectid,omitempty"`
	StopAreaRef       string                   `protobuf:"bytes,2,opt,name=stopAreaRef,proto3" json:"stopAreaRef,omitempty"`
	PassageOrder      uint32                   `protobuf:"varint,3,opt,name=passageOrder,proto3" json:"passageOrder,omitempty"`
	VehicleJourneyRef string                   `protobuf:"bytes,4,opt,name=vehicleJourneyRef,proto3" json:"vehicleJourneyRef,omitempty"`
	Monitored         bool                     `protobuf:"varint,5,opt,name=monitored,proto3" json:"monitored,omitempty"`
	ArrivalTimes      *ExternalStopVisit_Times `protobuf:"bytes,6,opt,name=arrival_times,json=arrivalTimes,proto3" json:"arrival_times,omitempty"`
	DepartureTimes    *ExternalStopVisit_Times `protobuf:"bytes,7,opt,name=departure_times,json=departureTimes,proto3" json:"departure_times,omitempty"`
	DepartureStatus   string                   `protobuf:"bytes,8,opt,name=departureStatus,proto3" json:"departureStatus,omitempty"`
	ArrivalStatus     string                   `protobuf:"bytes,9,opt,name=arrivalStatus,proto3" json:"arrivalStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalStopVisit) Descriptor deprecated

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

Deprecated: Use ExternalStopVisit.ProtoReflect.Descriptor instead.

func (*ExternalStopVisit) GetArrivalStatus added in v0.0.8

func (x *ExternalStopVisit) GetArrivalStatus() string

func (*ExternalStopVisit) GetArrivalTimes

func (x *ExternalStopVisit) GetArrivalTimes() *ExternalStopVisit_Times

func (*ExternalStopVisit) GetDepartureStatus added in v0.0.8

func (x *ExternalStopVisit) GetDepartureStatus() string

func (*ExternalStopVisit) GetDepartureTimes

func (x *ExternalStopVisit) GetDepartureTimes() *ExternalStopVisit_Times

func (*ExternalStopVisit) GetMonitored

func (x *ExternalStopVisit) GetMonitored() bool

func (*ExternalStopVisit) GetObjectid

func (x *ExternalStopVisit) GetObjectid() string

func (*ExternalStopVisit) GetPassageOrder

func (x *ExternalStopVisit) GetPassageOrder() uint32

func (*ExternalStopVisit) GetStopAreaRef

func (x *ExternalStopVisit) GetStopAreaRef() string

func (*ExternalStopVisit) GetVehicleJourneyRef

func (x *ExternalStopVisit) GetVehicleJourneyRef() string

func (*ExternalStopVisit) ProtoMessage

func (*ExternalStopVisit) ProtoMessage()

func (*ExternalStopVisit) ProtoReflect added in v0.0.8

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

func (*ExternalStopVisit) Reset

func (x *ExternalStopVisit) Reset()

func (*ExternalStopVisit) String

func (x *ExternalStopVisit) String() string

type ExternalStopVisit_Times

type ExternalStopVisit_Times struct {
	Aimed    *timestamp.Timestamp `protobuf:"bytes,1,opt,name=aimed,proto3" json:"aimed,omitempty"`
	Expected *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expected,proto3" json:"expected,omitempty"`
	Actual   *timestamp.Timestamp `protobuf:"bytes,3,opt,name=actual,proto3" json:"actual,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalStopVisit_Times) Descriptor deprecated

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

Deprecated: Use ExternalStopVisit_Times.ProtoReflect.Descriptor instead.

func (*ExternalStopVisit_Times) GetActual

func (*ExternalStopVisit_Times) GetAimed

func (*ExternalStopVisit_Times) GetExpected

func (x *ExternalStopVisit_Times) GetExpected() *timestamp.Timestamp

func (*ExternalStopVisit_Times) ProtoMessage

func (*ExternalStopVisit_Times) ProtoMessage()

func (*ExternalStopVisit_Times) ProtoReflect added in v0.0.8

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

func (*ExternalStopVisit_Times) Reset

func (x *ExternalStopVisit_Times) Reset()

func (*ExternalStopVisit_Times) String

func (x *ExternalStopVisit_Times) String() string

type ExternalVehicle added in v0.0.4

type ExternalVehicle struct {
	Objectid          string               `protobuf:"bytes,1,opt,name=objectid,proto3" json:"objectid,omitempty"`
	VehicleJourneyRef string               `protobuf:"bytes,2,opt,name=vehicleJourneyRef,proto3" json:"vehicleJourneyRef,omitempty"`
	Longitude         float64              `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
	Latitude          float64              `protobuf:"fixed64,4,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Bearing           float64              `protobuf:"fixed64,5,opt,name=bearing,proto3" json:"bearing,omitempty"`
	RecordedAt        *timestamp.Timestamp `protobuf:"bytes,6,opt,name=recordedAt,proto3" json:"recordedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalVehicle) Descriptor deprecated added in v0.0.4

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

Deprecated: Use ExternalVehicle.ProtoReflect.Descriptor instead.

func (*ExternalVehicle) GetBearing added in v0.0.4

func (x *ExternalVehicle) GetBearing() float64

func (*ExternalVehicle) GetLatitude added in v0.0.4

func (x *ExternalVehicle) GetLatitude() float64

func (*ExternalVehicle) GetLongitude added in v0.0.4

func (x *ExternalVehicle) GetLongitude() float64

func (*ExternalVehicle) GetObjectid added in v0.0.4

func (x *ExternalVehicle) GetObjectid() string

func (*ExternalVehicle) GetRecordedAt added in v0.0.9

func (x *ExternalVehicle) GetRecordedAt() *timestamp.Timestamp

func (*ExternalVehicle) GetVehicleJourneyRef added in v0.0.4

func (x *ExternalVehicle) GetVehicleJourneyRef() string

func (*ExternalVehicle) ProtoMessage added in v0.0.4

func (*ExternalVehicle) ProtoMessage()

func (*ExternalVehicle) ProtoReflect added in v0.0.8

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

func (*ExternalVehicle) Reset added in v0.0.4

func (x *ExternalVehicle) Reset()

func (*ExternalVehicle) String added in v0.0.4

func (x *ExternalVehicle) String() string

type ExternalVehicleJourney

type ExternalVehicleJourney struct {
	Objectid        string `protobuf:"bytes,1,opt,name=objectid,proto3" json:"objectid,omitempty"`
	LineRef         string `protobuf:"bytes,2,opt,name=lineRef,proto3" json:"lineRef,omitempty"`
	OriginRef       string `protobuf:"bytes,3,opt,name=originRef,proto3" json:"originRef,omitempty"`
	OriginName      string `protobuf:"bytes,4,opt,name=originName,proto3" json:"originName,omitempty"`
	DestinationRef  string `protobuf:"bytes,5,opt,name=destinationRef,proto3" json:"destinationRef,omitempty"`
	DestinationName string `protobuf:"bytes,6,opt,name=destinationName,proto3" json:"destinationName,omitempty"`
	Direction       string `protobuf:"bytes,7,opt,name=direction,proto3" json:"direction,omitempty"`
	ViaName         string `protobuf:"bytes,8,opt,name=viaName,proto3" json:"viaName,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalVehicleJourney) Descriptor deprecated

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

Deprecated: Use ExternalVehicleJourney.ProtoReflect.Descriptor instead.

func (*ExternalVehicleJourney) GetDestinationName

func (x *ExternalVehicleJourney) GetDestinationName() string

func (*ExternalVehicleJourney) GetDestinationRef

func (x *ExternalVehicleJourney) GetDestinationRef() string

func (*ExternalVehicleJourney) GetDirection

func (x *ExternalVehicleJourney) GetDirection() string

func (*ExternalVehicleJourney) GetLineRef

func (x *ExternalVehicleJourney) GetLineRef() string

func (*ExternalVehicleJourney) GetObjectid

func (x *ExternalVehicleJourney) GetObjectid() string

func (*ExternalVehicleJourney) GetOriginName

func (x *ExternalVehicleJourney) GetOriginName() string

func (*ExternalVehicleJourney) GetOriginRef

func (x *ExternalVehicleJourney) GetOriginRef() string

func (*ExternalVehicleJourney) GetViaName

func (x *ExternalVehicleJourney) GetViaName() string

func (*ExternalVehicleJourney) ProtoMessage

func (*ExternalVehicleJourney) ProtoMessage()

func (*ExternalVehicleJourney) ProtoReflect added in v0.0.8

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

func (*ExternalVehicleJourney) Reset

func (x *ExternalVehicleJourney) Reset()

func (*ExternalVehicleJourney) String

func (x *ExternalVehicleJourney) String() string

Jump to

Keyboard shortcuts

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