external_models

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: Apache-2.0 Imports: 4 Imported by: 3

README

ara-external-models

Protocol Buffers structures for exchanges with Ara (https://github.com/af83/edwig)

Modifications

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

Change the protobuf files in /inputs, then run make compile

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*ExternalCompleteModel) Descriptor added in v0.0.2

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

func (*ExternalCompleteModel) GetLines added in v0.0.2

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

func (*ExternalCompleteModel) GetStopAreas added in v0.0.2

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

func (*ExternalCompleteModel) GetStopVisits added in v0.0.2

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

func (*ExternalCompleteModel) GetVehicleJourneys added in v0.0.2

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

func (*ExternalCompleteModel) ProtoMessage added in v0.0.2

func (*ExternalCompleteModel) ProtoMessage()

func (*ExternalCompleteModel) Reset added in v0.0.2

func (m *ExternalCompleteModel) Reset()

func (*ExternalCompleteModel) String added in v0.0.2

func (m *ExternalCompleteModel) String() string

func (*ExternalCompleteModel) XXX_DiscardUnknown added in v0.0.2

func (m *ExternalCompleteModel) XXX_DiscardUnknown()

func (*ExternalCompleteModel) XXX_Marshal added in v0.0.2

func (m *ExternalCompleteModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalCompleteModel) XXX_Merge added in v0.0.2

func (m *ExternalCompleteModel) XXX_Merge(src proto.Message)

func (*ExternalCompleteModel) XXX_Size added in v0.0.2

func (m *ExternalCompleteModel) XXX_Size() int

func (*ExternalCompleteModel) XXX_Unmarshal added in v0.0.2

func (m *ExternalCompleteModel) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExternalLine) Descriptor

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

func (*ExternalLine) GetName

func (m *ExternalLine) GetName() string

func (*ExternalLine) GetObjectid

func (m *ExternalLine) GetObjectid() string

func (*ExternalLine) ProtoMessage

func (*ExternalLine) ProtoMessage()

func (*ExternalLine) Reset

func (m *ExternalLine) Reset()

func (*ExternalLine) String

func (m *ExternalLine) String() string

func (*ExternalLine) XXX_DiscardUnknown

func (m *ExternalLine) XXX_DiscardUnknown()

func (*ExternalLine) XXX_Marshal

func (m *ExternalLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalLine) XXX_Merge

func (m *ExternalLine) XXX_Merge(src proto.Message)

func (*ExternalLine) XXX_Size

func (m *ExternalLine) XXX_Size() int

func (*ExternalLine) XXX_Unmarshal

func (m *ExternalLine) XXX_Unmarshal(b []byte) error

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"`
	PositionX            float64  `protobuf:"fixed64,3,opt,name=position_x,json=positionX,proto3" json:"position_x,omitempty"`
	PositionY            float64  `protobuf:"fixed64,4,opt,name=position_y,json=positionY,proto3" json:"position_y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExternalStopArea) Descriptor

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

func (*ExternalStopArea) GetName

func (m *ExternalStopArea) GetName() string

func (*ExternalStopArea) GetObjectid

func (m *ExternalStopArea) GetObjectid() string

func (*ExternalStopArea) GetPositionX

func (m *ExternalStopArea) GetPositionX() float64

func (*ExternalStopArea) GetPositionY

func (m *ExternalStopArea) GetPositionY() float64

func (*ExternalStopArea) ProtoMessage

func (*ExternalStopArea) ProtoMessage()

func (*ExternalStopArea) Reset

func (m *ExternalStopArea) Reset()

func (*ExternalStopArea) String

func (m *ExternalStopArea) String() string

func (*ExternalStopArea) XXX_DiscardUnknown

func (m *ExternalStopArea) XXX_DiscardUnknown()

func (*ExternalStopArea) XXX_Marshal

func (m *ExternalStopArea) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalStopArea) XXX_Merge

func (m *ExternalStopArea) XXX_Merge(src proto.Message)

func (*ExternalStopArea) XXX_Size

func (m *ExternalStopArea) XXX_Size() int

func (*ExternalStopArea) XXX_Unmarshal

func (m *ExternalStopArea) XXX_Unmarshal(b []byte) error

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         string                   `protobuf:"bytes,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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ExternalStopVisit) Descriptor

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

func (*ExternalStopVisit) GetArrivalTimes

func (m *ExternalStopVisit) GetArrivalTimes() *ExternalStopVisit_Times

func (*ExternalStopVisit) GetDepartureTimes

func (m *ExternalStopVisit) GetDepartureTimes() *ExternalStopVisit_Times

