// File contains definitions for side-loaded data-structures // // Because of the more distributed nature of this data // compared to the previous protobuf structures used in Valhalla // it is important to follow the protobuf schema evolution rules // when modifying this file // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.19.4 // source: incidents.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 IncidentsTile_Metadata_Type int32 const ( IncidentsTile_Metadata_ACCIDENT IncidentsTile_Metadata_Type = 0 IncidentsTile_Metadata_CONGESTION IncidentsTile_Metadata_Type = 1 IncidentsTile_Metadata_CONSTRUCTION IncidentsTile_Metadata_Type = 2 IncidentsTile_Metadata_DISABLED_VEHICLE IncidentsTile_Metadata_Type = 3 IncidentsTile_Metadata_LANE_RESTRICTION IncidentsTile_Metadata_Type = 4 IncidentsTile_Metadata_MASS_TRANSIT IncidentsTile_Metadata_Type = 5 IncidentsTile_Metadata_MISCELLANEOUS IncidentsTile_Metadata_Type = 6 IncidentsTile_Metadata_OTHER_NEWS IncidentsTile_Metadata_Type = 7 IncidentsTile_Metadata_PLANNED_EVENT IncidentsTile_Metadata_Type = 8 IncidentsTile_Metadata_ROAD_CLOSURE IncidentsTile_Metadata_Type = 9 IncidentsTile_Metadata_ROAD_HAZARD IncidentsTile_Metadata_Type = 10 IncidentsTile_Metadata_WEATHER IncidentsTile_Metadata_Type = 11 ) // Enum value maps for IncidentsTile_Metadata_Type. var ( IncidentsTile_Metadata_Type_name = map[int32]string{ 0: "ACCIDENT", 1: "CONGESTION", 2: "CONSTRUCTION", 3: "DISABLED_VEHICLE", 4: "LANE_RESTRICTION", 5: "MASS_TRANSIT", 6: "MISCELLANEOUS", 7: "OTHER_NEWS", 8: "PLANNED_EVENT", 9: "ROAD_CLOSURE", 10: "ROAD_HAZARD", 11: "WEATHER", } IncidentsTile_Metadata_Type_value = map[string]int32{ "ACCIDENT": 0, "CONGESTION": 1, "CONSTRUCTION": 2, "DISABLED_VEHICLE": 3, "LANE_RESTRICTION": 4, "MASS_TRANSIT": 5, "MISCELLANEOUS": 6, "OTHER_NEWS": 7, "PLANNED_EVENT": 8, "ROAD_CLOSURE": 9, "ROAD_HAZARD": 10, "WEATHER": 11, } ) func (x IncidentsTile_Metadata_Type) Enum() *IncidentsTile_Metadata_Type { p := new(IncidentsTile_Metadata_Type) *p = x return p } func (x IncidentsTile_Metadata_Type) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (IncidentsTile_Metadata_Type) Descriptor() protoreflect.EnumDescriptor { return file_incidents_proto_enumTypes[0].Descriptor() } func (IncidentsTile_Metadata_Type) Type() protoreflect.EnumType { return &file_incidents_proto_enumTypes[0] } func (x IncidentsTile_Metadata_Type) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use IncidentsTile_Metadata_Type.Descriptor instead. func (IncidentsTile_Metadata_Type) EnumDescriptor() ([]byte, []int) { return file_incidents_proto_rawDescGZIP(), []int{0, 1, 0} } type IncidentsTile_Metadata_Impact int32 const ( IncidentsTile_Metadata_UNKNOWN IncidentsTile_Metadata_Impact = 0 IncidentsTile_Metadata_CRITICAL IncidentsTile_Metadata_Impact = 1 IncidentsTile_Metadata_MAJOR IncidentsTile_Metadata_Impact = 2 IncidentsTile_Metadata_MINOR IncidentsTile_Metadata_Impact = 3 IncidentsTile_Metadata_LOW IncidentsTile_Metadata_Impact = 4 ) // Enum value maps for IncidentsTile_Metadata_Impact. var ( IncidentsTile_Metadata_Impact_name = map[int32]string{ 0: "UNKNOWN", 1: "CRITICAL", 2: "MAJOR", 3: "MINOR", 4: "LOW", } IncidentsTile_Metadata_Impact_value = map[string]int32{ "UNKNOWN": 0, "CRITICAL": 1, "MAJOR": 2, "MINOR": 3, "LOW": 4, } ) func (x IncidentsTile_Metadata_Impact) Enum() *IncidentsTile_Metadata_Impact { p := new(IncidentsTile_Metadata_Impact) *p = x return p } func (x IncidentsTile_Metadata_Impact) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (IncidentsTile_Metadata_Impact) Descriptor() protoreflect.EnumDescriptor { return file_incidents_proto_enumTypes[1].Descriptor() } func (IncidentsTile_Metadata_Impact) Type() protoreflect.EnumType { return &file_incidents_proto_enumTypes[1] } func (x IncidentsTile_Metadata_Impact) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use IncidentsTile_Metadata_Impact.Descriptor instead. func (IncidentsTile_Metadata_Impact) EnumDescriptor() ([]byte, []int) { return file_incidents_proto_rawDescGZIP(), []int{0, 1, 1} } type IncidentsTile struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Sorted list of edge_ids describing what incidents are attached to an edge_id Locations []*IncidentsTile_Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` // Look at `incident_locations` to find how to index this array Metadata []*IncidentsTile_Metadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` } func (x *IncidentsTile) Reset() { *x = IncidentsTile{} if protoimpl.UnsafeEnabled { mi := &file_incidents_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *IncidentsTile) String() string { return protoimpl.X.MessageStringOf(x) } func (*IncidentsTile) ProtoMessage() {} func (x *IncidentsTile) ProtoReflect() protoreflect.Message { mi := &file_incidents_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 IncidentsTile.ProtoReflect.Descriptor instead. func (*IncidentsTile) Descriptor() ([]byte, []int) { return file_incidents_proto_rawDescGZIP(), []int{0} } func (x *IncidentsTile) GetLocations() []*IncidentsTile_Location { if x != nil { return x.Locations } return nil } func (x *IncidentsTile) GetMetadata() []*IncidentsTile_Metadata { if x != nil { return x.Metadata } return nil } // Links a portion of an edge to incident metadata type IncidentsTile_Location struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields EdgeIndex uint32 `protobuf:"varint,1,opt,name=edge_index,json=edgeIndex,proto3" json:"edge_index,omitempty"` StartOffset float32 `protobuf:"fixed32,2,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` EndOffset float32 `protobuf:"fixed32,3,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` MetadataIndex uint32 `protobuf:"varint,4,opt,name=metadata_index,json=metadataIndex,proto3" json:"metadata_index,omitempty"` } func (x *IncidentsTile_Location) Reset() { *x = IncidentsTile_Location{} if protoimpl.UnsafeEnabled { mi := &file_incidents_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *IncidentsTile_Location) String() string { return protoimpl.X.MessageStringOf(x) } func (*IncidentsTile_Location) ProtoMessage() {} func (x *IncidentsTile_Location) ProtoReflect() protoreflect.Message { mi := &file_incidents_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 IncidentsTile_Location.ProtoReflect.Descriptor instead. func (*IncidentsTile_Location) Descriptor() ([]byte, []int) { return file_incidents_proto_rawDescGZIP(), []int{0, 0} } func (x *IncidentsTile_Location) GetEdgeIndex() uint32 { if x != nil { return x.EdgeIndex } return 0 } func (x *IncidentsTile_Location) GetStartOffset() float32 { if x != nil { return x.StartOffset } return 0 } func (x *IncidentsTile_Location) GetEndOffset() float32 { if x != nil { return x.EndOffset } return 0 } func (x *IncidentsTile_Location) GetMetadataIndex() uint32 { if x != nil { return x.MetadataIndex } return 0 } // A single incident is described by this // TODO This is not yet finalized type IncidentsTile_Metadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Type IncidentsTile_Metadata_Type `protobuf:"varint,1,opt,name=type,proto3,enum=valhalla.IncidentsTile_Metadata_Type" json:"type,omitempty"` AlertcCodes []uint32 `protobuf:"varint,2,rep,packed,name=alertc_codes,json=alertcCodes,proto3" json:"alertc_codes,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` SubType string `protobuf:"bytes,4,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"` SubTypeDescription string `protobuf:"bytes,5,opt,name=sub_type_description,json=subTypeDescription,proto3" json:"sub_type_description,omitempty"` StartTime uint64 `protobuf:"varint,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime uint64 `protobuf:"varint,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Impact IncidentsTile_Metadata_Impact `protobuf:"varint,9,opt,name=impact,proto3,enum=valhalla.IncidentsTile_Metadata_Impact" json:"impact,omitempty"` RoadClosed bool `protobuf:"varint,10,opt,name=road_closed,json=roadClosed,proto3" json:"road_closed,omitempty"` Congestion *IncidentsTile_Metadata_Congestion `protobuf:"bytes,11,opt,name=congestion,proto3" json:"congestion,omitempty"` LanesBlocked []string `protobuf:"bytes,12,rep,name=lanes_blocked,json=lanesBlocked,proto3" json:"lanes_blocked,omitempty"` CreationTime uint64 `protobuf:"varint,13,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` LongDescription string `protobuf:"bytes,14,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` ClearLanes string `protobuf:"bytes,15,opt,name=clear_lanes,json=clearLanes,proto3" json:"clear_lanes,omitempty"` NumLanesBlocked uint64 `protobuf:"varint,16,opt,name=num_lanes_blocked,json=numLanesBlocked,proto3" json:"num_lanes_blocked,omitempty"` Length uint32 `protobuf:"varint,17,opt,name=length,proto3" json:"length,omitempty"` // Length of incident as matched to road graph // IncidentMetadata id Id uint64 `protobuf:"varint,128,opt,name=id,proto3" json:"id,omitempty"` // Country code (2 & 3 char codes) Iso_3166_1Alpha2 string `protobuf:"bytes,129,opt,name=iso_3166_1_alpha2,json=iso31661Alpha2,proto3" json:"iso_3166_1_alpha2,omitempty"` Iso_3166_1Alpha3 string `protobuf:"bytes,130,opt,name=iso_3166_1_alpha3,json=iso31661Alpha3,proto3" json:"iso_3166_1_alpha3,omitempty"` } func (x *IncidentsTile_Metadata) Reset() { *x = IncidentsTile_Metadata{} if protoimpl.UnsafeEnabled { mi := &file_incidents_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *IncidentsTile_Metadata) String() string { return protoimpl.X.MessageStringOf(x) } func (*IncidentsTile_Metadata) ProtoMessage() {} func (x *IncidentsTile_Metadata) ProtoReflect() protoreflect.Message { mi := &file_incidents_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 IncidentsTile_Metadata.ProtoReflect.Descriptor instead. func (*IncidentsTile_Metadata) Descriptor() ([]byte, []int) { return file_incidents_proto_rawDescGZIP(), []int{0, 1} } func (x *IncidentsTile_Metadata) GetType() IncidentsTile_Metadata_Type { if x != nil { return x.Type } return IncidentsTile_Metadata_ACCIDENT } func (x *IncidentsTile_Metadata) GetAlertcCodes() []uint32 { if x != nil { return x.AlertcCodes } return nil } func (x *IncidentsTile_Metadata) GetDescription() string { if x != nil { return x.Description } return "" } func (x *IncidentsTile_Metadata) GetSubType() string { if x != nil { return x.SubType } return "" } func (x *IncidentsTile_Metadata) GetSubTypeDescription() string { if x != nil { return x.SubTypeDescription } return "" } func (x *IncidentsTile_Metadata) GetStartTime() uint64 { if x != nil { return x.StartTime } return 0 } func (x *IncidentsTile_Metadata) GetEndTime() uint64 { if x != nil { return x.EndTime } return 0 } func (x *IncidentsTile_Metadata) GetImpact() IncidentsTile_Metadata_Impact { if x != nil { return x.Impact } return IncidentsTile_Metadata_UNKNOWN } func (x *IncidentsTile_Metadata) GetRoadClosed() bool { if x != nil { return x.RoadClosed } return false } func (x *IncidentsTile_Metadata) GetCongestion() *IncidentsTile_Metadata_Congestion { if x != nil { return x.Congestion } return nil } func (x *IncidentsTile_Metadata) GetLanesBlocked() []string { if x != nil { return x.LanesBlocked } return nil } func (x *IncidentsTile_Metadata) GetCreationTime() uint64 { if x != nil { return x.CreationTime } return 0 } func (x *IncidentsTile_Metadata) GetLongDescription() string { if x != nil { return x.LongDescription } return "" } func (x *IncidentsTile_Metadata) GetClearLanes() string { if x != nil { return x.ClearLanes } return "" } func (x *IncidentsTile_Metadata) GetNumLanesBlocked() uint64 { if x != nil { return x.NumLanesBlocked } return 0 } func (x *IncidentsTile_Metadata) GetLength() uint32 { if x != nil { return x.Length } return 0 } func (x *IncidentsTile_Metadata) GetId() uint64 { if x != nil { return x.Id } return 0 } func (x *IncidentsTile_Metadata) GetIso_3166_1Alpha2() string { if x != nil { return x.Iso_3166_1Alpha2 } return "" } func (x *IncidentsTile_Metadata) GetIso_3166_1Alpha3() string { if x != nil { return x.Iso_3166_1Alpha3 } return "" } type IncidentsTile_Metadata_Congestion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` } func (x *IncidentsTile_Metadata_Congestion) Reset() { *x = IncidentsTile_Metadata_Congestion{} if protoimpl.UnsafeEnabled { mi := &file_incidents_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *IncidentsTile_Metadata_Congestion) String() string { return protoimpl.X.MessageStringOf(x) } func (*IncidentsTile_Metadata_Congestion) ProtoMessage() {} func (x *IncidentsTile_Metadata_Congestion) ProtoReflect() protoreflect.Message { mi := &file_incidents_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 IncidentsTile_Metadata_Congestion.ProtoReflect.Descriptor instead. func (*IncidentsTile_Metadata_Congestion) Descriptor() ([]byte, []int) { return file_incidents_proto_rawDescGZIP(), []int{0, 1, 0} } func (x *IncidentsTile_Metadata_Congestion) GetValue() uint32 { if x != nil { return x.Value } return 0 } var File_incidents_proto protoreflect.FileDescriptor var file_incidents_proto_rawDesc = []byte{ 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x22, 0xed, 0x0a, 0x0a, 0x0d, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x69, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x69, 0x6c, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x69, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x92, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x64, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0xc8, 0x08, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x69, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x63, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x63, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x69, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x06, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x61, 0x64, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x4b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x2e, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x69, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x65, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x65, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x6c, 0x61, 0x6e, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x4c, 0x61, 0x6e, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x6c, 0x61, 0x6e, 0x65, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x4c, 0x61, 0x6e, 0x65, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x0f, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x80, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x6f, 0x5f, 0x33, 0x31, 0x36, 0x36, 0x5f, 0x31, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x18, 0x81, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x73, 0x6f, 0x33, 0x31, 0x36, 0x36, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x6f, 0x5f, 0x33, 0x31, 0x36, 0x36, 0x5f, 0x31, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x33, 0x18, 0x82, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x73, 0x6f, 0x33, 0x31, 0x36, 0x36, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x33, 0x1a, 0x22, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xda, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x47, 0x45, 0x53, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x5f, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x41, 0x53, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x49, 0x54, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x53, 0x43, 0x45, 0x4c, 0x4c, 0x41, 0x4e, 0x45, 0x4f, 0x55, 0x53, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x4e, 0x45, 0x57, 0x53, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x4c, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x08, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x4f, 0x41, 0x44, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x55, 0x52, 0x45, 0x10, 0x09, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x4f, 0x41, 0x44, 0x5f, 0x48, 0x41, 0x5a, 0x41, 0x52, 0x44, 0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x45, 0x41, 0x54, 0x48, 0x45, 0x52, 0x10, 0x0b, 0x22, 0x42, 0x0a, 0x06, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x41, 0x4a, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x49, 0x4e, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x04, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_incidents_proto_rawDescOnce sync.Once file_incidents_proto_rawDescData = file_incidents_proto_rawDesc ) func file_incidents_proto_rawDescGZIP() []byte { file_incidents_proto_rawDescOnce.Do(func() { file_incidents_proto_rawDescData = protoimpl.X.CompressGZIP(file_incidents_proto_rawDescData) }) return file_incidents_proto_rawDescData } var file_incidents_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_incidents_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_incidents_proto_goTypes = []interface{}{ (IncidentsTile_Metadata_Type)(0), // 0: valhalla.IncidentsTile.Metadata.Type (IncidentsTile_Metadata_Impact)(0), // 1: valhalla.IncidentsTile.Metadata.Impact (*IncidentsTile)(nil), // 2: valhalla.IncidentsTile (*IncidentsTile_Location)(nil), // 3: valhalla.IncidentsTile.Location (*IncidentsTile_Metadata)(nil), // 4: valhalla.IncidentsTile.Metadata (*IncidentsTile_Metadata_Congestion)(nil), // 5: valhalla.IncidentsTile.Metadata.Congestion } var file_incidents_proto_depIdxs = []int32{ 3, // 0: valhalla.IncidentsTile.locations:type_name -> valhalla.IncidentsTile.Location 4, // 1: valhalla.IncidentsTile.metadata:type_name -> valhalla.IncidentsTile.Metadata 0, // 2: valhalla.IncidentsTile.Metadata.type:type_name -> valhalla.IncidentsTile.Metadata.Type 1, // 3: valhalla.IncidentsTile.Metadata.impact:type_name -> valhalla.IncidentsTile.Metadata.Impact 5, // 4: valhalla.IncidentsTile.Metadata.congestion:type_name -> valhalla.IncidentsTile.Metadata.Congestion 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_incidents_proto_init() } func file_incidents_proto_init() { if File_incidents_proto != nil { return } if !protoimpl.UnsafeEnabled { file_incidents_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncidentsTile); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_incidents_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncidentsTile_Location); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_incidents_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncidentsTile_Metadata); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_incidents_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncidentsTile_Metadata_Congestion); 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_incidents_proto_rawDesc, NumEnums: 2, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_incidents_proto_goTypes, DependencyIndexes: file_incidents_proto_depIdxs, EnumInfos: file_incidents_proto_enumTypes, MessageInfos: file_incidents_proto_msgTypes, }.Build() File_incidents_proto = out.File file_incidents_proto_rawDesc = nil file_incidents_proto_goTypes = nil file_incidents_proto_depIdxs = nil }