// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.19.4 // source: status.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 Status struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to HasHasTiles: // *Status_HasTiles HasHasTiles isStatus_HasHasTiles `protobuf_oneof:"has_has_tiles"` // Types that are assignable to HasHasAdmins: // *Status_HasAdmins HasHasAdmins isStatus_HasHasAdmins `protobuf_oneof:"has_has_admins"` // Types that are assignable to HasHasTimezones: // *Status_HasTimezones HasHasTimezones isStatus_HasHasTimezones `protobuf_oneof:"has_has_timezones"` // Types that are assignable to HasHasLiveTraffic: // *Status_HasLiveTraffic HasHasLiveTraffic isStatus_HasHasLiveTraffic `protobuf_oneof:"has_has_live_traffic"` // Types that are assignable to HasBbox: // *Status_Bbox HasBbox isStatus_HasBbox `protobuf_oneof:"has_bbox"` // Types that are assignable to HasVersion: // *Status_Version HasVersion isStatus_HasVersion `protobuf_oneof:"has_version"` // Types that are assignable to HasTilesetLastModified: // *Status_TilesetLastModified HasTilesetLastModified isStatus_HasTilesetLastModified `protobuf_oneof:"has_tileset_last_modified"` AvailableActions []string `protobuf:"bytes,8,rep,name=available_actions,json=availableActions,proto3" json:"available_actions,omitempty"` } func (x *Status) Reset() { *x = Status{} if protoimpl.UnsafeEnabled { mi := &file_status_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Status) String() string { return protoimpl.X.MessageStringOf(x) } func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_status_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 Status.ProtoReflect.Descriptor instead. func (*Status) Descriptor() ([]byte, []int) { return file_status_proto_rawDescGZIP(), []int{0} } func (m *Status) GetHasHasTiles() isStatus_HasHasTiles { if m != nil { return m.HasHasTiles } return nil } func (x *Status) GetHasTiles() bool { if x, ok := x.GetHasHasTiles().(*Status_HasTiles); ok { return x.HasTiles } return false } func (m *Status) GetHasHasAdmins() isStatus_HasHasAdmins { if m != nil { return m.HasHasAdmins } return nil } func (x *Status) GetHasAdmins() bool { if x, ok := x.GetHasHasAdmins().(*Status_HasAdmins); ok { return x.HasAdmins } return false } func (m *Status) GetHasHasTimezones() isStatus_HasHasTimezones { if m != nil { return m.HasHasTimezones } return nil } func (x *Status) GetHasTimezones() bool { if x, ok := x.GetHasHasTimezones().(*Status_HasTimezones); ok { return x.HasTimezones } return false } func (m *Status) GetHasHasLiveTraffic() isStatus_HasHasLiveTraffic { if m != nil { return m.HasHasLiveTraffic } return nil } func (x *Status) GetHasLiveTraffic() bool { if x, ok := x.GetHasHasLiveTraffic().(*Status_HasLiveTraffic); ok { return x.HasLiveTraffic } return false } func (m *Status) GetHasBbox() isStatus_HasBbox { if m != nil { return m.HasBbox } return nil } func (x *Status) GetBbox() string { if x, ok := x.GetHasBbox().(*Status_Bbox); ok { return x.Bbox } return "" } func (m *Status) GetHasVersion() isStatus_HasVersion { if m != nil { return m.HasVersion } return nil } func (x *Status) GetVersion() string { if x, ok := x.GetHasVersion().(*Status_Version); ok { return x.Version } return "" } func (m *Status) GetHasTilesetLastModified() isStatus_HasTilesetLastModified { if m != nil { return m.HasTilesetLastModified } return nil } func (x *Status) GetTilesetLastModified() uint32 { if x, ok := x.GetHasTilesetLastModified().(*Status_TilesetLastModified); ok { return x.TilesetLastModified } return 0 } func (x *Status) GetAvailableActions() []string { if x != nil { return x.AvailableActions } return nil } type isStatus_HasHasTiles interface { isStatus_HasHasTiles() } type Status_HasTiles struct { HasTiles bool `protobuf:"varint,1,opt,name=has_tiles,json=hasTiles,proto3,oneof"` } func (*Status_HasTiles) isStatus_HasHasTiles() {} type isStatus_HasHasAdmins interface { isStatus_HasHasAdmins() } type Status_HasAdmins struct { HasAdmins bool `protobuf:"varint,2,opt,name=has_admins,json=hasAdmins,proto3,oneof"` } func (*Status_HasAdmins) isStatus_HasHasAdmins() {} type isStatus_HasHasTimezones interface { isStatus_HasHasTimezones() } type Status_HasTimezones struct { HasTimezones bool `protobuf:"varint,3,opt,name=has_timezones,json=hasTimezones,proto3,oneof"` } func (*Status_HasTimezones) isStatus_HasHasTimezones() {} type isStatus_HasHasLiveTraffic interface { isStatus_HasHasLiveTraffic() } type Status_HasLiveTraffic struct { HasLiveTraffic bool `protobuf:"varint,4,opt,name=has_live_traffic,json=hasLiveTraffic,proto3,oneof"` } func (*Status_HasLiveTraffic) isStatus_HasHasLiveTraffic() {} type isStatus_HasBbox interface { isStatus_HasBbox() } type Status_Bbox struct { Bbox string `protobuf:"bytes,5,opt,name=bbox,proto3,oneof"` } func (*Status_Bbox) isStatus_HasBbox() {} type isStatus_HasVersion interface { isStatus_HasVersion() } type Status_Version struct { Version string `protobuf:"bytes,6,opt,name=version,proto3,oneof"` } func (*Status_Version) isStatus_HasVersion() {} type isStatus_HasTilesetLastModified interface { isStatus_HasTilesetLastModified() } type Status_TilesetLastModified struct { TilesetLastModified uint32 `protobuf:"varint,7,opt,name=tileset_last_modified,json=tilesetLastModified,proto3,oneof"` } func (*Status_TilesetLastModified) isStatus_HasTilesetLastModified() {} var File_status_proto protoreflect.FileDescriptor var file_status_proto_rawDesc = []byte{ 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x61, 0x22, 0xb8, 0x03, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x09, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x68, 0x61, 0x73, 0x54, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, 0x09, 0x68, 0x61, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x0c, 0x68, 0x61, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x68, 0x61, 0x73, 0x5f, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x0e, 0x68, 0x61, 0x73, 0x4c, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x14, 0x0a, 0x04, 0x62, 0x62, 0x6f, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x04, 0x62, 0x62, 0x6f, 0x78, 0x12, 0x1a, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x15, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x06, 0x52, 0x13, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x10, 0x0a, 0x0e, 0x68, 0x61, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x68, 0x61, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x42, 0x16, 0x0a, 0x14, 0x68, 0x61, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x42, 0x0a, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x62, 0x62, 0x6f, 0x78, 0x42, 0x0d, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x1b, 0x0a, 0x19, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 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_status_proto_rawDescOnce sync.Once file_status_proto_rawDescData = file_status_proto_rawDesc ) func file_status_proto_rawDescGZIP() []byte { file_status_proto_rawDescOnce.Do(func() { file_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_status_proto_rawDescData) }) return file_status_proto_rawDescData } var file_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_status_proto_goTypes = []interface{}{ (*Status)(nil), // 0: valhalla.Status } var file_status_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_status_proto_init() } func file_status_proto_init() { if File_status_proto != nil { return } if !protoimpl.UnsafeEnabled { file_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Status); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_status_proto_msgTypes[0].OneofWrappers = []interface{}{ (*Status_HasTiles)(nil), (*Status_HasAdmins)(nil), (*Status_HasTimezones)(nil), (*Status_HasLiveTraffic)(nil), (*Status_Bbox)(nil), (*Status_Version)(nil), (*Status_TilesetLastModified)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_status_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_status_proto_goTypes, DependencyIndexes: file_status_proto_depIdxs, MessageInfos: file_status_proto_msgTypes, }.Build() File_status_proto = out.File file_status_proto_rawDesc = nil file_status_proto_goTypes = nil file_status_proto_depIdxs = nil }