Documentation
¶
Index ¶
- type PTService
- func (*PTService) Descriptor() ([]byte, []int)
- func (m *PTService) GetAngle() float32
- func (m *PTService) GetDelayTime() *duration.Duration
- func (m *PTService) GetLat() float32
- func (m *PTService) GetLineId() int32
- func (m *PTService) GetLon() float32
- func (m *PTService) GetNextArraivalTimetableTime() *timestamp.Timestamp
- func (m *PTService) GetNextStationId() int32
- func (m *PTService) GetNextStationName() string
- func (m *PTService) GetOperatorId() int32
- func (m *PTService) GetPastDepartureTime() *timestamp.Timestamp
- func (m *PTService) GetPastStationId() int32
- func (m *PTService) GetSpeed() int32
- func (m *PTService) GetStationGroupId() int32
- func (m *PTService) GetVehicleId() int32
- func (m *PTService) GetVehicleType() int32
- func (*PTService) ProtoMessage()
- func (m *PTService) Reset()
- func (m *PTService) String() string
- func (m *PTService) XXX_DiscardUnknown()
- func (m *PTService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PTService) XXX_Merge(src proto.Message)
- func (m *PTService) XXX_Size() int
- func (m *PTService) XXX_Unmarshal(b []byte) error
- type PTgtfs
- func (*PTgtfs) Descriptor() ([]byte, []int)
- func (m *PTgtfs) GetGtfs() []byte
- func (m *PTgtfs) GetGtfsName() string
- func (*PTgtfs) ProtoMessage()
- func (m *PTgtfs) Reset()
- func (m *PTgtfs) String() string
- func (m *PTgtfs) XXX_DiscardUnknown()
- func (m *PTgtfs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PTgtfs) XXX_Merge(src proto.Message)
- func (m *PTgtfs) XXX_Size() int
- func (m *PTgtfs) XXX_Unmarshal(b []byte) error
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) GetDelayTime ¶
func (*PTService) GetNextArraivalTimetableTime ¶ added in v0.0.6
func (*PTService) GetNextStationId ¶
func (*PTService) GetNextStationName ¶
func (*PTService) GetOperatorId ¶
func (*PTService) GetPastDepartureTime ¶ added in v0.0.6
func (*PTService) GetPastStationId ¶
func (*PTService) GetStationGroupId ¶
func (*PTService) GetVehicleId ¶
func (*PTService) GetVehicleType ¶
func (*PTService) ProtoMessage ¶
func (*PTService) ProtoMessage()
func (*PTService) XXX_DiscardUnknown ¶
func (m *PTService) XXX_DiscardUnknown()
func (*PTService) XXX_Marshal ¶
func (*PTService) XXX_Unmarshal ¶
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) GetGtfsName ¶
func (*PTgtfs) ProtoMessage ¶
func (*PTgtfs) ProtoMessage()
func (*PTgtfs) XXX_DiscardUnknown ¶
func (m *PTgtfs) XXX_DiscardUnknown()
func (*PTgtfs) XXX_Marshal ¶
func (*PTgtfs) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.