999 lines
39 KiB
Go
999 lines
39 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.19.4
|
|
// source: transit.proto
|
|
|
|
package valhalla
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Transit_VehicleType int32
|
|
|
|
const (
|
|
Transit_kTram Transit_VehicleType = 0
|
|
Transit_kMetro Transit_VehicleType = 1
|
|
Transit_kRail Transit_VehicleType = 2
|
|
Transit_kBus Transit_VehicleType = 3
|
|
Transit_kFerry Transit_VehicleType = 4
|
|
Transit_kCableCar Transit_VehicleType = 5
|
|
Transit_kGondola Transit_VehicleType = 6
|
|
Transit_kFunicular Transit_VehicleType = 7
|
|
)
|
|
|
|
// Enum value maps for Transit_VehicleType.
|
|
var (
|
|
Transit_VehicleType_name = map[int32]string{
|
|
0: "kTram",
|
|
1: "kMetro",
|
|
2: "kRail",
|
|
3: "kBus",
|
|
4: "kFerry",
|
|
5: "kCableCar",
|
|
6: "kGondola",
|
|
7: "kFunicular",
|
|
}
|
|
Transit_VehicleType_value = map[string]int32{
|
|
"kTram": 0,
|
|
"kMetro": 1,
|
|
"kRail": 2,
|
|
"kBus": 3,
|
|
"kFerry": 4,
|
|
"kCableCar": 5,
|
|
"kGondola": 6,
|
|
"kFunicular": 7,
|
|
}
|
|
)
|
|
|
|
func (x Transit_VehicleType) Enum() *Transit_VehicleType {
|
|
p := new(Transit_VehicleType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Transit_VehicleType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Transit_VehicleType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_transit_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (Transit_VehicleType) Type() protoreflect.EnumType {
|
|
return &file_transit_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x Transit_VehicleType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *Transit_VehicleType) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = Transit_VehicleType(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use Transit_VehicleType.Descriptor instead.
|
|
func (Transit_VehicleType) EnumDescriptor() ([]byte, []int) {
|
|
return file_transit_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
type Transit struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Nodes []*Transit_Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"`
|
|
StopPairs []*Transit_StopPair `protobuf:"bytes,2,rep,name=stop_pairs,json=stopPairs" json:"stop_pairs,omitempty"`
|
|
Routes []*Transit_Route `protobuf:"bytes,3,rep,name=routes" json:"routes,omitempty"`
|
|
Shapes []*Transit_Shape `protobuf:"bytes,4,rep,name=shapes" json:"shapes,omitempty"`
|
|
}
|
|
|
|
func (x *Transit) Reset() {
|
|
*x = Transit{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_transit_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Transit) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Transit) ProtoMessage() {}
|
|
|
|
func (x *Transit) ProtoReflect() protoreflect.Message {
|
|
mi := &file_transit_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Transit.ProtoReflect.Descriptor instead.
|
|
func (*Transit) Descriptor() ([]byte, []int) {
|
|
return file_transit_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Transit) GetNodes() []*Transit_Node {
|
|
if x != nil {
|
|
return x.Nodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Transit) GetStopPairs() []*Transit_StopPair {
|
|
if x != nil {
|
|
return x.StopPairs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Transit) GetRoutes() []*Transit_Route {
|
|
if x != nil {
|
|
return x.Routes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Transit) GetShapes() []*Transit_Shape {
|
|
if x != nil {
|
|
return x.Shapes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Transit_Node struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Lon *float64 `protobuf:"fixed64,1,opt,name=lon" json:"lon,omitempty"`
|
|
Lat *float64 `protobuf:"fixed64,2,opt,name=lat" json:"lat,omitempty"`
|
|
Type *uint32 `protobuf:"varint,3,opt,name=type" json:"type,omitempty"` // comes from baldr::NodeType
|
|
Graphid *uint64 `protobuf:"varint,4,opt,name=graphid" json:"graphid,omitempty"`
|
|
PrevTypeGraphid *uint64 `protobuf:"varint,5,opt,name=prev_type_graphid,json=prevTypeGraphid" json:"prev_type_graphid,omitempty"`
|
|
Name *string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"`
|
|
OnestopId *string `protobuf:"bytes,7,opt,name=onestop_id,json=onestopId" json:"onestop_id,omitempty"`
|
|
OsmConnectingWayId *uint64 `protobuf:"varint,8,opt,name=osm_connecting_way_id,json=osmConnectingWayId" json:"osm_connecting_way_id,omitempty"` // use as a hint to connect to osm
|
|
Timezone *string `protobuf:"bytes,9,opt,name=timezone" json:"timezone,omitempty"`
|
|
WheelchairBoarding *bool `protobuf:"varint,10,opt,name=wheelchair_boarding,json=wheelchairBoarding" json:"wheelchair_boarding,omitempty"`
|
|
Generated *bool `protobuf:"varint,11,opt,name=generated" json:"generated,omitempty"`
|
|
Traversability *uint32 `protobuf:"varint,12,opt,name=traversability" json:"traversability,omitempty"`
|
|
OsmConnectingLon *float64 `protobuf:"fixed64,13,opt,name=osm_connecting_lon,json=osmConnectingLon" json:"osm_connecting_lon,omitempty"` // use as a hint to connect to osm
|
|
OsmConnectingLat *float64 `protobuf:"fixed64,14,opt,name=osm_connecting_lat,json=osmConnectingLat" json:"osm_connecting_lat,omitempty"` // use as a hint to connect to osm
|
|
}
|
|
|
|
func (x *Transit_Node) Reset() {
|
|
*x = Transit_Node{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_transit_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Transit_Node) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Transit_Node) ProtoMessage() {}
|
|
|
|
func (x *Transit_Node) ProtoReflect() protoreflect.Message {
|
|
mi := &file_transit_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Transit_Node.ProtoReflect.Descriptor instead.
|
|
func (*Transit_Node) Descriptor() ([]byte, []int) {
|
|
return file_transit_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
func (x *Transit_Node) GetLon() float64 {
|
|
if x != nil && x.Lon != nil {
|
|
return *x.Lon
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Node) GetLat() float64 {
|
|
if x != nil && x.Lat != nil {
|
|
return *x.Lat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Node) GetType() uint32 {
|
|
if x != nil && x.Type != nil {
|
|
return *x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Node) GetGraphid() uint64 {
|
|
if x != nil && x.Graphid != nil {
|
|
return *x.Graphid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Node) GetPrevTypeGraphid() uint64 {
|
|
if x != nil && x.PrevTypeGraphid != nil {
|
|
return *x.PrevTypeGraphid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Node) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Node) GetOnestopId() string {
|
|
if x != nil && x.OnestopId != nil {
|
|
return *x.OnestopId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Node) GetOsmConnectingWayId() uint64 {
|
|
if x != nil && x.OsmConnectingWayId != nil {
|
|
return *x.OsmConnectingWayId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Node) GetTimezone() string {
|
|
if x != nil && x.Timezone != nil {
|
|
return *x.Timezone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Node) GetWheelchairBoarding() bool {
|
|
if x != nil && x.WheelchairBoarding != nil {
|
|
return *x.WheelchairBoarding
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Transit_Node) GetGenerated() bool {
|
|
if x != nil && x.Generated != nil {
|
|
return *x.Generated
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Transit_Node) GetTraversability() uint32 {
|
|
if x != nil && x.Traversability != nil {
|
|
return *x.Traversability
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Node) GetOsmConnectingLon() float64 {
|
|
if x != nil && x.OsmConnectingLon != nil {
|
|
return *x.OsmConnectingLon
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Node) GetOsmConnectingLat() float64 {
|
|
if x != nil && x.OsmConnectingLat != nil {
|
|
return *x.OsmConnectingLat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Transit_StopPair struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
BikesAllowed *bool `protobuf:"varint,1,opt,name=bikes_allowed,json=bikesAllowed" json:"bikes_allowed,omitempty"`
|
|
BlockId *uint32 `protobuf:"varint,2,opt,name=block_id,json=blockId" json:"block_id,omitempty"`
|
|
DestinationArrivalTime *uint32 `protobuf:"varint,3,opt,name=destination_arrival_time,json=destinationArrivalTime" json:"destination_arrival_time,omitempty"`
|
|
DestinationGraphid *uint64 `protobuf:"varint,4,opt,name=destination_graphid,json=destinationGraphid" json:"destination_graphid,omitempty"`
|
|
DestinationOnestopId *string `protobuf:"bytes,5,opt,name=destination_onestop_id,json=destinationOnestopId" json:"destination_onestop_id,omitempty"`
|
|
OperatedByOnestopId *string `protobuf:"bytes,6,opt,name=operated_by_onestop_id,json=operatedByOnestopId" json:"operated_by_onestop_id,omitempty"`
|
|
OriginDepartureTime *uint32 `protobuf:"varint,7,opt,name=origin_departure_time,json=originDepartureTime" json:"origin_departure_time,omitempty"`
|
|
OriginGraphid *uint64 `protobuf:"varint,8,opt,name=origin_graphid,json=originGraphid" json:"origin_graphid,omitempty"`
|
|
OriginOnestopId *string `protobuf:"bytes,9,opt,name=origin_onestop_id,json=originOnestopId" json:"origin_onestop_id,omitempty"`
|
|
RouteIndex *uint32 `protobuf:"varint,10,opt,name=route_index,json=routeIndex" json:"route_index,omitempty"`
|
|
ServiceAddedDates []uint32 `protobuf:"varint,11,rep,name=service_added_dates,json=serviceAddedDates" json:"service_added_dates,omitempty"`
|
|
ServiceDaysOfWeek []bool `protobuf:"varint,12,rep,name=service_days_of_week,json=serviceDaysOfWeek" json:"service_days_of_week,omitempty"`
|
|
ServiceEndDate *uint32 `protobuf:"varint,13,opt,name=service_end_date,json=serviceEndDate" json:"service_end_date,omitempty"`
|
|
ServiceExceptDates []uint32 `protobuf:"varint,14,rep,name=service_except_dates,json=serviceExceptDates" json:"service_except_dates,omitempty"`
|
|
ServiceStartDate *uint32 `protobuf:"varint,15,opt,name=service_start_date,json=serviceStartDate" json:"service_start_date,omitempty"`
|
|
TripHeadsign *string `protobuf:"bytes,16,opt,name=trip_headsign,json=tripHeadsign" json:"trip_headsign,omitempty"`
|
|
TripId *uint32 `protobuf:"varint,17,opt,name=trip_id,json=tripId" json:"trip_id,omitempty"`
|
|
WheelchairAccessible *bool `protobuf:"varint,18,opt,name=wheelchair_accessible,json=wheelchairAccessible" json:"wheelchair_accessible,omitempty"`
|
|
ShapeId *uint32 `protobuf:"varint,20,opt,name=shape_id,json=shapeId" json:"shape_id,omitempty"`
|
|
OriginDistTraveled *float32 `protobuf:"fixed32,21,opt,name=origin_dist_traveled,json=originDistTraveled" json:"origin_dist_traveled,omitempty"`
|
|
DestinationDistTraveled *float32 `protobuf:"fixed32,22,opt,name=destination_dist_traveled,json=destinationDistTraveled" json:"destination_dist_traveled,omitempty"`
|
|
FrequencyEndTime *uint32 `protobuf:"varint,23,opt,name=frequency_end_time,json=frequencyEndTime" json:"frequency_end_time,omitempty"`
|
|
FrequencyHeadwaySeconds *uint32 `protobuf:"varint,24,opt,name=frequency_headway_seconds,json=frequencyHeadwaySeconds" json:"frequency_headway_seconds,omitempty"`
|
|
}
|
|
|
|
func (x *Transit_StopPair) Reset() {
|
|
*x = Transit_StopPair{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_transit_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Transit_StopPair) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Transit_StopPair) ProtoMessage() {}
|
|
|
|
func (x *Transit_StopPair) ProtoReflect() protoreflect.Message {
|
|
mi := &file_transit_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Transit_StopPair.ProtoReflect.Descriptor instead.
|
|
func (*Transit_StopPair) Descriptor() ([]byte, []int) {
|
|
return file_transit_proto_rawDescGZIP(), []int{0, 1}
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetBikesAllowed() bool {
|
|
if x != nil && x.BikesAllowed != nil {
|
|
return *x.BikesAllowed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetBlockId() uint32 {
|
|
if x != nil && x.BlockId != nil {
|
|
return *x.BlockId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetDestinationArrivalTime() uint32 {
|
|
if x != nil && x.DestinationArrivalTime != nil {
|
|
return *x.DestinationArrivalTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetDestinationGraphid() uint64 {
|
|
if x != nil && x.DestinationGraphid != nil {
|
|
return *x.DestinationGraphid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetDestinationOnestopId() string {
|
|
if x != nil && x.DestinationOnestopId != nil {
|
|
return *x.DestinationOnestopId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetOperatedByOnestopId() string {
|
|
if x != nil && x.OperatedByOnestopId != nil {
|
|
return *x.OperatedByOnestopId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetOriginDepartureTime() uint32 {
|
|
if x != nil && x.OriginDepartureTime != nil {
|
|
return *x.OriginDepartureTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetOriginGraphid() uint64 {
|
|
if x != nil && x.OriginGraphid != nil {
|
|
return *x.OriginGraphid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetOriginOnestopId() string {
|
|
if x != nil && x.OriginOnestopId != nil {
|
|
return *x.OriginOnestopId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetRouteIndex() uint32 {
|
|
if x != nil && x.RouteIndex != nil {
|
|
return *x.RouteIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetServiceAddedDates() []uint32 {
|
|
if x != nil {
|
|
return x.ServiceAddedDates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetServiceDaysOfWeek() []bool {
|
|
if x != nil {
|
|
return x.ServiceDaysOfWeek
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetServiceEndDate() uint32 {
|
|
if x != nil && x.ServiceEndDate != nil {
|
|
return *x.ServiceEndDate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetServiceExceptDates() []uint32 {
|
|
if x != nil {
|
|
return x.ServiceExceptDates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetServiceStartDate() uint32 {
|
|
if x != nil && x.ServiceStartDate != nil {
|
|
return *x.ServiceStartDate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetTripHeadsign() string {
|
|
if x != nil && x.TripHeadsign != nil {
|
|
return *x.TripHeadsign
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetTripId() uint32 {
|
|
if x != nil && x.TripId != nil {
|
|
return *x.TripId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetWheelchairAccessible() bool {
|
|
if x != nil && x.WheelchairAccessible != nil {
|
|
return *x.WheelchairAccessible
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetShapeId() uint32 {
|
|
if x != nil && x.ShapeId != nil {
|
|
return *x.ShapeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetOriginDistTraveled() float32 {
|
|
if x != nil && x.OriginDistTraveled != nil {
|
|
return *x.OriginDistTraveled
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetDestinationDistTraveled() float32 {
|
|
if x != nil && x.DestinationDistTraveled != nil {
|
|
return *x.DestinationDistTraveled
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetFrequencyEndTime() uint32 {
|
|
if x != nil && x.FrequencyEndTime != nil {
|
|
return *x.FrequencyEndTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_StopPair) GetFrequencyHeadwaySeconds() uint32 {
|
|
if x != nil && x.FrequencyHeadwaySeconds != nil {
|
|
return *x.FrequencyHeadwaySeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Transit_Route struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
OnestopId *string `protobuf:"bytes,2,opt,name=onestop_id,json=onestopId" json:"onestop_id,omitempty"`
|
|
OperatedByName *string `protobuf:"bytes,3,opt,name=operated_by_name,json=operatedByName" json:"operated_by_name,omitempty"`
|
|
OperatedByOnestopId *string `protobuf:"bytes,4,opt,name=operated_by_onestop_id,json=operatedByOnestopId" json:"operated_by_onestop_id,omitempty"`
|
|
OperatedByWebsite *string `protobuf:"bytes,5,opt,name=operated_by_website,json=operatedByWebsite" json:"operated_by_website,omitempty"`
|
|
RouteColor *uint32 `protobuf:"varint,6,opt,name=route_color,json=routeColor" json:"route_color,omitempty"`
|
|
RouteDesc *string `protobuf:"bytes,7,opt,name=route_desc,json=routeDesc" json:"route_desc,omitempty"`
|
|
RouteLongName *string `protobuf:"bytes,8,opt,name=route_long_name,json=routeLongName" json:"route_long_name,omitempty"`
|
|
RouteTextColor *uint32 `protobuf:"varint,9,opt,name=route_text_color,json=routeTextColor" json:"route_text_color,omitempty"`
|
|
VehicleType *Transit_VehicleType `protobuf:"varint,10,opt,name=vehicle_type,json=vehicleType,enum=valhalla.mjolnir.Transit_VehicleType" json:"vehicle_type,omitempty"`
|
|
}
|
|
|
|
func (x *Transit_Route) Reset() {
|
|
*x = Transit_Route{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_transit_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Transit_Route) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Transit_Route) ProtoMessage() {}
|
|
|
|
func (x *Transit_Route) ProtoReflect() protoreflect.Message {
|
|
mi := &file_transit_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Transit_Route.ProtoReflect.Descriptor instead.
|
|
func (*Transit_Route) Descriptor() ([]byte, []int) {
|
|
return file_transit_proto_rawDescGZIP(), []int{0, 2}
|
|
}
|
|
|
|
func (x *Transit_Route) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Route) GetOnestopId() string {
|
|
if x != nil && x.OnestopId != nil {
|
|
return *x.OnestopId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Route) GetOperatedByName() string {
|
|
if x != nil && x.OperatedByName != nil {
|
|
return *x.OperatedByName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Route) GetOperatedByOnestopId() string {
|
|
if x != nil && x.OperatedByOnestopId != nil {
|
|
return *x.OperatedByOnestopId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Route) GetOperatedByWebsite() string {
|
|
if x != nil && x.OperatedByWebsite != nil {
|
|
return *x.OperatedByWebsite
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Route) GetRouteColor() uint32 {
|
|
if x != nil && x.RouteColor != nil {
|
|
return *x.RouteColor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Route) GetRouteDesc() string {
|
|
if x != nil && x.RouteDesc != nil {
|
|
return *x.RouteDesc
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Route) GetRouteLongName() string {
|
|
if x != nil && x.RouteLongName != nil {
|
|
return *x.RouteLongName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transit_Route) GetRouteTextColor() uint32 {
|
|
if x != nil && x.RouteTextColor != nil {
|
|
return *x.RouteTextColor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Route) GetVehicleType() Transit_VehicleType {
|
|
if x != nil && x.VehicleType != nil {
|
|
return *x.VehicleType
|
|
}
|
|
return Transit_kTram
|
|
}
|
|
|
|
type Transit_Shape struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ShapeId *uint32 `protobuf:"varint,1,opt,name=shape_id,json=shapeId" json:"shape_id,omitempty"`
|
|
EncodedShape []byte `protobuf:"bytes,2,opt,name=encoded_shape,json=encodedShape" json:"encoded_shape,omitempty"`
|
|
}
|
|
|
|
func (x *Transit_Shape) Reset() {
|
|
*x = Transit_Shape{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_transit_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Transit_Shape) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Transit_Shape) ProtoMessage() {}
|
|
|
|
func (x *Transit_Shape) ProtoReflect() protoreflect.Message {
|
|
mi := &file_transit_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Transit_Shape.ProtoReflect.Descriptor instead.
|
|
func (*Transit_Shape) Descriptor() ([]byte, []int) {
|
|
return file_transit_proto_rawDescGZIP(), []int{0, 3}
|
|
}
|
|
|
|
func (x *Transit_Shape) GetShapeId() uint32 {
|
|
if x != nil && x.ShapeId != nil {
|
|
return *x.ShapeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transit_Shape) GetEncodedShape() []byte {
|
|
if x != nil {
|
|
return x.EncodedShape
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_transit_proto protoreflect.FileDescriptor
|
|
|
|
var file_transit_proto_rawDesc = []byte{
|
|
0x0a, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x10, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x6d, 0x6a, 0x6f, 0x6c, 0x6e, 0x69,
|
|
0x72, 0x22, 0xd1, 0x12, 0x0a, 0x07, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x12, 0x34, 0x0a,
|
|
0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76,
|
|
0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x6d, 0x6a, 0x6f, 0x6c, 0x6e, 0x69, 0x72, 0x2e,
|
|
0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f,
|
|
0x64, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x70, 0x61, 0x69, 0x72,
|
|
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c,
|
|
0x6c, 0x61, 0x2e, 0x6d, 0x6a, 0x6f, 0x6c, 0x6e, 0x69, 0x72, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
|
|
0x69, 0x74, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x52, 0x09, 0x73, 0x74, 0x6f,
|
|
0x70, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x37, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73,
|
|
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c,
|
|
0x61, 0x2e, 0x6d, 0x6a, 0x6f, 0x6c, 0x6e, 0x69, 0x72, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69,
|
|
0x74, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12,
|
|
0x37, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x1f, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x6d, 0x6a, 0x6f, 0x6c, 0x6e,
|
|
0x69, 0x72, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x70, 0x65,
|
|
0x52, 0x06, 0x73, 0x68, 0x61, 0x70, 0x65, 0x73, 0x1a, 0xd9, 0x03, 0x0a, 0x04, 0x4e, 0x6f, 0x64,
|
|
0x65, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03,
|
|
0x6c, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01,
|
|
0x52, 0x03, 0x6c, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61,
|
|
0x70, 0x68, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x72, 0x61, 0x70,
|
|
0x68, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
|
0x5f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
|
|
0x70, 0x72, 0x65, 0x76, 0x54, 0x79, 0x70, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x64, 0x12,
|
|
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69,
|
|
0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70,
|
|
0x49, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x6f, 0x73, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
|
|
0x74, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x12, 0x6f, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67,
|
|
0x57, 0x61, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e,
|
|
0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e,
|
|
0x65, 0x12, 0x2f, 0x0a, 0x13, 0x77, 0x68, 0x65, 0x65, 0x6c, 0x63, 0x68, 0x61, 0x69, 0x72, 0x5f,
|
|
0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
|
|
0x77, 0x68, 0x65, 0x65, 0x6c, 0x63, 0x68, 0x61, 0x69, 0x72, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x69,
|
|
0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x18,
|
|
0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64,
|
|
0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x76, 0x65, 0x72, 0x73, 0x61, 0x62, 0x69, 0x6c, 0x69,
|
|
0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x76, 0x65, 0x72,
|
|
0x73, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x73, 0x6d, 0x5f,
|
|
0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x6f, 0x6e, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x6f, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
|
|
0x69, 0x6e, 0x67, 0x4c, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x73, 0x6d, 0x5f, 0x63, 0x6f,
|
|
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x61, 0x74, 0x18, 0x0e, 0x20, 0x01,
|
|
0x28, 0x01, 0x52, 0x10, 0x6f, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e,
|
|
0x67, 0x4c, 0x61, 0x74, 0x1a, 0x99, 0x08, 0x0a, 0x08, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x61, 0x69,
|
|
0x72, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69, 0x6b, 0x65, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77,
|
|
0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x69, 0x6b, 0x65, 0x73, 0x41,
|
|
0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
|
|
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49,
|
|
0x64, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x5f, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x41, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x64,
|
|
0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x61, 0x70, 0x68,
|
|
0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x16,
|
|
0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x6e, 0x65, 0x73,
|
|
0x74, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x65,
|
|
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70,
|
|
0x49, 0x64, 0x12, 0x33, 0x0a, 0x16, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62,
|
|
0x79, 0x5f, 0x6f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x13, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x4f, 0x6e,
|
|
0x65, 0x73, 0x74, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x6f, 0x72, 0x69, 0x67, 0x69,
|
|
0x6e, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x44, 0x65,
|
|
0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f,
|
|
0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x64, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x47, 0x72, 0x61, 0x70, 0x68,
|
|
0x69, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x6f, 0x6e, 0x65,
|
|
0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f,
|
|
0x72, 0x69, 0x67, 0x69, 0x6e, 0x4f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12,
|
|
0x2e, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64,
|
|
0x5f, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x73, 0x65,
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x44, 0x61, 0x74, 0x65, 0x73, 0x12,
|
|
0x2f, 0x0a, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x5f,
|
|
0x6f, 0x66, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x08, 0x52, 0x11, 0x73,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x61, 0x79, 0x73, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b,
|
|
0x12, 0x28, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x5f,
|
|
0x64, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76,
|
|
0x69, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65,
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x64, 0x61, 0x74,
|
|
0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
0x65, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x44, 0x61, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12,
|
|
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x64, 0x61,
|
|
0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72,
|
|
0x69, 0x70, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0c, 0x74, 0x72, 0x69, 0x70, 0x48, 0x65, 0x61, 0x64, 0x73, 0x69, 0x67, 0x6e, 0x12,
|
|
0x17, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x06, 0x74, 0x72, 0x69, 0x70, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x77, 0x68, 0x65, 0x65,
|
|
0x6c, 0x63, 0x68, 0x61, 0x69, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c,
|
|
0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x77, 0x68, 0x65, 0x65, 0x6c, 0x63, 0x68,
|
|
0x61, 0x69, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x19, 0x0a,
|
|
0x08, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x07, 0x73, 0x68, 0x61, 0x70, 0x65, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6f, 0x72, 0x69, 0x67,
|
|
0x69, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x65, 0x64,
|
|
0x18, 0x15, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x44, 0x69,
|
|
0x73, 0x74, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x64, 0x65,
|
|
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x5f, 0x74,
|
|
0x72, 0x61, 0x76, 0x65, 0x6c, 0x65, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x02, 0x52, 0x17, 0x64,
|
|
0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x74, 0x54, 0x72,
|
|
0x61, 0x76, 0x65, 0x6c, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65,
|
|
0x6e, 0x63, 0x79, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x17, 0x20, 0x01,
|
|
0x28, 0x0d, 0x52, 0x10, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x45, 0x6e, 0x64,
|
|
0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
|
|
0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x77, 0x61, 0x79, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
|
0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e,
|
|
0x63, 0x79, 0x48, 0x65, 0x61, 0x64, 0x77, 0x61, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73,
|
|
0x1a, 0xa5, 0x03, 0x0a, 0x05, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d,
|
|
0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x28, 0x0a,
|
|
0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65,
|
|
0x64, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
|
0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69,
|
|
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65,
|
|
0x64, 0x42, 0x79, 0x4f, 0x6e, 0x65, 0x73, 0x74, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13,
|
|
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x77, 0x65, 0x62, 0x73,
|
|
0x69, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
|
0x74, 0x65, 0x64, 0x42, 0x79, 0x57, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
|
|
0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x26, 0x0a, 0x0f,
|
|
0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x6e, 0x67,
|
|
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x65,
|
|
0x78, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e,
|
|
0x72, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x48,
|
|
0x0a, 0x0c, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e,
|
|
0x6d, 0x6a, 0x6f, 0x6c, 0x6e, 0x69, 0x72, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x2e,
|
|
0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x76, 0x65, 0x68,
|
|
0x69, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x47, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x70,
|
|
0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x61, 0x70, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d,
|
|
0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x68, 0x61, 0x70, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x53, 0x68, 0x61, 0x70,
|
|
0x65, 0x22, 0x72, 0x0a, 0x0b, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65,
|
|
0x12, 0x09, 0x0a, 0x05, 0x6b, 0x54, 0x72, 0x61, 0x6d, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x6b,
|
|
0x4d, 0x65, 0x74, 0x72, 0x6f, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x6b, 0x52, 0x61, 0x69, 0x6c,
|
|
0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x6b, 0x42, 0x75, 0x73, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06,
|
|
0x6b, 0x46, 0x65, 0x72, 0x72, 0x79, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x6b, 0x43, 0x61, 0x62,
|
|
0x6c, 0x65, 0x43, 0x61, 0x72, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x6b, 0x47, 0x6f, 0x6e, 0x64,
|
|
0x6f, 0x6c, 0x61, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x6b, 0x46, 0x75, 0x6e, 0x69, 0x63, 0x75,
|
|
0x6c, 0x61, 0x72, 0x10, 0x07, 0x42, 0x40, 0x48, 0x03, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x2e, 0x63,
|
|
0x6f, 0x6f, 0x70, 0x67, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x63, 0x6f, 0x6f, 0x70, 0x67, 0x6f, 0x2d,
|
|
0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
|
|
0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76,
|
|
0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61,
|
|
}
|
|
|
|
var (
|
|
file_transit_proto_rawDescOnce sync.Once
|
|
file_transit_proto_rawDescData = file_transit_proto_rawDesc
|
|
)
|
|
|
|
func file_transit_proto_rawDescGZIP() []byte {
|
|
file_transit_proto_rawDescOnce.Do(func() {
|
|
file_transit_proto_rawDescData = protoimpl.X.CompressGZIP(file_transit_proto_rawDescData)
|
|
})
|
|
return file_transit_proto_rawDescData
|
|
}
|
|
|
|
var file_transit_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_transit_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_transit_proto_goTypes = []interface{}{
|
|
(Transit_VehicleType)(0), // 0: valhalla.mjolnir.Transit.VehicleType
|
|
(*Transit)(nil), // 1: valhalla.mjolnir.Transit
|
|
(*Transit_Node)(nil), // 2: valhalla.mjolnir.Transit.Node
|
|
(*Transit_StopPair)(nil), // 3: valhalla.mjolnir.Transit.StopPair
|
|
(*Transit_Route)(nil), // 4: valhalla.mjolnir.Transit.Route
|
|
(*Transit_Shape)(nil), // 5: valhalla.mjolnir.Transit.Shape
|
|
}
|
|
var file_transit_proto_depIdxs = []int32{
|
|
2, // 0: valhalla.mjolnir.Transit.nodes:type_name -> valhalla.mjolnir.Transit.Node
|
|
3, // 1: valhalla.mjolnir.Transit.stop_pairs:type_name -> valhalla.mjolnir.Transit.StopPair
|
|
4, // 2: valhalla.mjolnir.Transit.routes:type_name -> valhalla.mjolnir.Transit.Route
|
|
5, // 3: valhalla.mjolnir.Transit.shapes:type_name -> valhalla.mjolnir.Transit.Shape
|
|
0, // 4: valhalla.mjolnir.Transit.Route.vehicle_type:type_name -> valhalla.mjolnir.Transit.VehicleType
|
|
5, // [5:5] is the sub-list for method output_type
|
|
5, // [5:5] is the sub-list for method input_type
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
5, // [5:5] is the sub-list for extension extendee
|
|
0, // [0:5] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_transit_proto_init() }
|
|
func file_transit_proto_init() {
|
|
if File_transit_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_transit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Transit); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_transit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Transit_Node); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_transit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Transit_StopPair); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_transit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Transit_Route); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_transit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Transit_Shape); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_transit_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_transit_proto_goTypes,
|
|
DependencyIndexes: file_transit_proto_depIdxs,
|
|
EnumInfos: file_transit_proto_enumTypes,
|
|
MessageInfos: file_transit_proto_msgTypes,
|
|
}.Build()
|
|
File_transit_proto = out.File
|
|
file_transit_proto_rawDesc = nil
|
|
file_transit_proto_goTypes = nil
|
|
file_transit_proto_depIdxs = nil
|
|
}
|