ptransit

package module
v0.0.0-...-afd3805 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PTService

type PTService struct {
	OperatorId                int32              `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	LineId                    int32              `protobuf:"varint,2,opt,name=line_id,json=lineId,proto3" json:"line_id,omitempty"`
	PastStationId             int32              `protobuf:"varint,3,opt,name=past_station_id,json=pastStationId,proto3" json:"past_station_id,omitempty"`
	StationGroupId            int32              `protobuf:"varint,4,opt,name=station_group_id,json=stationGroupId,proto3" json:"station_group_id,omitempty"`
	NextStationId             int32              `protobuf:"varint,5,opt,name=next_station_id,json=nextStationId,proto3" json:"next_station_id,omitempty"`
	NextStationName           string             `protobuf:"bytes,6,opt,name=next_station_name,json=nextStationName,proto3" json:"next_station_name,omitempty"`
	VehicleId                 int32              `protobuf:"varint,7,opt,name=vehicle_id,json=vehicleId,proto3" json:"vehicle_id,omitempty"`
	Angle                     float32            `protobuf:"fixed32,8,opt,name=angle,proto3" json:"angle,omitempty"`
	Speed                     int32              `protobuf:"varint,9,opt,name=speed,proto3" json:"speed,omitempty"`
	CurrentLocation           *common.Place      `protobuf:"bytes,10,opt,name=current_location,json=currentLocation,proto3" json:"current_location,omitempty"`
	NextArraivalTimetableTime *common.Time       `` /* 141-byte string literal not displayed */
	PastDepartureTime         *common.Time       `protobuf:"bytes,12,opt,name=past_departure_time,json=pastDepartureTime,proto3" json:"past_departure_time,omitempty"`
	DelayTime                 *duration.Duration `protobuf:"bytes,13,opt,name=delay_time,json=delayTime,proto3" json:"delay_time,omitempty"`
	VehicleType               int32              `protobuf:"varint,14,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type,omitempty"`
	XXX_NoUnkeyedLiteral      struct{}           `json:"-"`
	XXX_unrecognized          []byte             `json:"-"`
	XXX_sizecache             int32              `json:"-"`
}

func (*PTService) Descriptor

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

func (*PTService) GetAngle

func (m *PTService) GetAngle() float32

func (*PTService) GetCurrentLocation

func (m *PTService) GetCurrentLocation() *common.Place

func (*PTService) GetDelayTime

func (m *PTService) GetDelayTime() *duration.Duration

func (*PTService) GetLineId

func (m *PTService) GetLineId() int32

func (*PTService) GetNextArraivalTimetableTime

func (m *PTService) GetNextArraivalTimetableTime() *common.Time

func (*PTService) GetNextStationId

func (m *PTService) GetNextStationId() int32

func (*PTService) GetNextStationName

func (m *PTService) GetNextStationName() string

func (*PTService) GetOperatorId

func (m *PTService) GetOperatorId() int32

func (*PTService) GetPastDepartureTime

func (m *PTService) GetPastDepartureTime() *common.Time

func (*PTService) GetPastStationId

func (m *PTService) GetPastStationId() int32

func (*PTService) GetSpeed

func (m *PTService) GetSpeed() int32

func (*PTService) GetStationGroupId

func (m *PTService) GetStationGroupId() int32

func (*PTService) GetVehicleId

func (m *PTService) GetVehicleId() int32

func (*PTService) GetVehicleType

func (m *PTService) GetVehicleType() int32

func (*PTService) ProtoMessage

func (*PTService) ProtoMessage()

func (*PTService) Reset

func (m *PTService) Reset()

func (*PTService) String

func (m *PTService) String() string

func (*PTService) XXX_DiscardUnknown

func (m *PTService) XXX_DiscardUnknown()

func (*PTService) XXX_Marshal

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

func (*PTService) XXX_Merge

func (dst *PTService) XXX_Merge(src proto.Message)

func (*PTService) XXX_Size

func (m *PTService) XXX_Size() int

func (*PTService) XXX_Unmarshal

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

type PTgtfs

type PTgtfs struct {
	GtfsName             string   `protobuf:"bytes,1,opt,name=gtfs_name,json=gtfsName,proto3" json:"gtfs_name,omitempty"`
	Gtfs                 []byte   `protobuf:"bytes,2,opt,name=gtfs,proto3" json:"gtfs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PTgtfs) Descriptor

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

func (*PTgtfs) GetGtfs

func (m *PTgtfs) GetGtfs() []byte

func (*PTgtfs) GetGtfsName

func (m *PTgtfs) GetGtfsName() string

func (*PTgtfs) ProtoMessage

func (*PTgtfs) ProtoMessage()

func (*PTgtfs) Reset

func (m *PTgtfs) Reset()

func (*PTgtfs) String

func (m *PTgtfs) String() string

func (*PTgtfs) XXX_DiscardUnknown

func (m *PTgtfs) XXX_DiscardUnknown()

func (*PTgtfs) XXX_Marshal

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

func (*PTgtfs) XXX_Merge

func (dst *PTgtfs) XXX_Merge(src proto.Message)

func (*PTgtfs) XXX_Size

func (m *PTgtfs) XXX_Size() int

func (*PTgtfs) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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