routing-service/proto/valhalla/sign.pb.go

358 lines
16 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.19.4
// source: sign.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 TripSignElement struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // The actual sign element text, examples: I 95 North or Derry Street
IsRouteNumber bool `protobuf:"varint,2,opt,name=is_route_number,json=isRouteNumber,proto3" json:"is_route_number,omitempty"` // true if sign element is a reference route number such as: I 81 South or US 322 West
ConsecutiveCount uint32 `protobuf:"varint,3,opt,name=consecutive_count,json=consecutiveCount,proto3" json:"consecutive_count,omitempty"` // The frequency of this sign element within a set a consecutive signs
Pronunciation *Pronunciation `protobuf:"bytes,4,opt,name=pronunciation,proto3" json:"pronunciation,omitempty"` // The pronunciation associated with this sign element
}
func (x *TripSignElement) Reset() {
*x = TripSignElement{}
if protoimpl.UnsafeEnabled {
mi := &file_sign_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TripSignElement) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TripSignElement) ProtoMessage() {}
func (x *TripSignElement) ProtoReflect() protoreflect.Message {
mi := &file_sign_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 TripSignElement.ProtoReflect.Descriptor instead.
func (*TripSignElement) Descriptor() ([]byte, []int) {
return file_sign_proto_rawDescGZIP(), []int{0}
}
func (x *TripSignElement) GetText() string {
if x != nil {
return x.Text
}
return ""
}
func (x *TripSignElement) GetIsRouteNumber() bool {
if x != nil {
return x.IsRouteNumber
}
return false
}
func (x *TripSignElement) GetConsecutiveCount() uint32 {
if x != nil {
return x.ConsecutiveCount
}
return 0
}
func (x *TripSignElement) GetPronunciation() *Pronunciation {
if x != nil {
return x.Pronunciation
}
return nil
}
type TripSign struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ExitNumbers []*TripSignElement `protobuf:"bytes,1,rep,name=exit_numbers,json=exitNumbers,proto3" json:"exit_numbers,omitempty"` // The list of exit numbers, example: 67B
ExitOntoStreets []*TripSignElement `protobuf:"bytes,2,rep,name=exit_onto_streets,json=exitOntoStreets,proto3" json:"exit_onto_streets,omitempty"` // The list of exit branch street names, examples: I 95 North or Baltimore-Washington Parkway
ExitTowardLocations []*TripSignElement `protobuf:"bytes,3,rep,name=exit_toward_locations,json=exitTowardLocations,proto3" json:"exit_toward_locations,omitempty"` // The list of exit toward locations, examples: New York or I 395 South
ExitNames []*TripSignElement `protobuf:"bytes,4,rep,name=exit_names,json=exitNames,proto3" json:"exit_names,omitempty"` // The list of exit names - not used much in US, example: Gettysburg Pike
GuideOntoStreets []*TripSignElement `protobuf:"bytes,5,rep,name=guide_onto_streets,json=guideOntoStreets,proto3" json:"guide_onto_streets,omitempty"` // The list of guide branch street names, examples: US 22 West or Baltimore-Washington Parkway
GuideTowardLocations []*TripSignElement `protobuf:"bytes,6,rep,name=guide_toward_locations,json=guideTowardLocations,proto3" json:"guide_toward_locations,omitempty"` // The list of guide toward locations, examples: Lewistown or US 15
JunctionNames []*TripSignElement `protobuf:"bytes,7,rep,name=junction_names,json=junctionNames,proto3" json:"junction_names,omitempty"` // The list of junction names, examples: 万年橋東 or Mannenbashi East
GuidanceViewJunctions []*TripSignElement `protobuf:"bytes,8,rep,name=guidance_view_junctions,json=guidanceViewJunctions,proto3" json:"guidance_view_junctions,omitempty"` // The list of guidance view junctions, examples: AB12345;1 or AB12345;E
GuidanceViewSignboards []*TripSignElement `protobuf:"bytes,9,rep,name=guidance_view_signboards,json=guidanceViewSignboards,proto3" json:"guidance_view_signboards,omitempty"` // The list of guidance view signboards, examples: SI_721701166;1 or SI_721701166;2
}
func (x *TripSign) Reset() {
*x = TripSign{}
if protoimpl.UnsafeEnabled {
mi := &file_sign_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TripSign) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TripSign) ProtoMessage() {}
func (x *TripSign) ProtoReflect() protoreflect.Message {
mi := &file_sign_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 TripSign.ProtoReflect.Descriptor instead.
func (*TripSign) Descriptor() ([]byte, []int) {
return file_sign_proto_rawDescGZIP(), []int{1}
}
func (x *TripSign) GetExitNumbers() []*TripSignElement {
if x != nil {
return x.ExitNumbers
}
return nil
}
func (x *TripSign) GetExitOntoStreets() []*TripSignElement {
if x != nil {
return x.ExitOntoStreets
}
return nil
}
func (x *TripSign) GetExitTowardLocations() []*TripSignElement {
if x != nil {
return x.ExitTowardLocations
}
return nil
}
func (x *TripSign) GetExitNames() []*TripSignElement {
if x != nil {
return x.ExitNames
}
return nil
}
func (x *TripSign) GetGuideOntoStreets() []*TripSignElement {
if x != nil {
return x.GuideOntoStreets
}
return nil
}
func (x *TripSign) GetGuideTowardLocations() []*TripSignElement {
if x != nil {
return x.GuideTowardLocations
}
return nil
}
func (x *TripSign) GetJunctionNames() []*TripSignElement {
if x != nil {
return x.JunctionNames
}
return nil
}
func (x *TripSign) GetGuidanceViewJunctions() []*TripSignElement {
if x != nil {
return x.GuidanceViewJunctions
}
return nil
}
func (x *TripSign) GetGuidanceViewSignboards() []*TripSignElement {
if x != nil {
return x.GuidanceViewSignboards
}
return nil
}
var File_sign_proto protoreflect.FileDescriptor
var file_sign_proto_rawDesc = []byte{
0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x61,
0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67,
0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x26, 0x0a, 0x0f,
0x69, 0x73, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x10, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x12, 0x3d, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61,
0x6c, 0x6c, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x22, 0x9c, 0x05, 0x0a, 0x08, 0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x3c, 0x0a,
0x0c, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x54,
0x72, 0x69, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b,
0x65, 0x78, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x45, 0x0a, 0x11, 0x65,
0x78, 0x69, 0x74, 0x5f, 0x6f, 0x6e, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x73,
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c,
0x61, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e,
0x74, 0x52, 0x0f, 0x65, 0x78, 0x69, 0x74, 0x4f, 0x6e, 0x74, 0x6f, 0x53, 0x74, 0x72, 0x65, 0x65,
0x74, 0x73, 0x12, 0x4d, 0x0a, 0x15, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x74, 0x6f, 0x77, 0x61, 0x72,
0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x19, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x54, 0x72, 0x69,
0x70, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x13, 0x65, 0x78,
0x69, 0x74, 0x54, 0x6f, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x12, 0x38, 0x0a, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18,
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61,
0x2e, 0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
0x52, 0x09, 0x65, 0x78, 0x69, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x12, 0x67,
0x75, 0x69, 0x64, 0x65, 0x5f, 0x6f, 0x6e, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74,
0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c,
0x6c, 0x61, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65,
0x6e, 0x74, 0x52, 0x10, 0x67, 0x75, 0x69, 0x64, 0x65, 0x4f, 0x6e, 0x74, 0x6f, 0x53, 0x74, 0x72,
0x65, 0x65, 0x74, 0x73, 0x12, 0x4f, 0x0a, 0x16, 0x67, 0x75, 0x69, 0x64, 0x65, 0x5f, 0x74, 0x6f,
0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e,
0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52,
0x14, 0x67, 0x75, 0x69, 0x64, 0x65, 0x54, 0x6f, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x6f, 0x63, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x6a, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,
0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67,
0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x6a, 0x75, 0x6e, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x17, 0x67, 0x75, 0x69, 0x64, 0x61,
0x6e, 0x63, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6a, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61,
0x6c, 0x6c, 0x61, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x45, 0x6c, 0x65, 0x6d,
0x65, 0x6e, 0x74, 0x52, 0x15, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x69, 0x65,
0x77, 0x4a, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x18, 0x67, 0x75,
0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x69, 0x67, 0x6e,
0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76,
0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x53, 0x69, 0x67, 0x6e,
0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x16, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63,
0x65, 0x56, 0x69, 0x65, 0x77, 0x53, 0x69, 0x67, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 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, 0x50, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_sign_proto_rawDescOnce sync.Once
file_sign_proto_rawDescData = file_sign_proto_rawDesc
)
func file_sign_proto_rawDescGZIP() []byte {
file_sign_proto_rawDescOnce.Do(func() {
file_sign_proto_rawDescData = protoimpl.X.CompressGZIP(file_sign_proto_rawDescData)
})
return file_sign_proto_rawDescData
}
var file_sign_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_sign_proto_goTypes = []interface{}{
(*TripSignElement)(nil), // 0: valhalla.TripSignElement
(*TripSign)(nil), // 1: valhalla.TripSign
(*Pronunciation)(nil), // 2: valhalla.Pronunciation
}
var file_sign_proto_depIdxs = []int32{
2, // 0: valhalla.TripSignElement.pronunciation:type_name -> valhalla.Pronunciation
0, // 1: valhalla.TripSign.exit_numbers:type_name -> valhalla.TripSignElement
0, // 2: valhalla.TripSign.exit_onto_streets:type_name -> valhalla.TripSignElement
0, // 3: valhalla.TripSign.exit_toward_locations:type_name -> valhalla.TripSignElement
0, // 4: valhalla.TripSign.exit_names:type_name -> valhalla.TripSignElement
0, // 5: valhalla.TripSign.guide_onto_streets:type_name -> valhalla.TripSignElement
0, // 6: valhalla.TripSign.guide_toward_locations:type_name -> valhalla.TripSignElement
0, // 7: valhalla.TripSign.junction_names:type_name -> valhalla.TripSignElement
0, // 8: valhalla.TripSign.guidance_view_junctions:type_name -> valhalla.TripSignElement
0, // 9: valhalla.TripSign.guidance_view_signboards:type_name -> valhalla.TripSignElement
10, // [10:10] is the sub-list for method output_type
10, // [10:10] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name
10, // [10:10] is the sub-list for extension extendee
0, // [0:10] is the sub-list for field type_name
}
func init() { file_sign_proto_init() }
func file_sign_proto_init() {
if File_sign_proto != nil {
return
}
file_common_proto_init()
if !protoimpl.UnsafeEnabled {
file_sign_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TripSignElement); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sign_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TripSign); 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_sign_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_sign_proto_goTypes,
DependencyIndexes: file_sign_proto_depIdxs,
MessageInfos: file_sign_proto_msgTypes,
}.Build()
File_sign_proto = out.File
file_sign_proto_rawDesc = nil
file_sign_proto_goTypes = nil
file_sign_proto_depIdxs = nil
}