proto_ptransit

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

proto_ptransit

Public Transit Protocol for Synerex beta

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"`
	Lat                       float32              `protobuf:"fixed32,10,opt,name=lat,proto3" json:"lat,omitempty"`
	Lon                       float32              `protobuf:"fixed32,11,opt,name=lon,proto3" json:"lon,omitempty"`
	NextArraivalTimetableTime *timestamp.Timestamp `` /* 141-byte string literal not displayed */
	PastDepartureTime         *timestamp.Timestamp `protobuf:"bytes,13,opt,name=past_departure_time,json=pastDepartureTime,proto3" json:"past_departure_time,omitempty"`
	DelayTime                 *duration.Duration   `protobuf:"bytes,14,opt,name=delay_time,json=delayTime,proto3" json:"delay_time,omitempty"`
	VehicleType               int32                `protobuf:"varint,15,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) GetDelayTime

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

func (*PTService) GetLat added in v0.0.6

func (m *PTService) GetLat() float32

func (*PTService) GetLineId

func (m *PTService) GetLineId() int32

func (*PTService) GetLon added in v0.0.6

func (m *PTService) GetLon() float32

func (*PTService) GetNextArraivalTimetableTime added in v0.0.6

func (m *PTService) GetNextArraivalTimetableTime() *timestamp.Timestamp

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 added in v0.0.6

func (m *PTService) GetPastDepartureTime() *timestamp.Timestamp

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