func (*ExternalStopVisit) GetMonitored

func (m *ExternalStopVisit) GetMonitored() bool

func (*ExternalStopVisit) GetObjectid

func (m *ExternalStopVisit) GetObjectid() string

func (*ExternalStopVisit) GetPassageOrder

func (m *ExternalStopVisit) GetPassageOrder() string

func (*ExternalStopVisit) GetStopAreaRef

func (m *ExternalStopVisit) GetStopAreaRef() string

func (*ExternalStopVisit) GetVehicleJourneyRef

func (m *ExternalStopVisit) GetVehicleJourneyRef() string

func (*ExternalStopVisit) ProtoMessage

func (*ExternalStopVisit) ProtoMessage()

func (*ExternalStopVisit) Reset

func (m *ExternalStopVisit) Reset()

func (*ExternalStopVisit) String

func (m *ExternalStopVisit) String() string

func (*ExternalStopVisit) XXX_DiscardUnknown

func (m *ExternalStopVisit) XXX_DiscardUnknown()

func (*ExternalStopVisit) XXX_Marshal

func (m *ExternalStopVisit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalStopVisit) XXX_Merge

func (m *ExternalStopVisit) XXX_Merge(src proto.Message)

func (*ExternalStopVisit) XXX_Size

func (m *ExternalStopVisit) XXX_Size() int

func (*ExternalStopVisit) XXX_Unmarshal

func (m *ExternalStopVisit) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ExternalStopVisit_Times) Descriptor

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

func (*ExternalStopVisit_Times) GetActual

func (*ExternalStopVisit_Times) GetAimed

func (*ExternalStopVisit_Times) GetExpected

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

func (*ExternalStopVisit_Times) ProtoMessage

func (*ExternalStopVisit_Times) ProtoMessage()

func (*ExternalStopVisit_Times) Reset

func (m *ExternalStopVisit_Times) Reset()

func (*ExternalStopVisit_Times) String

func (m *ExternalStopVisit_Times) String() string

func (*ExternalStopVisit_Times) XXX_DiscardUnknown

func (m *ExternalStopVisit_Times) XXX_DiscardUnknown()

func (*ExternalStopVisit_Times) XXX_Marshal

func (m *ExternalStopVisit_Times) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalStopVisit_Times) XXX_Merge

func (m *ExternalStopVisit_Times) XXX_Merge(src proto.Message)

func (*ExternalStopVisit_Times) XXX_Size

func (m *ExternalStopVisit_Times) XXX_Size() int

func (*ExternalStopVisit_Times) XXX_Unmarshal

func (m *ExternalStopVisit_Times) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExternalVehicleJourney) Descriptor

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

func (*ExternalVehicleJourney) GetDestinationName

func (m *ExternalVehicleJourney) GetDestinationName() string

func (*ExternalVehicleJourney) GetDestinationRef

func (m *ExternalVehicleJourney) GetDestinationRef() string

func (*ExternalVehicleJourney) GetDirection

func (m *ExternalVehicleJourney) GetDirection() string

func (*ExternalVehicleJourney) GetLineRef

func (m *ExternalVehicleJourney) GetLineRef() string

func (*ExternalVehicleJourney) GetObjectid

func (m *ExternalVehicleJourney) GetObjectid() string

func (*ExternalVehicleJourney) GetOriginName

func (m *ExternalVehicleJourney) GetOriginName() string

func (*ExternalVehicleJourney) GetOriginRef

func (m *ExternalVehicleJourney) GetOriginRef() string

func (*ExternalVehicleJourney) GetViaName

func (m *ExternalVehicleJourney) GetViaName() string

func (*ExternalVehicleJourney) ProtoMessage

func (*ExternalVehicleJourney) ProtoMessage()

func (*ExternalVehicleJourney) Reset

func (m *ExternalVehicleJourney) Reset()

func (*ExternalVehicleJourney) String

func (m *ExternalVehicleJourney) String() string

func (*ExternalVehicleJourney) XXX_DiscardUnknown

func (m *ExternalVehicleJourney) XXX_DiscardUnknown()

func (*ExternalVehicleJourney) XXX_Marshal

func (m *ExternalVehicleJourney) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalVehicleJourney) XXX_Merge

func (m *ExternalVehicleJourney) XXX_Merge(src proto.Message)

func (*ExternalVehicleJourney) XXX_Size

func (m *ExternalVehicleJourney) XXX_Size() int

func (*ExternalVehicleJourney) XXX_Unmarshal

func (m *ExternalVehicleJourney) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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