938 lines
38 KiB
Go
938 lines
38 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.28.0
|
||
|
// protoc v3.19.4
|
||
|
// source: transit_fetch.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_Fetch_VehicleType int32
|
||
|
|
||
|
const (
|
||
|
Transit_Fetch_kTram Transit_Fetch_VehicleType = 0
|
||
|
Transit_Fetch_kMetro Transit_Fetch_VehicleType = 1
|
||
|
Transit_Fetch_kRail Transit_Fetch_VehicleType = 2
|
||
|
Transit_Fetch_kBus Transit_Fetch_VehicleType = 3
|
||
|
Transit_Fetch_kFerry Transit_Fetch_VehicleType = 4
|
||
|
Transit_Fetch_kCableCar Transit_Fetch_VehicleType = 5
|
||
|
Transit_Fetch_kGondola Transit_Fetch_VehicleType = 6
|
||
|
Transit_Fetch_kFunicular Transit_Fetch_VehicleType = 7
|
||
|
)
|
||
|
|
||
|
// Enum value maps for Transit_Fetch_VehicleType.
|
||
|
var (
|
||
|
Transit_Fetch_VehicleType_name = map[int32]string{
|
||
|
0: "kTram",
|
||
|
1: "kMetro",
|
||
|
2: "kRail",
|
||
|
3: "kBus",
|
||
|
4: "kFerry",
|
||
|
5: "kCableCar",
|
||
|
6: "kGondola",
|
||
|
7: "kFunicular",
|
||
|
}
|
||
|
Transit_Fetch_VehicleType_value = map[string]int32{
|
||
|
"kTram": 0,
|
||
|
"kMetro": 1,
|
||
|
"kRail": 2,
|
||
|
"kBus": 3,
|
||
|
"kFerry": 4,
|
||
|
"kCableCar": 5,
|
||
|
"kGondola": 6,
|
||
|
"kFunicular": 7,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x Transit_Fetch_VehicleType) Enum() *Transit_Fetch_VehicleType {
|
||
|
p := new(Transit_Fetch_VehicleType)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x Transit_Fetch_VehicleType) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (Transit_Fetch_VehicleType) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_transit_fetch_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (Transit_Fetch_VehicleType) Type() protoreflect.EnumType {
|
||
|
return &file_transit_fetch_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x Transit_Fetch_VehicleType) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Do not use.
|
||
|
func (x *Transit_Fetch_VehicleType) UnmarshalJSON(b []byte) error {
|
||
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
*x = Transit_Fetch_VehicleType(num)
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Transit_Fetch_VehicleType.Descriptor instead.
|
||
|
func (Transit_Fetch_VehicleType) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_transit_fetch_proto_rawDescGZIP(), []int{0, 0}
|
||
|
}
|
||
|
|
||
|
type Transit_Fetch struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Stops []*Transit_Fetch_Stop `protobuf:"bytes,1,rep,name=stops" json:"stops,omitempty"`
|
||
|
StopPairs []*Transit_Fetch_StopPair `protobuf:"bytes,2,rep,name=stop_pairs,json=stopPairs" json:"stop_pairs,omitempty"`
|
||
|
Routes []*Transit_Fetch_Route `protobuf:"bytes,3,rep,name=routes" json:"routes,omitempty"`
|
||
|
Shapes []*Transit_Fetch_Shape `protobuf:"bytes,4,rep,name=shapes" json:"shapes,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch) Reset() {
|
||
|
*x = Transit_Fetch{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_transit_fetch_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Transit_Fetch) ProtoMessage() {}
|
||
|
|
||
|
func (x *Transit_Fetch) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_transit_fetch_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_Fetch.ProtoReflect.Descriptor instead.
|
||
|
func (*Transit_Fetch) Descriptor() ([]byte, []int) {
|
||
|
return file_transit_fetch_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch) GetStops() []*Transit_Fetch_Stop {
|
||
|
if x != nil {
|
||
|
return x.Stops
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch) GetStopPairs() []*Transit_Fetch_StopPair {
|
||
|
if x != nil {
|
||
|
return x.StopPairs
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch) GetRoutes() []*Transit_Fetch_Route {
|
||
|
if x != nil {
|
||
|
return x.Routes
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch) GetShapes() []*Transit_Fetch_Shape {
|
||
|
if x != nil {
|
||
|
return x.Shapes
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type Transit_Fetch_Stop struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Lon *float32 `protobuf:"fixed32,1,opt,name=lon" json:"lon,omitempty"`
|
||
|
Lat *float32 `protobuf:"fixed32,2,opt,name=lat" json:"lat,omitempty"`
|
||
|
Graphid *uint64 `protobuf:"varint,3,opt,name=graphid" json:"graphid,omitempty"`
|
||
|
Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
|
||
|
OnestopId *string `protobuf:"bytes,5,opt,name=onestop_id,json=onestopId" json:"onestop_id,omitempty"`
|
||
|
OsmWayId *uint64 `protobuf:"varint,6,opt,name=osm_way_id,json=osmWayId" json:"osm_way_id,omitempty"`
|
||
|
Timezone *string `protobuf:"bytes,8,opt,name=timezone" json:"timezone,omitempty"`
|
||
|
WheelchairBoarding *bool `protobuf:"varint,9,opt,name=wheelchair_boarding,json=wheelchairBoarding" json:"wheelchair_boarding,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) Reset() {
|
||
|
*x = Transit_Fetch_Stop{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_transit_fetch_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Transit_Fetch_Stop) ProtoMessage() {}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_transit_fetch_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_Fetch_Stop.ProtoReflect.Descriptor instead.
|
||
|
func (*Transit_Fetch_Stop) Descriptor() ([]byte, []int) {
|
||
|
return file_transit_fetch_proto_rawDescGZIP(), []int{0, 0}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) GetLon() float32 {
|
||
|
if x != nil && x.Lon != nil {
|
||
|
return *x.Lon
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) GetLat() float32 {
|
||
|
if x != nil && x.Lat != nil {
|
||
|
return *x.Lat
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) GetGraphid() uint64 {
|
||
|
if x != nil && x.Graphid != nil {
|
||
|
return *x.Graphid
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) GetName() string {
|
||
|
if x != nil && x.Name != nil {
|
||
|
return *x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) GetOnestopId() string {
|
||
|
if x != nil && x.OnestopId != nil {
|
||
|
return *x.OnestopId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) GetOsmWayId() uint64 {
|
||
|
if x != nil && x.OsmWayId != nil {
|
||
|
return *x.OsmWayId
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) GetTimezone() string {
|
||
|
if x != nil && x.Timezone != nil {
|
||
|
return *x.Timezone
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Stop) GetWheelchairBoarding() bool {
|
||
|
if x != nil && x.WheelchairBoarding != nil {
|
||
|
return *x.WheelchairBoarding
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type Transit_Fetch_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_Fetch_StopPair) Reset() {
|
||
|
*x = Transit_Fetch_StopPair{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_transit_fetch_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Transit_Fetch_StopPair) ProtoMessage() {}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_transit_fetch_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_Fetch_StopPair.ProtoReflect.Descriptor instead.
|
||
|
func (*Transit_Fetch_StopPair) Descriptor() ([]byte, []int) {
|
||
|
return file_transit_fetch_proto_rawDescGZIP(), []int{0, 1}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetBikesAllowed() bool {
|
||
|
if x != nil && x.BikesAllowed != nil {
|
||
|
return *x.BikesAllowed
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetBlockId() uint32 {
|
||
|
if x != nil && x.BlockId != nil {
|
||
|
return *x.BlockId
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetDestinationArrivalTime() uint32 {
|
||
|
if x != nil && x.DestinationArrivalTime != nil {
|
||
|
return *x.DestinationArrivalTime
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetDestinationGraphid() uint64 {
|
||
|
if x != nil && x.DestinationGraphid != nil {
|
||
|
return *x.DestinationGraphid
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetDestinationOnestopId() string {
|
||
|
if x != nil && x.DestinationOnestopId != nil {
|
||
|
return *x.DestinationOnestopId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetOperatedByOnestopId() string {
|
||
|
if x != nil && x.OperatedByOnestopId != nil {
|
||
|
return *x.OperatedByOnestopId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetOriginDepartureTime() uint32 {
|
||
|
if x != nil && x.OriginDepartureTime != nil {
|
||
|
return *x.OriginDepartureTime
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetOriginGraphid() uint64 {
|
||
|
if x != nil && x.OriginGraphid != nil {
|
||
|
return *x.OriginGraphid
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetOriginOnestopId() string {
|
||
|
if x != nil && x.OriginOnestopId != nil {
|
||
|
return *x.OriginOnestopId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetRouteIndex() uint32 {
|
||
|
if x != nil && x.RouteIndex != nil {
|
||
|
return *x.RouteIndex
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetServiceAddedDates() []uint32 {
|
||
|
if x != nil {
|
||
|
return x.ServiceAddedDates
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetServiceDaysOfWeek() []bool {
|
||
|
if x != nil {
|
||
|
return x.ServiceDaysOfWeek
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetServiceEndDate() uint32 {
|
||
|
if x != nil && x.ServiceEndDate != nil {
|
||
|
return *x.ServiceEndDate
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetServiceExceptDates() []uint32 {
|
||
|
if x != nil {
|
||
|
return x.ServiceExceptDates
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetServiceStartDate() uint32 {
|
||
|
if x != nil && x.ServiceStartDate != nil {
|
||
|
return *x.ServiceStartDate
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetTripHeadsign() string {
|
||
|
if x != nil && x.TripHeadsign != nil {
|
||
|
return *x.TripHeadsign
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetTripId() uint32 {
|
||
|
if x != nil && x.TripId != nil {
|
||
|
return *x.TripId
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetWheelchairAccessible() bool {
|
||
|
if x != nil && x.WheelchairAccessible != nil {
|
||
|
return *x.WheelchairAccessible
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetShapeId() uint32 {
|
||
|
if x != nil && x.ShapeId != nil {
|
||
|
return *x.ShapeId
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetOriginDistTraveled() float32 {
|
||
|
if x != nil && x.OriginDistTraveled != nil {
|
||
|
return *x.OriginDistTraveled
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetDestinationDistTraveled() float32 {
|
||
|
if x != nil && x.DestinationDistTraveled != nil {
|
||
|
return *x.DestinationDistTraveled
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetFrequencyEndTime() uint32 {
|
||
|
if x != nil && x.FrequencyEndTime != nil {
|
||
|
return *x.FrequencyEndTime
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_StopPair) GetFrequencyHeadwaySeconds() uint32 {
|
||
|
if x != nil && x.FrequencyHeadwaySeconds != nil {
|
||
|
return *x.FrequencyHeadwaySeconds
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type Transit_Fetch_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_Fetch_VehicleType `protobuf:"varint,10,opt,name=vehicle_type,json=vehicleType,enum=valhalla.mjolnir.Transit_Fetch_VehicleType" json:"vehicle_type,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) Reset() {
|
||
|
*x = Transit_Fetch_Route{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_transit_fetch_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Transit_Fetch_Route) ProtoMessage() {}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_transit_fetch_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_Fetch_Route.ProtoReflect.Descriptor instead.
|
||
|
func (*Transit_Fetch_Route) Descriptor() ([]byte, []int) {
|
||
|
return file_transit_fetch_proto_rawDescGZIP(), []int{0, 2}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetName() string {
|
||
|
if x != nil && x.Name != nil {
|
||
|
return *x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetOnestopId() string {
|
||
|
if x != nil && x.OnestopId != nil {
|
||
|
return *x.OnestopId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetOperatedByName() string {
|
||
|
if x != nil && x.OperatedByName != nil {
|
||
|
return *x.OperatedByName
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetOperatedByOnestopId() string {
|
||
|
if x != nil && x.OperatedByOnestopId != nil {
|
||
|
return *x.OperatedByOnestopId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetOperatedByWebsite() string {
|
||
|
if x != nil && x.OperatedByWebsite != nil {
|
||
|
return *x.OperatedByWebsite
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetRouteColor() uint32 {
|
||
|
if x != nil && x.RouteColor != nil {
|
||
|
return *x.RouteColor
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetRouteDesc() string {
|
||
|
if x != nil && x.RouteDesc != nil {
|
||
|
return *x.RouteDesc
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetRouteLongName() string {
|
||
|
if x != nil && x.RouteLongName != nil {
|
||
|
return *x.RouteLongName
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetRouteTextColor() uint32 {
|
||
|
if x != nil && x.RouteTextColor != nil {
|
||
|
return *x.RouteTextColor
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Route) GetVehicleType() Transit_Fetch_VehicleType {
|
||
|
if x != nil && x.VehicleType != nil {
|
||
|
return *x.VehicleType
|
||
|
}
|
||
|
return Transit_Fetch_kTram
|
||
|
}
|
||
|
|
||
|
type Transit_Fetch_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_Fetch_Shape) Reset() {
|
||
|
*x = Transit_Fetch_Shape{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_transit_fetch_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Shape) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Transit_Fetch_Shape) ProtoMessage() {}
|
||
|
|
||
|
func (x *Transit_Fetch_Shape) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_transit_fetch_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_Fetch_Shape.ProtoReflect.Descriptor instead.
|
||
|
func (*Transit_Fetch_Shape) Descriptor() ([]byte, []int) {
|
||
|
return file_transit_fetch_proto_rawDescGZIP(), []int{0, 3}
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Shape) GetShapeId() uint32 {
|
||
|
if x != nil && x.ShapeId != nil {
|
||
|
return *x.ShapeId
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Transit_Fetch_Shape) GetEncodedShape() []byte {
|
||
|
if x != nil {
|
||
|
return x.EncodedShape
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_transit_fetch_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_transit_fetch_proto_rawDesc = []byte{
|
||
|
0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 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, 0xfe, 0x10, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e,
|
||
|
0x73, 0x69, 0x74, 0x5f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x12, 0x3a, 0x0a, 0x05, 0x73, 0x74, 0x6f,
|
||
|
0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 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, 0x5f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x05,
|
||
|
0x73, 0x74, 0x6f, 0x70, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x70, 0x61,
|
||
|
0x69, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 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, 0x5f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x50,
|
||
|
0x61, 0x69, 0x72, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x3d,
|
||
|
0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 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, 0x5f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x2e,
|
||
|
0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x3d, 0x0a,
|
||
|
0x06, 0x73, 0x68, 0x61, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 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, 0x5f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x2e, 0x53,
|
||
|
0x68, 0x61, 0x70, 0x65, 0x52, 0x06, 0x73, 0x68, 0x61, 0x70, 0x65, 0x73, 0x1a, 0xe2, 0x01, 0x0a,
|
||
|
0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
|
||
|
0x28, 0x02, 0x52, 0x03, 0x6c, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x61, 0x74, 0x18, 0x02,
|
||
|
0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x6c, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61,
|
||
|
0x70, 0x68, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x72, 0x61, 0x70,
|
||
|
0x68, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 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, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x6e, 0x65,
|
||
|
0x73, 0x74, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x6f, 0x73, 0x6d, 0x5f, 0x77, 0x61,
|
||
|
0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6f, 0x73, 0x6d, 0x57,
|
||
|
0x61, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65,
|
||
|
0x18, 0x08, 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, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x77,
|
||
|
0x68, 0x65, 0x65, 0x6c, 0x63, 0x68, 0x61, 0x69, 0x72, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e,
|
||
|
0x67, 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, 0xab, 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, 0x4e, 0x0a, 0x0c, 0x76,
|
||
|
0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
||
|
0x0e, 0x32, 0x2b, 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, 0x5f, 0x46, 0x65, 0x74,
|
||
|
0x63, 0x68, 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_fetch_proto_rawDescOnce sync.Once
|
||
|
file_transit_fetch_proto_rawDescData = file_transit_fetch_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_transit_fetch_proto_rawDescGZIP() []byte {
|
||
|
file_transit_fetch_proto_rawDescOnce.Do(func() {
|
||
|
file_transit_fetch_proto_rawDescData = protoimpl.X.CompressGZIP(file_transit_fetch_proto_rawDescData)
|
||
|
})
|
||
|
return file_transit_fetch_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_transit_fetch_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
|
var file_transit_fetch_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||
|
var file_transit_fetch_proto_goTypes = []interface{}{
|
||
|
(Transit_Fetch_VehicleType)(0), // 0: valhalla.mjolnir.Transit_Fetch.VehicleType
|
||
|
(*Transit_Fetch)(nil), // 1: valhalla.mjolnir.Transit_Fetch
|
||
|
(*Transit_Fetch_Stop)(nil), // 2: valhalla.mjolnir.Transit_Fetch.Stop
|
||
|
(*Transit_Fetch_StopPair)(nil), // 3: valhalla.mjolnir.Transit_Fetch.StopPair
|
||
|
(*Transit_Fetch_Route)(nil), // 4: valhalla.mjolnir.Transit_Fetch.Route
|
||
|
(*Transit_Fetch_Shape)(nil), // 5: valhalla.mjolnir.Transit_Fetch.Shape
|
||
|
}
|
||
|
var file_transit_fetch_proto_depIdxs = []int32{
|
||
|
2, // 0: valhalla.mjolnir.Transit_Fetch.stops:type_name -> valhalla.mjolnir.Transit_Fetch.Stop
|
||
|
3, // 1: valhalla.mjolnir.Transit_Fetch.stop_pairs:type_name -> valhalla.mjolnir.Transit_Fetch.StopPair
|
||
|
4, // 2: valhalla.mjolnir.Transit_Fetch.routes:type_name -> valhalla.mjolnir.Transit_Fetch.Route
|
||
|
5, // 3: valhalla.mjolnir.Transit_Fetch.shapes:type_name -> valhalla.mjolnir.Transit_Fetch.Shape
|
||
|
0, // 4: valhalla.mjolnir.Transit_Fetch.Route.vehicle_type:type_name -> valhalla.mjolnir.Transit_Fetch.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_fetch_proto_init() }
|
||
|
func file_transit_fetch_proto_init() {
|
||
|
if File_transit_fetch_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_transit_fetch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Transit_Fetch); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_transit_fetch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Transit_Fetch_Stop); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_transit_fetch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Transit_Fetch_StopPair); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_transit_fetch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Transit_Fetch_Route); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_transit_fetch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Transit_Fetch_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_fetch_proto_rawDesc,
|
||
|
NumEnums: 1,
|
||
|
NumMessages: 5,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 0,
|
||
|
},
|
||
|
GoTypes: file_transit_fetch_proto_goTypes,
|
||
|
DependencyIndexes: file_transit_fetch_proto_depIdxs,
|
||
|
EnumInfos: file_transit_fetch_proto_enumTypes,
|
||
|
MessageInfos: file_transit_fetch_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_transit_fetch_proto = out.File
|
||
|
file_transit_fetch_proto_rawDesc = nil
|
||
|
file_transit_fetch_proto_goTypes = nil
|
||
|
file_transit_fetch_proto_depIdxs = nil
|
||
|
}
|