From 91b9077ba8266978ef882bdb988e5222f41115d3 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Thu, 5 Dec 2024 11:05:21 +0000 Subject: [PATCH 01/13] Update multicast function to return expired queue items. In case a gateway is offline, associated queue-items would be excluded by the get_schedulable_queue_items function. With this change when the queue item has expired it will be returned even if the gateway is offline. This way, the expired queue item will be deleted by the multicast flow. --- chirpstack/src/storage/multicast.rs | 110 +++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 1 deletion(-) diff --git a/chirpstack/src/storage/multicast.rs b/chirpstack/src/storage/multicast.rs index 9e4c8125..09527f3f 100644 --- a/chirpstack/src/storage/multicast.rs +++ b/chirpstack/src/storage/multicast.rs @@ -670,7 +670,8 @@ pub async fn get_schedulable_queue_items(limit: usize) -> Result g.stats_interval_secs * 2) <= g.last_seen_at + -- check that the gateway is online, except when the item already has expired + and ($2 - make_interval(secs => g.stats_interval_secs * 2) <= g.last_seen_at or expires_at <= $2) order by qi.created_at limit $1 @@ -1122,4 +1123,111 @@ pub mod test { flush_queue(&mg.id.into()).await.unwrap(); assert!(delete_queue_item(&ids[0]).await.is_err()); } + + #[tokio::test] + async fn test_get_schedulable_queue_items() { + let _guard = test::prepare().await; + + let t = tenant::create(tenant::Tenant { + name: "test-tenant".into(), + can_have_gateways: true, + ..Default::default() + }) + .await + .unwrap(); + + let app = application::create(application::Application { + name: "test-app".into(), + tenant_id: t.id, + ..Default::default() + }) + .await + .unwrap(); + + let gw = gateway::create(gateway::Gateway { + gateway_id: EUI64::from_be_bytes([1, 2, 3, 4, 5, 6, 7, 8]), + name: "test-gw".into(), + tenant_id: t.id, + stats_interval_secs: 30, + last_seen_at: Some(Utc::now()), + ..Default::default() + }) + .await + .unwrap(); + + let mg = create(MulticastGroup { + application_id: app.id, + name: "test-mg".into(), + region: CommonName::EU868, + mc_addr: DevAddr::from_be_bytes([1, 2, 3, 4]), + mc_nwk_s_key: AES128Key::from_bytes([1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8]), + f_cnt: 10, + group_type: "C".into(), + dr: 1, + frequency: 868100000, + class_c_scheduling_type: fields::MulticastGroupSchedulingType::DELAY, + ..Default::default() + }) + .await + .unwrap(); + + let mut qi = MulticastGroupQueueItem { + scheduler_run_after: Utc::now(), + multicast_group_id: mg.id, + gateway_id: gw.gateway_id, + f_cnt: mg.f_cnt, + f_port: 10, + data: vec![1, 2, 3], + expires_at: None, + ..Default::default() + }; + + qi = diesel::insert_into(multicast_group_queue_item::table) + .values(&qi) + .get_result(&mut get_async_db_conn().await.unwrap()) + .await + .unwrap(); + + // We expect one queue item. + let out = get_schedulable_queue_items(100).await.unwrap(); + assert_eq!(1, out.len()); + + // We expect zero items because the scheduler_run_after has been updated + // by the get_schedulable_queue_items function. + let out = get_schedulable_queue_items(100).await.unwrap(); + assert_eq!(0, out.len()); + + // Restore scheduler_run_after + diesel::update(multicast_group_queue_item::dsl::multicast_group_queue_item.find(&qi.id)) + .set(multicast_group_queue_item::scheduler_run_after.eq(Utc::now())) + .execute(&mut get_async_db_conn().await.unwrap()) + .await + .unwrap(); + + // Set gateway last_seen_at in the past. + gateway::partial_update( + gw.gateway_id, + &gateway::GatewayChangeset { + last_seen_at: Some(Some(Utc::now() - Duration::days(1))), + ..Default::default() + }, + ) + .await + .unwrap(); + + // We expect zero items, as the gateway is not online. + let out = get_schedulable_queue_items(100).await.unwrap(); + assert_eq!(0, out.len()); + + // Set the expires_at of the queue item to now. + diesel::update(multicast_group_queue_item::dsl::multicast_group_queue_item.find(&qi.id)) + .set(multicast_group_queue_item::expires_at.eq(Some(Utc::now()))) + .execute(&mut get_async_db_conn().await.unwrap()) + .await + .unwrap(); + + // We expect one item, as it has expired. + let out = get_schedulable_queue_items(100).await.unwrap(); + assert_eq!(1, out.len()); + } } From d3692144fa5ec9c0fa265381a0efda44c61b492c Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Thu, 5 Dec 2024 11:20:20 +0000 Subject: [PATCH 02/13] Update nix version to 24.11. --- .github/workflows/main.yml | 4 ++-- shell.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f89793c8..ff12e316 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: name: Install Nix uses: cachix/install-nix-action@v27 with: - nix_path: nixpkgs=channel:nixos-24.05 + nix_path: nixpkgs=channel:nixos-24.11 - name: Cargo cache uses: actions/cache@v4 @@ -69,7 +69,7 @@ jobs: name: Install Nix uses: cachix/install-nix-action@v27 with: - nix_path: nixpkgs=channel:nixos-24.05 + nix_path: nixpkgs=channel:nixos-24.11 - name: Cargo cache uses: actions/cache@v4 diff --git a/shell.nix b/shell.nix index f1cf032d..6c7b39a6 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,4 @@ -{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-24.05.tar.gz") {} }: +{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-24.11.tar.gz") {} }: pkgs.mkShell { nativeBuildInputs = [ From 30b1e0301a7cdee198983812af1cb1dcb30d68f9 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Thu, 5 Dec 2024 12:02:37 +0000 Subject: [PATCH 03/13] Fix multicast tests for SQLite. --- chirpstack/src/storage/multicast.rs | 42 ++++++++++++++++------------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/chirpstack/src/storage/multicast.rs b/chirpstack/src/storage/multicast.rs index 09527f3f..004e55a4 100644 --- a/chirpstack/src/storage/multicast.rs +++ b/chirpstack/src/storage/multicast.rs @@ -1204,30 +1204,36 @@ pub mod test { .await .unwrap(); - // Set gateway last_seen_at in the past. - gateway::partial_update( - gw.gateway_id, - &gateway::GatewayChangeset { - last_seen_at: Some(Some(Utc::now() - Duration::days(1))), - ..Default::default() - }, - ) - .await - .unwrap(); + // The below features are (currently) for PostgreSQL only. + #[cfg(feature = "postgres")] + { + // Set gateway last_seen_at in the past. + gateway::partial_update( + gw.gateway_id, + &gateway::GatewayChangeset { + last_seen_at: Some(Some(Utc::now() - Duration::days(1))), + ..Default::default() + }, + ) + .await + .unwrap(); - // We expect zero items, as the gateway is not online. - let out = get_schedulable_queue_items(100).await.unwrap(); - assert_eq!(0, out.len()); + // We expect zero items, as the gateway is not online. + let out = get_schedulable_queue_items(100).await.unwrap(); + assert_eq!(0, out.len()); - // Set the expires_at of the queue item to now. - diesel::update(multicast_group_queue_item::dsl::multicast_group_queue_item.find(&qi.id)) + // Set the expires_at of the queue item to now. + diesel::update( + multicast_group_queue_item::dsl::multicast_group_queue_item.find(&qi.id), + ) .set(multicast_group_queue_item::expires_at.eq(Some(Utc::now()))) .execute(&mut get_async_db_conn().await.unwrap()) .await .unwrap(); - // We expect one item, as it has expired. - let out = get_schedulable_queue_items(100).await.unwrap(); - assert_eq!(1, out.len()); + // We expect one item, as it has expired. + let out = get_schedulable_queue_items(100).await.unwrap(); + assert_eq!(1, out.len()); + } } } From 8aff4490f9baf905a82392efb45e581dcd07fb24 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Thu, 5 Dec 2024 12:18:27 +0000 Subject: [PATCH 04/13] Update dependencies. --- Cargo.lock | 946 +++++++++++++++++++----------- backend/Cargo.toml | 4 +- chirpstack-integration/Cargo.toml | 2 +- chirpstack/Cargo.toml | 8 +- chirpstack/src/codec/js/mod.rs | 4 +- lrwn/Cargo.toml | 2 +- 6 files changed, 626 insertions(+), 340 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 288bf36b..0e1c5a96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -111,9 +111,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.17" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23a1e53f0f5d86382dafe1cf314783b2044280f406e7e1506368220ad11b1338" +checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" dependencies = [ "anstyle", "anstyle-parse", @@ -126,9 +126,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8365de52b16c035ff4fcafe0092ba9390540e3e352870ac09933bebcaa2c8c56" +checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" [[package]] name = "anstyle-parse" @@ -160,9 +160,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.92" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74f37166d7d48a0284b99dd824694c26119c700b53bf0d1540cdb147dbdaaf13" +checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" [[package]] name = "approx" @@ -200,7 +200,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -212,7 +212,7 @@ checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", "synstructure", ] @@ -224,7 +224,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -278,8 +278,8 @@ checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.1.1", - "futures-lite 2.4.0", + "fastrand 2.2.0", + "futures-lite 2.5.0", "slab", ] @@ -291,10 +291,10 @@ checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" dependencies = [ "async-channel 2.3.1", "async-executor", - "async-io 2.3.4", + "async-io 2.4.0", "async-lock 3.4.0", "blocking", - "futures-lite 2.4.0", + "futures-lite 2.5.0", "once_cell", ] @@ -331,18 +331,18 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.4" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "444b0228950ee6501b3568d3c93bf1176a1fdbc3b758dcd9475046d30f4dc7e8" +checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" dependencies = [ "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.4.0", + "futures-lite 2.5.0", "parking", - "polling 3.7.3", - "rustix 0.38.38", + "polling 3.7.4", + "rustix 0.38.41", "slab", "tracing", "windows-sys 0.59.0", @@ -384,15 +384,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" dependencies = [ "async-channel 2.3.1", - "async-io 2.3.4", + "async-io 2.4.0", "async-lock 3.4.0", "async-signal", "async-task", "blocking", "cfg-if", "event-listener 5.3.1", - "futures-lite 2.4.0", - "rustix 0.38.38", + "futures-lite 2.5.0", + "rustix 0.38.41", "tracing", ] @@ -416,7 +416,7 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -425,13 +425,13 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" dependencies = [ - "async-io 2.3.4", + "async-io 2.4.0", "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.38", + "rustix 0.38.41", "signal-hook-registry", "slab", "windows-sys 0.59.0", @@ -446,14 +446,14 @@ dependencies = [ "async-attributes", "async-channel 1.9.0", "async-global-executor", - "async-io 2.3.4", + "async-io 2.4.0", "async-lock 3.4.0", "async-process", "crossbeam-utils", "futures-channel", "futures-core", "futures-io", - "futures-lite 2.4.0", + "futures-lite 2.5.0", "gloo-timers", "kv-log-macro", "log", @@ -484,7 +484,7 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -501,7 +501,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -524,7 +524,7 @@ checksum = "6a35b1c56648ef2a4eefb5a9e4152bf05310c48c459b9e661a8ea80517e0c2d7" dependencies = [ "chrono", "hex", - "http 1.1.0", + "http 1.2.0", "ring", "sha256", "url", @@ -532,18 +532,18 @@ dependencies = [ [[package]] name = "axum" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "504e3947307ac8326a5437504c517c4b56716c9d98fac0028c2acc7ca47d70ae" +checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ "async-trait", "axum-core", "bytes", "futures-util", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-util", "itoa", "matchit", @@ -556,7 +556,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sync_wrapper 1.0.1", + "sync_wrapper 1.0.2", "tokio", "tower 0.5.1", "tower-layer", @@ -573,13 +573,13 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "http-body-util", "mime", "pin-project-lite", "rustversion", - "sync_wrapper 1.0.1", + "sync_wrapper 1.0.2", "tower-layer", "tower-service", "tracing", @@ -594,13 +594,13 @@ dependencies = [ "arc-swap", "bytes", "futures-util", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-util", "pin-project-lite", - "rustls 0.23.16", + "rustls 0.23.19", "rustls-pemfile", "rustls-pki-types", "tokio", @@ -623,7 +623,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror", + "thiserror 2.0.4", "tokio", "tracing", ] @@ -710,7 +710,7 @@ dependencies = [ "regex", "rustc-hash 1.1.0", "shlex", - "syn 2.0.86", + "syn 2.0.90", "which", ] @@ -759,7 +759,7 @@ dependencies = [ "async-channel 2.3.1", "async-task", "futures-io", - "futures-lite 2.4.0", + "futures-lite 2.5.0", "piper", ] @@ -777,15 +777,15 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "cc" -version = "1.1.31" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f" +checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc" dependencies = [ "shlex", ] @@ -843,7 +843,7 @@ dependencies = [ "handlebars", "hex", "hmac", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "httpmock", "humantime-serde", @@ -874,8 +874,8 @@ dependencies = [ "rsa", "rumqttc", "rust-embed", - "rustls 0.23.16", - "rustls-native-certs 0.8.0", + "rustls 0.23.19", + "rustls-native-certs 0.8.1", "rustls-pemfile", "scoped-futures", "serde", @@ -885,7 +885,7 @@ dependencies = [ "sha2", "signal-hook", "signal-hook-tokio", - "thiserror", + "thiserror 2.0.4", "tokio", "tokio-executor-trait", "tokio-postgres", @@ -897,7 +897,7 @@ dependencies = [ "tonic-reflection", "tonic-web", "tower 0.5.1", - "tower-http 0.6.1", + "tower-http 0.6.2", "tracing", "tracing-subscriber", "urlencoding", @@ -977,9 +977,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.20" +version = "4.5.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" +checksum = "69371e34337c4c984bbe322360c2547210bf632eb2814bbe78a6e87a2935bd2b" dependencies = [ "clap_builder", "clap_derive", @@ -987,9 +987,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.20" +version = "4.5.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" +checksum = "6e24c1b4099818523236a8ca881d2b45db98dadfb4625cf6608c12069fcbbde1" dependencies = [ "anstream", "anstyle", @@ -1006,14 +1006,14 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] name = "clap_lex" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" +checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" [[package]] name = "cmac" @@ -1028,9 +1028,9 @@ dependencies = [ [[package]] name = "cmake" -version = "0.1.51" +version = "0.1.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb1e43aa7fd152b1f968787f7dbcdeb306d1867ff373c69955211876c053f91a" +checksum = "c682c223677e0e5b6b7f63a64b9351844c3f1b1678a68b7ee617e30fb082620e" dependencies = [ "cc", ] @@ -1095,6 +1095,16 @@ dependencies = [ "libc", ] +[[package]] +name = "core-foundation" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "core-foundation-sys" version = "0.8.7" @@ -1103,9 +1113,9 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.14" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0" +checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" dependencies = [ "libc", ] @@ -1174,7 +1184,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1198,7 +1208,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1209,7 +1219,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1294,7 +1304,7 @@ checksum = "8034092389675178f570469e6c3b0465d3d30b4505c294a6550db47f3c17ad18" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1309,9 +1319,9 @@ dependencies = [ [[package]] name = "diesel" -version = "2.2.4" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "158fe8e2e68695bd615d7e4f3227c0727b151330d3e253b525086c348d055d5e" +checksum = "ccf1bedf64cdb9643204a36dd15b19a6ce8e7aa7f7b105868e9f1fad5ffa7d12" dependencies = [ "bigdecimal", "bitflags 2.6.0", @@ -1330,9 +1340,9 @@ dependencies = [ [[package]] name = "diesel-async" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c5c6ec8d5c7b8444d19a47161797cbe361e0fb1ee40c6a8124ec915b64a4125" +checksum = "51a307ac00f7c23f526a04a77761a0519b9f0eb2838ebf5b905a58580095bdcb" dependencies = [ "async-trait", "deadpool", @@ -1353,7 +1363,7 @@ dependencies = [ "dsl_auto_type", "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1373,7 +1383,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "209c735641a413bc68c4923a9d6ad4bcb3ca306b794edaa7eb0b3228a99ffb25" dependencies = [ - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1417,7 +1427,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1443,7 +1453,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1549,12 +1559,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" +checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1576,9 +1586,9 @@ dependencies = [ [[package]] name = "event-listener-strategy" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +checksum = "3c3e4e0dd3673c1139bf041f3008816d9cf2946bbfac2945c09e523b8d7b05b2" dependencies = [ "event-listener 5.3.1", "pin-project-lite", @@ -1610,9 +1620,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" +checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4" [[package]] name = "ff" @@ -1733,11 +1743,11 @@ dependencies = [ [[package]] name = "futures-lite" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f1fa2f9765705486b33fd2acf1577f8ec449c2ba1f318ae5447697b7c08d210" +checksum = "cef40d21ae2c515b51041df9ed313ed21e572df340ea58a922a0aefe7e8891a1" dependencies = [ - "fastrand 2.1.1", + "fastrand 2.2.0", "futures-core", "futures-io", "parking", @@ -1752,7 +1762,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -1796,16 +1806,16 @@ dependencies = [ "bytes", "chrono", "home", - "http 1.1.0", + "http 1.2.0", "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-rustls", "hyper-util", "ring", "rustls-pemfile", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "tracing-futures", @@ -1825,9 +1835,9 @@ dependencies = [ [[package]] name = "geo-types" -version = "0.7.13" +version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff16065e5720f376fbced200a5ae0f47ace85fd70b7e54269790281353b6d61" +checksum = "b6f47c611187777bbca61ea7aba780213f5f3441fd36294ab333e96cfa791b65" dependencies = [ "approx", "num-traits", @@ -1894,17 +1904,17 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" +checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" dependencies = [ "atomic-waker", "bytes", "fnv", "futures-core", "futures-sink", - "http 1.1.0", - "indexmap 2.6.0", + "http 1.2.0", + "indexmap 2.7.0", "slab", "tokio", "tokio-util", @@ -1923,7 +1933,7 @@ dependencies = [ "pest_derive", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1934,9 +1944,9 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hashbrown" -version = "0.15.0" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" [[package]] name = "heck" @@ -2002,9 +2012,9 @@ dependencies = [ [[package]] name = "http" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" dependencies = [ "bytes", "fnv", @@ -2029,7 +2039,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.1.0", + "http 1.2.0", ] [[package]] @@ -2040,7 +2050,7 @@ checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", "futures-util", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "pin-project-lite", ] @@ -2117,7 +2127,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.7", + "socket2 0.5.8", "tokio", "tower-service", "tracing", @@ -2126,15 +2136,15 @@ dependencies = [ [[package]] name = "hyper" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbff0a806a4728c99295b254c8838933b5b082d75e3cb70c8dab21fdfbcfa9a" +checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" dependencies = [ "bytes", "futures-channel", "futures-util", "h2", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "httparse", "httpdate", @@ -2152,11 +2162,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" dependencies = [ "futures-util", - "http 1.1.0", - "hyper 1.5.0", + "http 1.2.0", + "hyper 1.5.1", "hyper-util", - "rustls 0.23.16", - "rustls-native-certs 0.8.0", + "rustls 0.23.19", + "rustls-native-certs 0.8.1", "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", @@ -2166,11 +2176,11 @@ dependencies = [ [[package]] name = "hyper-timeout" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3203a961e5c83b6f5498933e78b6b263e208c197b63e9c6c53cc82ffd3f63793" +checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" dependencies = [ - "hyper 1.5.0", + "hyper 1.5.1", "hyper-util", "pin-project-lite", "tokio", @@ -2186,11 +2196,11 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", - "hyper 1.5.0", + "hyper 1.5.1", "pin-project-lite", - "socket2 0.5.7", + "socket2 0.5.8", "tokio", "tower-service", "tracing", @@ -2219,6 +2229,124 @@ dependencies = [ "cc", ] +[[package]] +name = "icu_collections" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locid" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_locid_transform" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" +dependencies = [ + "displaydoc", + "icu_locid", + "icu_locid_transform_data", + "icu_provider", + "tinystr", + "zerovec", +] + +[[package]] +name = "icu_locid_transform_data" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" + +[[package]] +name = "icu_normalizer" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "utf16_iter", + "utf8_iter", + "write16", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" + +[[package]] +name = "icu_properties" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locid_transform", + "icu_properties_data", + "icu_provider", + "tinystr", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" + +[[package]] +name = "icu_provider" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +dependencies = [ + "displaydoc", + "icu_locid", + "icu_provider_macros", + "stable_deref_trait", + "tinystr", + "writeable", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_provider_macros" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "ident_case" version = "1.0.1" @@ -2227,12 +2355,23 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "0.5.0" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" dependencies = [ - "unicode-bidi", - "unicode-normalization", + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +dependencies = [ + "icu_normalizer", + "icu_properties", ] [[package]] @@ -2248,12 +2387,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" +checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" dependencies = [ "equivalent", - "hashbrown 0.15.0", + "hashbrown 0.15.2", "serde", ] @@ -2336,16 +2475,17 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "js-sys" -version = "0.3.72" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9" +checksum = "a865e038f7f6ed956f788f0d7d60c541fff74c7bd74272c5d4cf15c63743e705" dependencies = [ + "once_cell", "wasm-bindgen", ] @@ -2449,15 +2589,15 @@ checksum = "db13adb97ab515a3691f56e4dbab09283d0b86cb45abd991d8634a9d6f501760" [[package]] name = "libc" -version = "0.2.161" +version = "0.2.167" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1" +checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" [[package]] name = "libloading" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" +checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if", "windows-targets 0.52.6", @@ -2501,6 +2641,12 @@ version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +[[package]] +name = "litemap" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" + [[package]] name = "lock_api" version = "0.4.12" @@ -2531,7 +2677,7 @@ dependencies = [ "hex", "lazy_static", "serde", - "thiserror", + "thiserror 2.0.4", ] [[package]] @@ -2541,7 +2687,7 @@ dependencies = [ "hex", "lrwn", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2620,11 +2766,10 @@ dependencies = [ [[package]] name = "mio" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" +checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ - "hermit-abi 0.3.9", "libc", "wasi", "windows-sys 0.52.0", @@ -2752,23 +2897,23 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.5.11" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f646caf906c20226733ed5b1374287eb97e3c2a5c227ce668c1f2ce20ae57c9" +checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" dependencies = [ "num_enum_derive", ] [[package]] name = "num_enum_derive" -version = "0.5.11" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799" +checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.90", ] [[package]] @@ -2780,14 +2925,14 @@ dependencies = [ "base64 0.22.1", "chrono", "getrandom", - "http 1.1.0", + "http 1.2.0", "rand", "reqwest", "serde", "serde_json", "serde_path_to_error", "sha2", - "thiserror", + "thiserror 1.0.69", "url", ] @@ -2826,7 +2971,7 @@ dependencies = [ "dyn-clone", "ed25519-dalek", "hmac", - "http 1.1.0", + "http 1.2.0", "itertools 0.10.5", "log", "oauth2", @@ -2842,7 +2987,7 @@ dependencies = [ "serde_with", "sha2", "subtle", - "thiserror", + "thiserror 1.0.69", "url", ] @@ -3012,7 +3157,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.69", "ucd-trie", ] @@ -3036,7 +3181,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -3057,7 +3202,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.6.0", + "indexmap 2.7.0", ] [[package]] @@ -3110,7 +3255,7 @@ checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -3144,7 +3289,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.1.1", + "fastrand 2.2.0", "futures-io", ] @@ -3193,15 +3338,15 @@ dependencies = [ [[package]] name = "polling" -version = "3.7.3" +version = "3.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2790cd301dec6cd3b7a025e4815cf825724a51c98dccfe6a3e55f05ffb6511" +checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi 0.4.0", "pin-project-lite", - "rustix 0.38.38", + "rustix 0.38.41", "tracing", "windows-sys 0.59.0", ] @@ -3263,7 +3408,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" dependencies = [ "proc-macro2", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -3286,34 +3431,19 @@ dependencies = [ ] [[package]] -name = "proc-macro-error" -version = "1.0.4" +name = "proc-macro-crate" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", + "toml_edit 0.22.22", ] [[package]] name = "proc-macro2" -version = "1.0.89" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -3338,7 +3468,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -3368,7 +3498,7 @@ dependencies = [ "prost", "prost-types", "regex", - "syn 2.0.86", + "syn 2.0.90", "tempfile", ] @@ -3382,7 +3512,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -3396,49 +3526,52 @@ dependencies = [ [[package]] name = "quinn" -version = "0.11.5" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c7c5fdde3cdae7203427dc4f0a68fe0ed09833edc525a03456b153b79828684" +checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" dependencies = [ "bytes", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.0.0", - "rustls 0.23.16", - "socket2 0.5.7", - "thiserror", + "rustc-hash 2.1.0", + "rustls 0.23.19", + "socket2 0.5.8", + "thiserror 2.0.4", "tokio", "tracing", ] [[package]] name = "quinn-proto" -version = "0.11.8" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6" +checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes", + "getrandom", "rand", "ring", - "rustc-hash 2.0.0", - "rustls 0.23.16", + "rustc-hash 2.1.0", + "rustls 0.23.19", + "rustls-pki-types", "slab", - "thiserror", + "thiserror 2.0.4", "tinyvec", "tracing", + "web-time", ] [[package]] name = "quinn-udp" -version = "0.5.6" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e346e016eacfff12233c243718197ca12f148c84e1e84268a896699b41c71780" +checksum = "7d5a626c6807713b15cac82a6acaccd6043c9a5408c24baae07611fec3f243da" dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.5.7", + "socket2 0.5.8", "tracing", "windows-sys 0.59.0", ] @@ -3498,9 +3631,9 @@ dependencies = [ [[package]] name = "rdkafka" -version = "0.36.2" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1beea247b9a7600a81d4cc33f659ce1a77e1988323d7d2809c7ed1c21f4c316d" +checksum = "14b52c81ac3cac39c9639b95c20452076e74b8d9a71bc6fc4d83407af2ea6fff" dependencies = [ "futures-channel", "futures-util", @@ -3516,9 +3649,9 @@ dependencies = [ [[package]] name = "rdkafka-sys" -version = "4.7.0+2.3.0" +version = "4.8.0+2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55e0d2f9ba6253f6ec72385e453294f8618e9e15c2c6aba2a5c01ccf9622d615" +checksum = "ced38182dc436b3d9df0c77976f37a67134df26b050df1f0006688e46fc4c8be" dependencies = [ "cmake", "libc", @@ -3539,9 +3672,9 @@ dependencies = [ [[package]] name = "redis" -version = "0.27.5" +version = "0.27.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cccf17a692ce51b86564334614d72dcae1def0fd5ecebc9f02956da74352b5" +checksum = "09d8f99a4090c89cc489a94833c901ead69bfbf3877b4867d5482e321ee875bc" dependencies = [ "arc-swap", "async-trait", @@ -3550,19 +3683,20 @@ dependencies = [ "crc16", "futures", "futures-util", + "itertools 0.13.0", "itoa", "log", "num-bigint", "percent-encoding", "pin-project-lite", "rand", - "rustls 0.23.16", + "rustls 0.23.19", "rustls-native-certs 0.7.3", "rustls-pemfile", "rustls-pki-types", "ryu", "sha1_smol", - "socket2 0.5.7", + "socket2 0.5.8", "tokio", "tokio-rustls 0.26.0", "tokio-util", @@ -3586,7 +3720,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3603,9 +3737,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" dependencies = [ "aho-corasick", "memchr", @@ -3634,10 +3768,10 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-rustls", "hyper-util", "ipnet", @@ -3648,14 +3782,14 @@ dependencies = [ "percent-encoding", "pin-project-lite", "quinn", - "rustls 0.23.16", - "rustls-native-certs 0.8.0", + "rustls 0.23.19", + "rustls-native-certs 0.8.1", "rustls-pemfile", "rustls-pki-types", "serde", "serde_json", "serde_urlencoded", - "sync_wrapper 1.0.1", + "sync_wrapper 1.0.2", "tokio", "tokio-rustls 0.26.0", "tower-service", @@ -3694,9 +3828,9 @@ dependencies = [ [[package]] name = "rquickjs" -version = "0.6.2" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cbd33e0b668aea0ab238b9164523aca929096f9f40834700d71d91dd4888882" +checksum = "d16661bff09e9ed8e01094a188b463de45ec0693ade55b92ed54027d7ba7c40c" dependencies = [ "rquickjs-core", "rquickjs-macro", @@ -3704,9 +3838,9 @@ dependencies = [ [[package]] name = "rquickjs-core" -version = "0.6.2" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e9129d69b7b8f7ee8ad1da5b12c7f4a8a8acd45f2e6dd9cb2ee1bc5a1f2fa3d" +checksum = "6c8db6379e204ef84c0811e90e7cc3e3e4d7688701db68a00d14a6db6849087b" dependencies = [ "chrono", "relative-path", @@ -3715,27 +3849,26 @@ dependencies = [ [[package]] name = "rquickjs-macro" -version = "0.6.2" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7d2ecaf7c9eda262e02a91e9541989a9dd18984d17d0d97f99f33b464318057" +checksum = "6041104330c019fcd936026ae05e2446f5e8a2abef329d924f25424b7052a2f3" dependencies = [ "convert_case", "fnv", "ident_case", - "indexmap 2.6.0", - "proc-macro-crate", - "proc-macro-error", + "indexmap 2.7.0", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "rquickjs-core", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] name = "rquickjs-sys" -version = "0.6.2" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf6f2288d8e7fbb5130f62cf720451641e99d55f6fde9db86aa2914ecb553fd2" +checksum = "4bc352c6b663604c3c186c000cfcc6c271f4b50bc135a285dd6d4f2a42f9790a" dependencies = [ "bindgen", "cc", @@ -3743,9 +3876,9 @@ dependencies = [ [[package]] name = "rsa" -version = "0.9.6" +version = "0.9.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d0e5124fcb30e76a7e79bfee683a2746db83784b86289f6251b54b7950a0dfc" +checksum = "47c75d7c5c6b673e58bf54d8544a9f432e3a925b0e80f7cd3602ab5c50c55519" dependencies = [ "const-oid", "digest", @@ -3774,7 +3907,7 @@ dependencies = [ "rustls-native-certs 0.7.3", "rustls-pemfile", "rustls-webpki", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-rustls 0.25.0", "url", @@ -3800,7 +3933,7 @@ dependencies = [ "proc-macro2", "quote", "rust-embed-utils", - "syn 2.0.86", + "syn 2.0.90", "walkdir", ] @@ -3828,9 +3961,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" +checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" [[package]] name = "rustc_version" @@ -3866,9 +3999,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.38" +version = "0.38.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa260229e6538e52293eeb577aabd09945a09d6d9cc0fc550ed7529056c2e32a" +checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6" dependencies = [ "bitflags 2.6.0", "errno", @@ -3893,9 +4026,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.16" +version = "0.23.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e" +checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1" dependencies = [ "log", "once_cell", @@ -3916,20 +4049,19 @@ dependencies = [ "rustls-pemfile", "rustls-pki-types", "schannel", - "security-framework", + "security-framework 2.11.1", ] [[package]] name = "rustls-native-certs" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcaf18a4f2be7326cd874a5fa579fae794320a0f388d365dca7e480e55f83f8a" +checksum = "7fcff2dd52b58a8d98a70243663a0d234c4e2b79235637849d15913394a247d3" dependencies = [ "openssl-probe", - "rustls-pemfile", "rustls-pki-types", "schannel", - "security-framework", + "security-framework 3.0.1", ] [[package]] @@ -3946,6 +4078,9 @@ name = "rustls-pki-types" version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" +dependencies = [ + "web-time", +] [[package]] name = "rustls-webpki" @@ -3981,9 +4116,9 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1" +checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" dependencies = [ "windows-sys 0.59.0", ] @@ -4024,7 +4159,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ "bitflags 2.6.0", - "core-foundation", + "core-foundation 0.9.4", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1415a607e92bec364ea2cf9264646dcce0f91e6d65281bd6f2819cca3bf39c8" +dependencies = [ + "bitflags 2.6.0", + "core-foundation 0.10.0", "core-foundation-sys", "libc", "security-framework-sys", @@ -4032,9 +4180,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.12.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" +checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2" dependencies = [ "core-foundation-sys", "libc", @@ -4048,9 +4196,9 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.214" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" +checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" dependencies = [ "serde_derive", ] @@ -4067,20 +4215,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.214" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" +checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", "memchr", @@ -4148,7 +4296,7 @@ dependencies = [ "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.6.0", + "indexmap 2.7.0", "serde", "serde_derive", "serde_json", @@ -4165,7 +4313,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -4174,7 +4322,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.6.0", + "indexmap 2.7.0", "itoa", "ryu", "serde", @@ -4281,7 +4429,7 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ "num-bigint", "num-traits", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -4318,9 +4466,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" dependencies = [ "libc", "windows-sys 0.52.0", @@ -4345,6 +4493,12 @@ dependencies = [ "der", ] +[[package]] +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + [[package]] name = "string_cache" version = "0.8.7" @@ -4394,9 +4548,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.86" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89275301d38033efb81a6e60e3497e734dfcc62571f2854bf4b16690398824c" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -4411,9 +4565,9 @@ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" [[package]] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" dependencies = [ "futures-core", ] @@ -4426,7 +4580,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -4440,14 +4594,14 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.13.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" +checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" dependencies = [ "cfg-if", - "fastrand 2.1.1", + "fastrand 2.2.0", "once_cell", - "rustix 0.38.38", + "rustix 0.38.41", "windows-sys 0.59.0", ] @@ -4464,22 +4618,42 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.66" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d171f59dbaa811dbbb1aee1e73db92ec2b122911a48e1390dfe327a821ddede" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f49a1853cf82743e3b7950f77e0f4d622ca36cf4317cba00c767838bac8d490" +dependencies = [ + "thiserror-impl 2.0.4", ] [[package]] name = "thiserror-impl" -version = "1.0.66" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b08be0f17bd307950653ce45db00cd31200d82b624b36e181337d9c7d92765b5" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8381894bb3efe0c4acac3ded651301ceee58a15d47c2e34885ed1908ad667061" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", ] [[package]] @@ -4494,9 +4668,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.36" +version = "0.3.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" dependencies = [ "deranged", "itoa", @@ -4515,9 +4689,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" dependencies = [ "num-conv", "time-core", @@ -4532,6 +4706,16 @@ dependencies = [ "crunchy", ] +[[package]] +name = "tinystr" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +dependencies = [ + "displaydoc", + "zerovec", +] + [[package]] name = "tinyvec" version = "1.8.0" @@ -4565,14 +4749,14 @@ checksum = "8d9ef545650e79f30233c0003bcc2504d7efac6dad25fca40744de773fe2049c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] name = "tokio" -version = "1.41.0" +version = "1.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "145f3413504347a2be84393cc8a7d2fb4d863b375909ea59f2158261aa258bbb" +checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" dependencies = [ "backtrace", "bytes", @@ -4580,7 +4764,7 @@ dependencies = [ "mio", "pin-project-lite", "signal-hook-registry", - "socket2 0.5.7", + "socket2 0.5.8", "tokio-macros", "windows-sys 0.52.0", ] @@ -4604,7 +4788,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -4627,7 +4811,7 @@ dependencies = [ "postgres-protocol", "postgres-types", "rand", - "socket2 0.5.7", + "socket2 0.5.8", "tokio", "tokio-util", "whoami", @@ -4641,7 +4825,7 @@ checksum = "27d684bad428a0f2481f42241f821db42c54e2dc81d8c00db8536c506b0a0144" dependencies = [ "const-oid", "ring", - "rustls 0.23.16", + "rustls 0.23.19", "tokio", "tokio-postgres", "tokio-rustls 0.26.0", @@ -4679,7 +4863,7 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.16", + "rustls 0.23.19", "rustls-pki-types", "tokio", ] @@ -4697,9 +4881,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.12" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" +checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" dependencies = [ "bytes", "futures-core", @@ -4735,7 +4919,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.6.0", + "indexmap 2.7.0", "toml_datetime", "winnow 0.5.40", ] @@ -4746,7 +4930,7 @@ version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ - "indexmap 2.6.0", + "indexmap 2.7.0", "serde", "serde_spanned", "toml_datetime", @@ -4765,16 +4949,16 @@ dependencies = [ "base64 0.22.1", "bytes", "h2", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-timeout", "hyper-util", "percent-encoding", "pin-project", "prost", - "socket2 0.5.7", + "socket2 0.5.8", "tokio", "tokio-stream", "tower 0.4.13", @@ -4794,7 +4978,7 @@ dependencies = [ "prost-build", "prost-types", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] @@ -4818,7 +5002,7 @@ checksum = "5299dd20801ad736dccb4a5ea0da7376e59cd98f213bf1c3d478cf53f4834b58" dependencies = [ "base64 0.22.1", "bytes", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "http-body-util", "pin-project", @@ -4874,7 +5058,7 @@ checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" dependencies = [ "bitflags 2.6.0", "bytes", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "http-body-util", "pin-project-lite", @@ -4884,14 +5068,14 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8437150ab6bbc8c5f0f519e3d5ed4aa883a83dd4cdd3d1b21f9482936046cb97" +checksum = "403fa3b783d4b626a8ad51d766ab03cb6d2dbfc46b1c5d4448395e6628dc9697" dependencies = [ "base64 0.22.1", "bitflags 2.6.0", "bytes", - "http 1.1.0", + "http 1.2.0", "http-body 1.0.1", "mime", "pin-project-lite", @@ -4914,9 +5098,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "log", "pin-project-lite", @@ -4926,20 +5110,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", ] [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" dependencies = [ "once_cell", "valuable", @@ -4968,9 +5152,9 @@ dependencies = [ [[package]] name = "tracing-serde" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" +checksum = "704b1aeb7be0d0a84fc9828cae51dab5970fee5088f83d1dd7ee6f6246fc6ff1" dependencies = [ "serde", "tracing-core", @@ -4978,9 +5162,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" +checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" dependencies = [ "nu-ansi-term", "serde", @@ -5025,9 +5209,9 @@ checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893" [[package]] name = "unicode-ident" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-normalization" @@ -5070,9 +5254,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.2" +version = "2.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" +checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" dependencies = [ "form_urlencoded", "idna", @@ -5086,6 +5270,18 @@ version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" +[[package]] +name = "utf16_iter" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + [[package]] name = "utf8parse" version = "0.2.2" @@ -5165,9 +5361,9 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.95" +version = "0.2.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e" +checksum = "d15e63b4482863c109d70a7b8706c1e364eb6ea449b201a76c5b89cedcec2d5c" dependencies = [ "cfg-if", "once_cell", @@ -5176,36 +5372,37 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.95" +version = "0.2.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358" +checksum = "8d36ef12e3aaca16ddd3f67922bc63e48e953f126de60bd33ccc0101ef9998cd" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.45" +version = "0.4.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b" +checksum = "9dfaf8f50e5f293737ee323940c7d8b08a66a95a419223d9f41610ca08b0833d" dependencies = [ "cfg-if", "js-sys", + "once_cell", "wasm-bindgen", "web-sys", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.95" +version = "0.2.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56" +checksum = "705440e08b42d3e4b36de7d66c944be628d579796b8090bfa3471478a2260051" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5213,28 +5410,38 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.95" +version = "0.2.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" +checksum = "98c9ae5a76e46f4deecd0f0255cc223cfa18dc9b261213b8aa0c7b36f61b3f1d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.95" +version = "0.2.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" +checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49" [[package]] name = "web-sys" -version = "0.3.72" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112" +checksum = "a98bc3c33f0fe7e59ad7cd041b89034fa82a7c2d4365ca538dda6cdaf513863c" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" dependencies = [ "js-sys", "wasm-bindgen", @@ -5242,9 +5449,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.6" +version = "0.26.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841c67bff177718f1d4dfefde8d8f0e78f9b6589319ba88312f567fc5841a958" +checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" dependencies = [ "rustls-pki-types", ] @@ -5258,7 +5465,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.38", + "rustix 0.38.41", ] [[package]] @@ -5508,6 +5715,18 @@ dependencies = [ "memchr", ] +[[package]] +name = "write16" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" + +[[package]] +name = "writeable" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" + [[package]] name = "x509-cert" version = "0.2.5" @@ -5534,7 +5753,7 @@ dependencies = [ "oid-registry", "ring", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -5547,6 +5766,30 @@ dependencies = [ "time", ] +[[package]] +name = "yoke" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +dependencies = [ + "serde", + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", + "synstructure", +] + [[package]] name = "zerocopy" version = "0.7.35" @@ -5565,7 +5808,28 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", +] + +[[package]] +name = "zerofrom" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", + "synstructure", ] [[package]] @@ -5585,5 +5849,27 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.86", + "syn 2.0.90", +] + +[[package]] +name = "zerovec" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", ] diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 334eb0ad..f82eab9e 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -8,7 +8,7 @@ [dependencies] serde = { version = "1.0", features = ["derive", "rc"] } serde_json = "1.0" - thiserror = "1.0" + thiserror = "2.0" anyhow = "1.0" tracing = "0.1" hex = "0.4" @@ -19,7 +19,7 @@ "rustls-tls", ], default-features = false } chrono = { version = "0.4", features = ["serde"] } - tokio = { version = "1.41", features = ["macros"] } + tokio = { version = "1.42", features = ["macros"] } chirpstack_api = { path = "../api/rust", default-features = false, features = [ "json", ] } diff --git a/chirpstack-integration/Cargo.toml b/chirpstack-integration/Cargo.toml index 2ee6b67c..f6ec3788 100644 --- a/chirpstack-integration/Cargo.toml +++ b/chirpstack-integration/Cargo.toml @@ -23,7 +23,7 @@ ], default-features = true } async-trait = "0.1" serde = { version = "1.0", features = ["derive"] } - tokio = { version = "1.41", features = ["macros", "rt-multi-thread"] } + tokio = { version = "1.42", features = ["macros", "rt-multi-thread"] } lazy_static = "1.5" serde_json = "1.0" toml = "0.8" diff --git a/chirpstack/Cargo.toml b/chirpstack/Cargo.toml index 325cf8a0..92d441cb 100644 --- a/chirpstack/Cargo.toml +++ b/chirpstack/Cargo.toml @@ -74,7 +74,7 @@ lapin = { version = "2.5", default-features = false } tokio-executor-trait = "2.1" tokio-reactor-trait = "1.1" - rdkafka = { version = "0.36", default-features = false, features = [ + rdkafka = { version = "0.37", default-features = false, features = [ "tokio", "cmake-build", ] } @@ -83,7 +83,7 @@ tonic = "0.12" tonic-web = "0.12" tonic-reflection = "0.12" - tokio = { version = "1.41", features = ["macros", "rt-multi-thread"] } + tokio = { version = "1.42", features = ["macros", "rt-multi-thread"] } tokio-stream = "0.1" prost-types = "0.13" prost = "0.13" @@ -102,7 +102,7 @@ tower-http = { version = "0.6", features = ["trace", "auth"] } # Error handling - thiserror = "1.0" + thiserror = "2.0" anyhow = "1.0" # Authentication @@ -133,7 +133,7 @@ hex = "0.4" # Codecs - rquickjs = { version = "0.6", features = [ + rquickjs = { version = "0.8", features = [ "bindgen", "loader", "array-buffer", diff --git a/chirpstack/src/codec/js/mod.rs b/chirpstack/src/codec/js/mod.rs index 93df44f7..54d71028 100644 --- a/chirpstack/src/codec/js/mod.rs +++ b/chirpstack/src/codec/js/mod.rs @@ -227,7 +227,7 @@ pub mod test { let out = decode(Utc::now(), 10, &vars, &decoder, &[0x01, 0x02, 0x03]).await; assert_eq!( - "JS error: Error:4:24 'foo' is not defined\n at decodeUplink (eval_script:4:24)\n at (eval_script:8:9)\n", + "JS error: Error: foo is not defined\n at decodeUplink (eval_script:3:1)\n at (eval_script:8:9)\n", out.err().unwrap().to_string() ); } @@ -368,7 +368,7 @@ pub mod test { }; let out = encode(10, &vars, &encoder, &input).await; - assert_eq!("JS error: Error:4:24 'foo' is not defined\n at encodeDownlink (eval_script:4:24)\n at (eval_script:8:9)\n", out.err().unwrap().to_string()); + assert_eq!("JS error: Error: foo is not defined\n at encodeDownlink (eval_script:3:1)\n at (eval_script:8:9)\n", out.err().unwrap().to_string()); } #[tokio::test] diff --git a/lrwn/Cargo.toml b/lrwn/Cargo.toml index ef6ebfd0..9bb2a543 100644 --- a/lrwn/Cargo.toml +++ b/lrwn/Cargo.toml @@ -19,7 +19,7 @@ diesel = { version = "2.2", optional = true } # Error handling - thiserror = "1.0" + thiserror = "2.0" anyhow = "1.0" # Misc From 661c4ed41740f8e5c7b8b39d983cb2bc7f6caed2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 12:26:31 +0000 Subject: [PATCH 05/13] Bump cross-spawn from 7.0.3 to 7.0.6 in /ui (#562) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- ui/yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/yarn.lock b/ui/yarn.lock index 3b029c11..c74a86fb 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -108,7 +108,7 @@ regenerator-runtime "^0.14.0" "@chirpstack/chirpstack-api-grpc-web@file:../api/grpc-web": - version "4.10.0-test.1" + version "4.10.1" dependencies: "@types/google-protobuf" "^3.15.12" google-protobuf "^3.21.2" @@ -1120,9 +1120,9 @@ copy-to-clipboard@^3.3.3: toggle-selection "^1.0.6" cross-spawn@^7.0.2: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: path-key "^3.1.0" shebang-command "^2.0.0" From 092c119cdcaabf02491039877ab41dd53ea7248c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 12:28:15 +0000 Subject: [PATCH 06/13] Bump thiserror from 1.0.69 to 2.0.4 (#571) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.69 to 2.0.4. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.69...2.0.4) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 2 +- lrwn-filters/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0e1c5a96..180f80b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2687,7 +2687,7 @@ dependencies = [ "hex", "lrwn", "serde", - "thiserror 1.0.69", + "thiserror 2.0.4", ] [[package]] diff --git a/lrwn-filters/Cargo.toml b/lrwn-filters/Cargo.toml index 362f98e5..01768481 100644 --- a/lrwn-filters/Cargo.toml +++ b/lrwn-filters/Cargo.toml @@ -13,7 +13,7 @@ [dependencies] hex = "0.4" - thiserror = "1.0" + thiserror = "2.0" serde = { version = "1.0", features = ["derive"], optional = true } [dev-dependencies] From 7936955a19b2b2556d6629e9e0de85b41cff0d6f Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Fri, 6 Dec 2024 09:54:54 +0000 Subject: [PATCH 07/13] Update base image version. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7c6f703a..c87c0808 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Copy binary stage -FROM --platform=$BUILDPLATFORM alpine:3.18.0 as binary +FROM --platform=$BUILDPLATFORM alpine:3.21.0 as binary ARG TARGETPLATFORM @@ -20,11 +20,11 @@ RUN case "$TARGETPLATFORM" in \ esac; # Final stage -FROM alpine:3.18.0 +FROM alpine:3.21.0 RUN apk --no-cache add \ ca-certificates COPY --from=binary /usr/bin/chirpstack /usr/bin/chirpstack USER nobody:nogroup -ENTRYPOINT ["/usr/bin/chirpstack"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/chirpstack"] From a70afa223b3385c6a983e017f6254c7c55fc6aca Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Tue, 10 Dec 2024 12:48:52 +0000 Subject: [PATCH 08/13] Remove old build config. --- Makefile | 4 ---- ui/Dockerfile-devel | 8 -------- 2 files changed, 12 deletions(-) delete mode 100644 ui/Dockerfile-devel diff --git a/Makefile b/Makefile index 0c333f14..5cc78b08 100644 --- a/Makefile +++ b/Makefile @@ -53,10 +53,6 @@ devshell: docker-devshell: docker compose run --rm --service-ports --name chirpstack chirpstack -# Enters the devshell for ChirpStack UI development. -docker-devshell-ui: - docker compose run --rm --service-ports --name chirpstack-ui chirpstack-ui bash - # Runs the tests test: cd api && make rust diff --git a/ui/Dockerfile-devel b/ui/Dockerfile-devel deleted file mode 100644 index 9d7b242e..00000000 --- a/ui/Dockerfile-devel +++ /dev/null @@ -1,8 +0,0 @@ -FROM alpine:3.17.3 - -ENV PROJECT_PATH=/chirpstack/ui - -RUN apk add --no-cache make git bash build-base nodejs npm yarn - -RUN mkdir -p $PROJECT_PATH -WORKDIR $PROJECT_PATH From e5397ca43a82711caca42e51843b9abfe8f53baa Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Tue, 10 Dec 2024 12:53:16 +0000 Subject: [PATCH 09/13] Update dependencies. --- Cargo.lock | 171 ++++++++++++++++++++++++++--------------------------- 1 file changed, 84 insertions(+), 87 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 180f80b5..466dff72 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -278,7 +278,7 @@ checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.2.0", + "fastrand 2.3.0", "futures-lite 2.5.0", "slab", ] @@ -342,7 +342,7 @@ dependencies = [ "futures-lite 2.5.0", "parking", "polling 3.7.4", - "rustix 0.38.41", + "rustix 0.38.42", "slab", "tracing", "windows-sys 0.59.0", @@ -392,7 +392,7 @@ dependencies = [ "cfg-if", "event-listener 5.3.1", "futures-lite 2.5.0", - "rustix 0.38.41", + "rustix 0.38.42", "tracing", ] @@ -431,7 +431,7 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 0.38.41", + "rustix 0.38.42", "signal-hook-registry", "slab", "windows-sys 0.59.0", @@ -604,7 +604,7 @@ dependencies = [ "rustls-pemfile", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.0", + "tokio-rustls 0.26.1", "tower 0.4.13", "tower-service", ] @@ -623,7 +623,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror 2.0.4", + "thiserror 2.0.6", "tokio", "tracing", ] @@ -680,9 +680,9 @@ dependencies = [ [[package]] name = "bigdecimal" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f850665a0385e070b64c38d2354e6c104c8479c59868d1e48a0c13ee2c7a1c1" +checksum = "7f31f3af01c5c65a07985c804d3366560e6fa7883d640a122819b14ec327482c" dependencies = [ "autocfg", "libm", @@ -783,9 +783,9 @@ checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "cc" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc" +checksum = "27f657647bcff5394bf56c7317665bbf790a137a50eaaa5c6bfbb9e27a518f2d" dependencies = [ "shlex", ] @@ -885,7 +885,7 @@ dependencies = [ "sha2", "signal-hook", "signal-hook-tokio", - "thiserror 2.0.4", + "thiserror 2.0.6", "tokio", "tokio-executor-trait", "tokio-postgres", @@ -941,9 +941,9 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.38" +version = "0.4.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" dependencies = [ "android-tzdata", "iana-time-zone", @@ -977,9 +977,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.22" +version = "4.5.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69371e34337c4c984bbe322360c2547210bf632eb2814bbe78a6e87a2935bd2b" +checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84" dependencies = [ "clap_builder", "clap_derive", @@ -987,9 +987,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.22" +version = "4.5.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e24c1b4099818523236a8ca881d2b45db98dadfb4625cf6608c12069fcbbde1" +checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838" dependencies = [ "anstream", "anstyle", @@ -1011,9 +1011,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" +checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "cmac" @@ -1620,9 +1620,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "ff" @@ -1747,7 +1747,7 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cef40d21ae2c515b51041df9ed313ed21e572df340ea58a922a0aefe7e8891a1" dependencies = [ - "fastrand 2.2.0", + "fastrand 2.3.0", "futures-core", "futures-io", "parking", @@ -2169,7 +2169,7 @@ dependencies = [ "rustls-native-certs 0.8.1", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.0", + "tokio-rustls 0.26.1", "tower-service", "webpki-roots", ] @@ -2481,9 +2481,9 @@ checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "js-sys" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a865e038f7f6ed956f788f0d7d60c541fff74c7bd74272c5d4cf15c63743e705" +checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" dependencies = [ "once_cell", "wasm-bindgen", @@ -2589,9 +2589,9 @@ checksum = "db13adb97ab515a3691f56e4dbab09283d0b86cb45abd991d8634a9d6f501760" [[package]] name = "libc" -version = "0.2.167" +version = "0.2.168" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" +checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d" [[package]] name = "libloading" @@ -2677,7 +2677,7 @@ dependencies = [ "hex", "lazy_static", "serde", - "thiserror 2.0.4", + "thiserror 2.0.6", ] [[package]] @@ -2687,7 +2687,7 @@ dependencies = [ "hex", "lrwn", "serde", - "thiserror 2.0.4", + "thiserror 2.0.6", ] [[package]] @@ -3152,20 +3152,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.14" +version = "2.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" +checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" dependencies = [ "memchr", - "thiserror 1.0.69", + "thiserror 2.0.6", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.14" +version = "2.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d214365f632b123a47fd913301e14c946c61d1c183ee245fa76eb752e59a02dd" +checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e" dependencies = [ "pest", "pest_generator", @@ -3173,9 +3173,9 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.14" +version = "2.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb55586734301717aea2ac313f50b2eb8f60d2fc3dc01d190eefa2e625f60c4e" +checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b" dependencies = [ "pest", "pest_meta", @@ -3186,9 +3186,9 @@ dependencies = [ [[package]] name = "pest_meta" -version = "2.7.14" +version = "2.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b75da2a70cf4d9cb76833c990ac9cd3923c9a8905a8929789ce347c84564d03d" +checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea" dependencies = [ "once_cell", "pest", @@ -3289,7 +3289,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.2.0", + "fastrand 2.3.0", "futures-io", ] @@ -3346,7 +3346,7 @@ dependencies = [ "concurrent-queue", "hermit-abi 0.4.0", "pin-project-lite", - "rustix 0.38.41", + "rustix 0.38.42", "tracing", "windows-sys 0.59.0", ] @@ -3473,9 +3473,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b0487d90e047de87f984913713b85c601c05609aad5b0df4b4573fbf69aa13f" +checksum = "2c0fef6c4230e4ccf618a35c59d7ede15dea37de8427500f50aff708806e42ec" dependencies = [ "bytes", "prost-derive", @@ -3483,11 +3483,10 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c1318b19085f08681016926435853bbf7858f9c082d0999b80550ff5d9abe15" +checksum = "d0f3e5beed80eb580c68e2c600937ac2c4eedabdfd5ef1e5b7ea4f3fba84497b" dependencies = [ - "bytes", "heck", "itertools 0.13.0", "log", @@ -3504,9 +3503,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9552f850d5f0964a4e4d0bf306459ac29323ddfbae05e35a7c0d35cb0803cc5" +checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3" dependencies = [ "anyhow", "itertools 0.13.0", @@ -3517,9 +3516,9 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4759aa0d3a6232fb8dbdb97b61de2c20047c68aca932c7ed76da9d788508d670" +checksum = "cc2f1e56baa61e93533aebc21af4d2134b70f66275e0fcdf3cbe43d77ff7e8fc" dependencies = [ "prost", ] @@ -3537,7 +3536,7 @@ dependencies = [ "rustc-hash 2.1.0", "rustls 0.23.19", "socket2 0.5.8", - "thiserror 2.0.4", + "thiserror 2.0.6", "tokio", "tracing", ] @@ -3556,7 +3555,7 @@ dependencies = [ "rustls 0.23.19", "rustls-pki-types", "slab", - "thiserror 2.0.4", + "thiserror 2.0.6", "tinyvec", "tracing", "web-time", @@ -3564,9 +3563,9 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d5a626c6807713b15cac82a6acaccd6043c9a5408c24baae07611fec3f243da" +checksum = "52cd4b1eff68bf27940dd39811292c49e007f4d0b4c357358dc9b0197be6b527" dependencies = [ "cfg_aliases", "libc", @@ -3698,7 +3697,7 @@ dependencies = [ "sha1_smol", "socket2 0.5.8", "tokio", - "tokio-rustls 0.26.0", + "tokio-rustls 0.26.1", "tokio-util", "url", ] @@ -3791,7 +3790,7 @@ dependencies = [ "serde_urlencoded", "sync_wrapper 1.0.2", "tokio", - "tokio-rustls 0.26.0", + "tokio-rustls 0.26.1", "tower-service", "url", "wasm-bindgen", @@ -3999,15 +3998,15 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.41" +version = "0.38.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6" +checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" dependencies = [ "bitflags 2.6.0", "errno", "libc", "linux-raw-sys 0.4.14", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -4599,9 +4598,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" dependencies = [ "cfg-if", - "fastrand 2.2.0", + "fastrand 2.3.0", "once_cell", - "rustix 0.38.41", + "rustix 0.38.42", "windows-sys 0.59.0", ] @@ -4627,11 +4626,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.4" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f49a1853cf82743e3b7950f77e0f4d622ca36cf4317cba00c767838bac8d490" +checksum = "8fec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47" dependencies = [ - "thiserror-impl 2.0.4", + "thiserror-impl 2.0.6", ] [[package]] @@ -4647,9 +4646,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.4" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8381894bb3efe0c4acac3ded651301ceee58a15d47c2e34885ed1908ad667061" +checksum = "d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312" dependencies = [ "proc-macro2", "quote", @@ -4828,7 +4827,7 @@ dependencies = [ "rustls 0.23.19", "tokio", "tokio-postgres", - "tokio-rustls 0.26.0", + "tokio-rustls 0.26.1", "x509-cert", ] @@ -4859,20 +4858,19 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" dependencies = [ "rustls 0.23.19", - "rustls-pki-types", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.16" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" +checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" dependencies = [ "futures-core", "pin-project-lite", @@ -5361,9 +5359,9 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d15e63b4482863c109d70a7b8706c1e364eb6ea449b201a76c5b89cedcec2d5c" +checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" dependencies = [ "cfg-if", "once_cell", @@ -5372,13 +5370,12 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d36ef12e3aaca16ddd3f67922bc63e48e953f126de60bd33ccc0101ef9998cd" +checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" dependencies = [ "bumpalo", "log", - "once_cell", "proc-macro2", "quote", "syn 2.0.90", @@ -5387,9 +5384,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.47" +version = "0.4.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dfaf8f50e5f293737ee323940c7d8b08a66a95a419223d9f41610ca08b0833d" +checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" dependencies = [ "cfg-if", "js-sys", @@ -5400,9 +5397,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "705440e08b42d3e4b36de7d66c944be628d579796b8090bfa3471478a2260051" +checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5410,9 +5407,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c9ae5a76e46f4deecd0f0255cc223cfa18dc9b261213b8aa0c7b36f61b3f1d" +checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" dependencies = [ "proc-macro2", "quote", @@ -5423,15 +5420,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49" +checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" [[package]] name = "web-sys" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a98bc3c33f0fe7e59ad7cd041b89034fa82a7c2d4365ca538dda6cdaf513863c" +checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc" dependencies = [ "js-sys", "wasm-bindgen", @@ -5465,7 +5462,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.41", + "rustix 0.38.42", ] [[package]] From e50a1e3655e814bef2cbaeb420ef192b09eb6df8 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Tue, 10 Dec 2024 13:01:17 +0000 Subject: [PATCH 10/13] Bump version to 4.10.2 --- Cargo.lock | 12 +- api/go/api/application.pb.go | 1680 +++-------------- api/go/api/application_grpc.pb.go | 2 +- api/go/api/device.pb.go | 822 ++------ api/go/api/device_grpc.pb.go | 2 +- api/go/api/device_profile.pb.go | 294 +-- api/go/api/device_profile_grpc.pb.go | 2 +- api/go/api/device_profile_template.pb.go | 206 +- api/go/api/device_profile_template_grpc.pb.go | 2 +- api/go/api/gateway.pb.go | 514 +---- api/go/api/gateway_grpc.pb.go | 2 +- api/go/api/internal.pb.go | 756 ++------ api/go/api/internal_grpc.pb.go | 2 +- api/go/api/multicast_group.pb.go | 448 +---- api/go/api/multicast_group_grpc.pb.go | 2 +- api/go/api/relay.pb.go | 184 +- api/go/api/relay_grpc.pb.go | 2 +- api/go/api/tenant.pb.go | 426 +---- api/go/api/tenant_grpc.pb.go | 2 +- api/go/api/user.pb.go | 272 +-- api/go/api/user_grpc.pb.go | 2 +- api/go/common/common.pb.go | 118 +- api/go/gw/gw.pb.go | 834 ++------ api/go/integration/integration.pb.go | 250 +-- api/go/stream/api_request.pb.go | 30 +- api/go/stream/backend_interfaces.pb.go | 30 +- api/go/stream/frame.pb.go | 52 +- api/go/stream/meta.pb.go | 52 +- api/grpc-web/package.json | 2 +- api/java/build.gradle.kts | 2 +- api/js/package.json | 2 +- api/kotlin/build.gradle.kts | 2 +- api/php/composer.json | 2 +- api/python/src/setup.py | 2 +- api/rust/Cargo.toml | 2 +- backend/Cargo.toml | 2 +- chirpstack-integration/Cargo.toml | 4 +- chirpstack/Cargo.toml | 2 +- lrwn-filters/Cargo.toml | 2 +- lrwn/Cargo.toml | 2 +- ui/package.json | 2 +- 41 files changed, 1327 insertions(+), 5701 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 466dff72..aec88c14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -611,7 +611,7 @@ dependencies = [ [[package]] name = "backend" -version = "4.10.1" +version = "4.10.2" dependencies = [ "aes-kw", "anyhow", @@ -813,7 +813,7 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chirpstack" -version = "4.10.1" +version = "4.10.2" dependencies = [ "aes", "anyhow", @@ -907,7 +907,7 @@ dependencies = [ [[package]] name = "chirpstack_api" -version = "4.10.1" +version = "4.10.2" dependencies = [ "hex", "pbjson", @@ -924,7 +924,7 @@ dependencies = [ [[package]] name = "chirpstack_integration" -version = "4.10.1" +version = "4.10.2" dependencies = [ "anyhow", "async-trait", @@ -2668,7 +2668,7 @@ dependencies = [ [[package]] name = "lrwn" -version = "4.10.1" +version = "4.10.2" dependencies = [ "aes", "anyhow", @@ -2682,7 +2682,7 @@ dependencies = [ [[package]] name = "lrwn_filters" -version = "4.10.1" +version = "4.10.2" dependencies = [ "hex", "lrwn", diff --git a/api/go/api/application.pb.go b/api/go/api/application.pb.go index 3ed25fa5..152b0f71 100644 --- a/api/go/api/application.pb.go +++ b/api/go/api/application.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/application.proto package api @@ -269,11 +269,9 @@ type Application struct { func (x *Application) Reset() { *x = Application{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Application) String() string { @@ -284,7 +282,7 @@ func (*Application) ProtoMessage() {} func (x *Application) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,11 +351,9 @@ type ApplicationListItem struct { func (x *ApplicationListItem) Reset() { *x = ApplicationListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplicationListItem) String() string { @@ -368,7 +364,7 @@ func (*ApplicationListItem) ProtoMessage() {} func (x *ApplicationListItem) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -429,11 +425,9 @@ type CreateApplicationRequest struct { func (x *CreateApplicationRequest) Reset() { *x = CreateApplicationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateApplicationRequest) String() string { @@ -444,7 +438,7 @@ func (*CreateApplicationRequest) ProtoMessage() {} func (x *CreateApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -477,11 +471,9 @@ type CreateApplicationResponse struct { func (x *CreateApplicationResponse) Reset() { *x = CreateApplicationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateApplicationResponse) String() string { @@ -492,7 +484,7 @@ func (*CreateApplicationResponse) ProtoMessage() {} func (x *CreateApplicationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -525,11 +517,9 @@ type GetApplicationRequest struct { func (x *GetApplicationRequest) Reset() { *x = GetApplicationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetApplicationRequest) String() string { @@ -540,7 +530,7 @@ func (*GetApplicationRequest) ProtoMessage() {} func (x *GetApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -581,11 +571,9 @@ type GetApplicationResponse struct { func (x *GetApplicationResponse) Reset() { *x = GetApplicationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetApplicationResponse) String() string { @@ -596,7 +584,7 @@ func (*GetApplicationResponse) ProtoMessage() {} func (x *GetApplicationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -650,11 +638,9 @@ type UpdateApplicationRequest struct { func (x *UpdateApplicationRequest) Reset() { *x = UpdateApplicationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateApplicationRequest) String() string { @@ -665,7 +651,7 @@ func (*UpdateApplicationRequest) ProtoMessage() {} func (x *UpdateApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -698,11 +684,9 @@ type DeleteApplicationRequest struct { func (x *DeleteApplicationRequest) Reset() { *x = DeleteApplicationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteApplicationRequest) String() string { @@ -713,7 +697,7 @@ func (*DeleteApplicationRequest) ProtoMessage() {} func (x *DeleteApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -752,11 +736,9 @@ type ListApplicationsRequest struct { func (x *ListApplicationsRequest) Reset() { *x = ListApplicationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListApplicationsRequest) String() string { @@ -767,7 +749,7 @@ func (*ListApplicationsRequest) ProtoMessage() {} func (x *ListApplicationsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -823,11 +805,9 @@ type ListApplicationsResponse struct { func (x *ListApplicationsResponse) Reset() { *x = ListApplicationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListApplicationsResponse) String() string { @@ -838,7 +818,7 @@ func (*ListApplicationsResponse) ProtoMessage() {} func (x *ListApplicationsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -878,11 +858,9 @@ type ListIntegrationsRequest struct { func (x *ListIntegrationsRequest) Reset() { *x = ListIntegrationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIntegrationsRequest) String() string { @@ -893,7 +871,7 @@ func (*ListIntegrationsRequest) ProtoMessage() {} func (x *ListIntegrationsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -926,11 +904,9 @@ type IntegrationListItem struct { func (x *IntegrationListItem) Reset() { *x = IntegrationListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntegrationListItem) String() string { @@ -941,7 +917,7 @@ func (*IntegrationListItem) ProtoMessage() {} func (x *IntegrationListItem) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -976,11 +952,9 @@ type ListIntegrationsResponse struct { func (x *ListIntegrationsResponse) Reset() { *x = ListIntegrationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIntegrationsResponse) String() string { @@ -991,7 +965,7 @@ func (*ListIntegrationsResponse) ProtoMessage() {} func (x *ListIntegrationsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1040,11 +1014,9 @@ type HttpIntegration struct { func (x *HttpIntegration) Reset() { *x = HttpIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HttpIntegration) String() string { @@ -1055,7 +1027,7 @@ func (*HttpIntegration) ProtoMessage() {} func (x *HttpIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1109,11 +1081,9 @@ type CreateHttpIntegrationRequest struct { func (x *CreateHttpIntegrationRequest) Reset() { *x = CreateHttpIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateHttpIntegrationRequest) String() string { @@ -1124,7 +1094,7 @@ func (*CreateHttpIntegrationRequest) ProtoMessage() {} func (x *CreateHttpIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1157,11 +1127,9 @@ type GetHttpIntegrationRequest struct { func (x *GetHttpIntegrationRequest) Reset() { *x = GetHttpIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetHttpIntegrationRequest) String() string { @@ -1172,7 +1140,7 @@ func (*GetHttpIntegrationRequest) ProtoMessage() {} func (x *GetHttpIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1205,11 +1173,9 @@ type GetHttpIntegrationResponse struct { func (x *GetHttpIntegrationResponse) Reset() { *x = GetHttpIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetHttpIntegrationResponse) String() string { @@ -1220,7 +1186,7 @@ func (*GetHttpIntegrationResponse) ProtoMessage() {} func (x *GetHttpIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1253,11 +1219,9 @@ type UpdateHttpIntegrationRequest struct { func (x *UpdateHttpIntegrationRequest) Reset() { *x = UpdateHttpIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateHttpIntegrationRequest) String() string { @@ -1268,7 +1232,7 @@ func (*UpdateHttpIntegrationRequest) ProtoMessage() {} func (x *UpdateHttpIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1301,11 +1265,9 @@ type DeleteHttpIntegrationRequest struct { func (x *DeleteHttpIntegrationRequest) Reset() { *x = DeleteHttpIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteHttpIntegrationRequest) String() string { @@ -1316,7 +1278,7 @@ func (*DeleteHttpIntegrationRequest) ProtoMessage() {} func (x *DeleteHttpIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1369,11 +1331,9 @@ type InfluxDbIntegration struct { func (x *InfluxDbIntegration) Reset() { *x = InfluxDbIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InfluxDbIntegration) String() string { @@ -1384,7 +1344,7 @@ func (*InfluxDbIntegration) ProtoMessage() {} func (x *InfluxDbIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1487,11 +1447,9 @@ type CreateInfluxDbIntegrationRequest struct { func (x *CreateInfluxDbIntegrationRequest) Reset() { *x = CreateInfluxDbIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateInfluxDbIntegrationRequest) String() string { @@ -1502,7 +1460,7 @@ func (*CreateInfluxDbIntegrationRequest) ProtoMessage() {} func (x *CreateInfluxDbIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1535,11 +1493,9 @@ type GetInfluxDbIntegrationRequest struct { func (x *GetInfluxDbIntegrationRequest) Reset() { *x = GetInfluxDbIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInfluxDbIntegrationRequest) String() string { @@ -1550,7 +1506,7 @@ func (*GetInfluxDbIntegrationRequest) ProtoMessage() {} func (x *GetInfluxDbIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1583,11 +1539,9 @@ type GetInfluxDbIntegrationResponse struct { func (x *GetInfluxDbIntegrationResponse) Reset() { *x = GetInfluxDbIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInfluxDbIntegrationResponse) String() string { @@ -1598,7 +1552,7 @@ func (*GetInfluxDbIntegrationResponse) ProtoMessage() {} func (x *GetInfluxDbIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1631,11 +1585,9 @@ type UpdateInfluxDbIntegrationRequest struct { func (x *UpdateInfluxDbIntegrationRequest) Reset() { *x = UpdateInfluxDbIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateInfluxDbIntegrationRequest) String() string { @@ -1646,7 +1598,7 @@ func (*UpdateInfluxDbIntegrationRequest) ProtoMessage() {} func (x *UpdateInfluxDbIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1679,11 +1631,9 @@ type DeleteInfluxDbIntegrationRequest struct { func (x *DeleteInfluxDbIntegrationRequest) Reset() { *x = DeleteInfluxDbIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteInfluxDbIntegrationRequest) String() string { @@ -1694,7 +1644,7 @@ func (*DeleteInfluxDbIntegrationRequest) ProtoMessage() {} func (x *DeleteInfluxDbIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1729,11 +1679,9 @@ type ThingsBoardIntegration struct { func (x *ThingsBoardIntegration) Reset() { *x = ThingsBoardIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ThingsBoardIntegration) String() string { @@ -1744,7 +1692,7 @@ func (*ThingsBoardIntegration) ProtoMessage() {} func (x *ThingsBoardIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1784,11 +1732,9 @@ type CreateThingsBoardIntegrationRequest struct { func (x *CreateThingsBoardIntegrationRequest) Reset() { *x = CreateThingsBoardIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateThingsBoardIntegrationRequest) String() string { @@ -1799,7 +1745,7 @@ func (*CreateThingsBoardIntegrationRequest) ProtoMessage() {} func (x *CreateThingsBoardIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1832,11 +1778,9 @@ type GetThingsBoardIntegrationRequest struct { func (x *GetThingsBoardIntegrationRequest) Reset() { *x = GetThingsBoardIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetThingsBoardIntegrationRequest) String() string { @@ -1847,7 +1791,7 @@ func (*GetThingsBoardIntegrationRequest) ProtoMessage() {} func (x *GetThingsBoardIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1880,11 +1824,9 @@ type GetThingsBoardIntegrationResponse struct { func (x *GetThingsBoardIntegrationResponse) Reset() { *x = GetThingsBoardIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetThingsBoardIntegrationResponse) String() string { @@ -1895,7 +1837,7 @@ func (*GetThingsBoardIntegrationResponse) ProtoMessage() {} func (x *GetThingsBoardIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1928,11 +1870,9 @@ type UpdateThingsBoardIntegrationRequest struct { func (x *UpdateThingsBoardIntegrationRequest) Reset() { *x = UpdateThingsBoardIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateThingsBoardIntegrationRequest) String() string { @@ -1943,7 +1883,7 @@ func (*UpdateThingsBoardIntegrationRequest) ProtoMessage() {} func (x *UpdateThingsBoardIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1976,11 +1916,9 @@ type DeleteThingsBoardIntegrationRequest struct { func (x *DeleteThingsBoardIntegrationRequest) Reset() { *x = DeleteThingsBoardIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteThingsBoardIntegrationRequest) String() string { @@ -1991,7 +1929,7 @@ func (*DeleteThingsBoardIntegrationRequest) ProtoMessage() {} func (x *DeleteThingsBoardIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2026,11 +1964,9 @@ type MyDevicesIntegration struct { func (x *MyDevicesIntegration) Reset() { *x = MyDevicesIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MyDevicesIntegration) String() string { @@ -2041,7 +1977,7 @@ func (*MyDevicesIntegration) ProtoMessage() {} func (x *MyDevicesIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2081,11 +2017,9 @@ type CreateMyDevicesIntegrationRequest struct { func (x *CreateMyDevicesIntegrationRequest) Reset() { *x = CreateMyDevicesIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateMyDevicesIntegrationRequest) String() string { @@ -2096,7 +2030,7 @@ func (*CreateMyDevicesIntegrationRequest) ProtoMessage() {} func (x *CreateMyDevicesIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2129,11 +2063,9 @@ type GetMyDevicesIntegrationRequest struct { func (x *GetMyDevicesIntegrationRequest) Reset() { *x = GetMyDevicesIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMyDevicesIntegrationRequest) String() string { @@ -2144,7 +2076,7 @@ func (*GetMyDevicesIntegrationRequest) ProtoMessage() {} func (x *GetMyDevicesIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2177,11 +2109,9 @@ type GetMyDevicesIntegrationResponse struct { func (x *GetMyDevicesIntegrationResponse) Reset() { *x = GetMyDevicesIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMyDevicesIntegrationResponse) String() string { @@ -2192,7 +2122,7 @@ func (*GetMyDevicesIntegrationResponse) ProtoMessage() {} func (x *GetMyDevicesIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2225,11 +2155,9 @@ type UpdateMyDevicesIntegrationRequest struct { func (x *UpdateMyDevicesIntegrationRequest) Reset() { *x = UpdateMyDevicesIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateMyDevicesIntegrationRequest) String() string { @@ -2240,7 +2168,7 @@ func (*UpdateMyDevicesIntegrationRequest) ProtoMessage() {} func (x *UpdateMyDevicesIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2273,11 +2201,9 @@ type DeleteMyDevicesIntegrationRequest struct { func (x *DeleteMyDevicesIntegrationRequest) Reset() { *x = DeleteMyDevicesIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteMyDevicesIntegrationRequest) String() string { @@ -2288,7 +2214,7 @@ func (*DeleteMyDevicesIntegrationRequest) ProtoMessage() {} func (x *DeleteMyDevicesIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2323,11 +2249,9 @@ type LoraCloudIntegration struct { func (x *LoraCloudIntegration) Reset() { *x = LoraCloudIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoraCloudIntegration) String() string { @@ -2338,7 +2262,7 @@ func (*LoraCloudIntegration) ProtoMessage() {} func (x *LoraCloudIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2430,11 +2354,9 @@ type LoraCloudModemGeolocationServices struct { func (x *LoraCloudModemGeolocationServices) Reset() { *x = LoraCloudModemGeolocationServices{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoraCloudModemGeolocationServices) String() string { @@ -2445,7 +2367,7 @@ func (*LoraCloudModemGeolocationServices) ProtoMessage() {} func (x *LoraCloudModemGeolocationServices) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2576,11 +2498,9 @@ type CreateLoraCloudIntegrationRequest struct { func (x *CreateLoraCloudIntegrationRequest) Reset() { *x = CreateLoraCloudIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateLoraCloudIntegrationRequest) String() string { @@ -2591,7 +2511,7 @@ func (*CreateLoraCloudIntegrationRequest) ProtoMessage() {} func (x *CreateLoraCloudIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2624,11 +2544,9 @@ type GetLoraCloudIntegrationRequest struct { func (x *GetLoraCloudIntegrationRequest) Reset() { *x = GetLoraCloudIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLoraCloudIntegrationRequest) String() string { @@ -2639,7 +2557,7 @@ func (*GetLoraCloudIntegrationRequest) ProtoMessage() {} func (x *GetLoraCloudIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2672,11 +2590,9 @@ type GetLoraCloudIntegrationResponse struct { func (x *GetLoraCloudIntegrationResponse) Reset() { *x = GetLoraCloudIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLoraCloudIntegrationResponse) String() string { @@ -2687,7 +2603,7 @@ func (*GetLoraCloudIntegrationResponse) ProtoMessage() {} func (x *GetLoraCloudIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2720,11 +2636,9 @@ type UpdateLoraCloudIntegrationRequest struct { func (x *UpdateLoraCloudIntegrationRequest) Reset() { *x = UpdateLoraCloudIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLoraCloudIntegrationRequest) String() string { @@ -2735,7 +2649,7 @@ func (*UpdateLoraCloudIntegrationRequest) ProtoMessage() {} func (x *UpdateLoraCloudIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2768,11 +2682,9 @@ type DeleteLoraCloudIntegrationRequest struct { func (x *DeleteLoraCloudIntegrationRequest) Reset() { *x = DeleteLoraCloudIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteLoraCloudIntegrationRequest) String() string { @@ -2783,7 +2695,7 @@ func (*DeleteLoraCloudIntegrationRequest) ProtoMessage() {} func (x *DeleteLoraCloudIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2828,11 +2740,9 @@ type GcpPubSubIntegration struct { func (x *GcpPubSubIntegration) Reset() { *x = GcpPubSubIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GcpPubSubIntegration) String() string { @@ -2843,7 +2753,7 @@ func (*GcpPubSubIntegration) ProtoMessage() {} func (x *GcpPubSubIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2904,11 +2814,9 @@ type CreateGcpPubSubIntegrationRequest struct { func (x *CreateGcpPubSubIntegrationRequest) Reset() { *x = CreateGcpPubSubIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateGcpPubSubIntegrationRequest) String() string { @@ -2919,7 +2827,7 @@ func (*CreateGcpPubSubIntegrationRequest) ProtoMessage() {} func (x *CreateGcpPubSubIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2952,11 +2860,9 @@ type GetGcpPubSubIntegrationRequest struct { func (x *GetGcpPubSubIntegrationRequest) Reset() { *x = GetGcpPubSubIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGcpPubSubIntegrationRequest) String() string { @@ -2967,7 +2873,7 @@ func (*GetGcpPubSubIntegrationRequest) ProtoMessage() {} func (x *GetGcpPubSubIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3000,11 +2906,9 @@ type GetGcpPubSubIntegrationResponse struct { func (x *GetGcpPubSubIntegrationResponse) Reset() { *x = GetGcpPubSubIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGcpPubSubIntegrationResponse) String() string { @@ -3015,7 +2919,7 @@ func (*GetGcpPubSubIntegrationResponse) ProtoMessage() {} func (x *GetGcpPubSubIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3048,11 +2952,9 @@ type UpdateGcpPubSubIntegrationRequest struct { func (x *UpdateGcpPubSubIntegrationRequest) Reset() { *x = UpdateGcpPubSubIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateGcpPubSubIntegrationRequest) String() string { @@ -3063,7 +2965,7 @@ func (*UpdateGcpPubSubIntegrationRequest) ProtoMessage() {} func (x *UpdateGcpPubSubIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3096,11 +2998,9 @@ type DeleteGcpPubSubIntegrationRequest struct { func (x *DeleteGcpPubSubIntegrationRequest) Reset() { *x = DeleteGcpPubSubIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteGcpPubSubIntegrationRequest) String() string { @@ -3111,7 +3011,7 @@ func (*DeleteGcpPubSubIntegrationRequest) ProtoMessage() {} func (x *DeleteGcpPubSubIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3154,11 +3054,9 @@ type AwsSnsIntegration struct { func (x *AwsSnsIntegration) Reset() { *x = AwsSnsIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AwsSnsIntegration) String() string { @@ -3169,7 +3067,7 @@ func (*AwsSnsIntegration) ProtoMessage() {} func (x *AwsSnsIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3237,11 +3135,9 @@ type CreateAwsSnsIntegrationRequest struct { func (x *CreateAwsSnsIntegrationRequest) Reset() { *x = CreateAwsSnsIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAwsSnsIntegrationRequest) String() string { @@ -3252,7 +3148,7 @@ func (*CreateAwsSnsIntegrationRequest) ProtoMessage() {} func (x *CreateAwsSnsIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3285,11 +3181,9 @@ type GetAwsSnsIntegrationRequest struct { func (x *GetAwsSnsIntegrationRequest) Reset() { *x = GetAwsSnsIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAwsSnsIntegrationRequest) String() string { @@ -3300,7 +3194,7 @@ func (*GetAwsSnsIntegrationRequest) ProtoMessage() {} func (x *GetAwsSnsIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3333,11 +3227,9 @@ type GetAwsSnsIntegrationResponse struct { func (x *GetAwsSnsIntegrationResponse) Reset() { *x = GetAwsSnsIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAwsSnsIntegrationResponse) String() string { @@ -3348,7 +3240,7 @@ func (*GetAwsSnsIntegrationResponse) ProtoMessage() {} func (x *GetAwsSnsIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3381,11 +3273,9 @@ type UpdateAwsSnsIntegrationRequest struct { func (x *UpdateAwsSnsIntegrationRequest) Reset() { *x = UpdateAwsSnsIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAwsSnsIntegrationRequest) String() string { @@ -3396,7 +3286,7 @@ func (*UpdateAwsSnsIntegrationRequest) ProtoMessage() {} func (x *UpdateAwsSnsIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3429,11 +3319,9 @@ type DeleteAwsSnsIntegrationRequest struct { func (x *DeleteAwsSnsIntegrationRequest) Reset() { *x = DeleteAwsSnsIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAwsSnsIntegrationRequest) String() string { @@ -3444,7 +3332,7 @@ func (*DeleteAwsSnsIntegrationRequest) ProtoMessage() {} func (x *DeleteAwsSnsIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3484,11 +3372,9 @@ type AzureServiceBusIntegration struct { func (x *AzureServiceBusIntegration) Reset() { *x = AzureServiceBusIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AzureServiceBusIntegration) String() string { @@ -3499,7 +3385,7 @@ func (*AzureServiceBusIntegration) ProtoMessage() {} func (x *AzureServiceBusIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3553,11 +3439,9 @@ type CreateAzureServiceBusIntegrationRequest struct { func (x *CreateAzureServiceBusIntegrationRequest) Reset() { *x = CreateAzureServiceBusIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAzureServiceBusIntegrationRequest) String() string { @@ -3568,7 +3452,7 @@ func (*CreateAzureServiceBusIntegrationRequest) ProtoMessage() {} func (x *CreateAzureServiceBusIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3601,11 +3485,9 @@ type GetAzureServiceBusIntegrationRequest struct { func (x *GetAzureServiceBusIntegrationRequest) Reset() { *x = GetAzureServiceBusIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAzureServiceBusIntegrationRequest) String() string { @@ -3616,7 +3498,7 @@ func (*GetAzureServiceBusIntegrationRequest) ProtoMessage() {} func (x *GetAzureServiceBusIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3649,11 +3531,9 @@ type GetAzureServiceBusIntegrationResponse struct { func (x *GetAzureServiceBusIntegrationResponse) Reset() { *x = GetAzureServiceBusIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAzureServiceBusIntegrationResponse) String() string { @@ -3664,7 +3544,7 @@ func (*GetAzureServiceBusIntegrationResponse) ProtoMessage() {} func (x *GetAzureServiceBusIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3697,11 +3577,9 @@ type UpdateAzureServiceBusIntegrationRequest struct { func (x *UpdateAzureServiceBusIntegrationRequest) Reset() { *x = UpdateAzureServiceBusIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAzureServiceBusIntegrationRequest) String() string { @@ -3712,7 +3590,7 @@ func (*UpdateAzureServiceBusIntegrationRequest) ProtoMessage() {} func (x *UpdateAzureServiceBusIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3745,11 +3623,9 @@ type DeleteAzureServiceBusIntegrationRequest struct { func (x *DeleteAzureServiceBusIntegrationRequest) Reset() { *x = DeleteAzureServiceBusIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAzureServiceBusIntegrationRequest) String() string { @@ -3760,7 +3636,7 @@ func (*DeleteAzureServiceBusIntegrationRequest) ProtoMessage() {} func (x *DeleteAzureServiceBusIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3797,11 +3673,9 @@ type PilotThingsIntegration struct { func (x *PilotThingsIntegration) Reset() { *x = PilotThingsIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PilotThingsIntegration) String() string { @@ -3812,7 +3686,7 @@ func (*PilotThingsIntegration) ProtoMessage() {} func (x *PilotThingsIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3859,11 +3733,9 @@ type CreatePilotThingsIntegrationRequest struct { func (x *CreatePilotThingsIntegrationRequest) Reset() { *x = CreatePilotThingsIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePilotThingsIntegrationRequest) String() string { @@ -3874,7 +3746,7 @@ func (*CreatePilotThingsIntegrationRequest) ProtoMessage() {} func (x *CreatePilotThingsIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3907,11 +3779,9 @@ type GetPilotThingsIntegrationRequest struct { func (x *GetPilotThingsIntegrationRequest) Reset() { *x = GetPilotThingsIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPilotThingsIntegrationRequest) String() string { @@ -3922,7 +3792,7 @@ func (*GetPilotThingsIntegrationRequest) ProtoMessage() {} func (x *GetPilotThingsIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3955,11 +3825,9 @@ type GetPilotThingsIntegrationResponse struct { func (x *GetPilotThingsIntegrationResponse) Reset() { *x = GetPilotThingsIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPilotThingsIntegrationResponse) String() string { @@ -3970,7 +3838,7 @@ func (*GetPilotThingsIntegrationResponse) ProtoMessage() {} func (x *GetPilotThingsIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4003,11 +3871,9 @@ type UpdatePilotThingsIntegrationRequest struct { func (x *UpdatePilotThingsIntegrationRequest) Reset() { *x = UpdatePilotThingsIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdatePilotThingsIntegrationRequest) String() string { @@ -4018,7 +3884,7 @@ func (*UpdatePilotThingsIntegrationRequest) ProtoMessage() {} func (x *UpdatePilotThingsIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4051,11 +3917,9 @@ type DeletePilotThingsIntegrationRequest struct { func (x *DeletePilotThingsIntegrationRequest) Reset() { *x = DeletePilotThingsIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePilotThingsIntegrationRequest) String() string { @@ -4066,7 +3930,7 @@ func (*DeletePilotThingsIntegrationRequest) ProtoMessage() {} func (x *DeletePilotThingsIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4127,11 +3991,9 @@ type IftttIntegration struct { func (x *IftttIntegration) Reset() { *x = IftttIntegration{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IftttIntegration) String() string { @@ -4142,7 +4004,7 @@ func (*IftttIntegration) ProtoMessage() {} func (x *IftttIntegration) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4203,11 +4065,9 @@ type CreateIftttIntegrationRequest struct { func (x *CreateIftttIntegrationRequest) Reset() { *x = CreateIftttIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateIftttIntegrationRequest) String() string { @@ -4218,7 +4078,7 @@ func (*CreateIftttIntegrationRequest) ProtoMessage() {} func (x *CreateIftttIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4251,11 +4111,9 @@ type GetIftttIntegrationRequest struct { func (x *GetIftttIntegrationRequest) Reset() { *x = GetIftttIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIftttIntegrationRequest) String() string { @@ -4266,7 +4124,7 @@ func (*GetIftttIntegrationRequest) ProtoMessage() {} func (x *GetIftttIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4299,11 +4157,9 @@ type GetIftttIntegrationResponse struct { func (x *GetIftttIntegrationResponse) Reset() { *x = GetIftttIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIftttIntegrationResponse) String() string { @@ -4314,7 +4170,7 @@ func (*GetIftttIntegrationResponse) ProtoMessage() {} func (x *GetIftttIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4347,11 +4203,9 @@ type UpdateIftttIntegrationRequest struct { func (x *UpdateIftttIntegrationRequest) Reset() { *x = UpdateIftttIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIftttIntegrationRequest) String() string { @@ -4362,7 +4216,7 @@ func (*UpdateIftttIntegrationRequest) ProtoMessage() {} func (x *UpdateIftttIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[72] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4395,11 +4249,9 @@ type DeleteIftttIntegrationRequest struct { func (x *DeleteIftttIntegrationRequest) Reset() { *x = DeleteIftttIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteIftttIntegrationRequest) String() string { @@ -4410,7 +4262,7 @@ func (*DeleteIftttIntegrationRequest) ProtoMessage() {} func (x *DeleteIftttIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[73] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4443,11 +4295,9 @@ type GenerateMqttIntegrationClientCertificateRequest struct { func (x *GenerateMqttIntegrationClientCertificateRequest) Reset() { *x = GenerateMqttIntegrationClientCertificateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GenerateMqttIntegrationClientCertificateRequest) String() string { @@ -4458,7 +4308,7 @@ func (*GenerateMqttIntegrationClientCertificateRequest) ProtoMessage() {} func (x *GenerateMqttIntegrationClientCertificateRequest) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[74] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4497,11 +4347,9 @@ type GenerateMqttIntegrationClientCertificateResponse struct { func (x *GenerateMqttIntegrationClientCertificateResponse) Reset() { *x = GenerateMqttIntegrationClientCertificateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_application_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_application_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GenerateMqttIntegrationClientCertificateResponse) String() string { @@ -4512,7 +4360,7 @@ func (*GenerateMqttIntegrationClientCertificateResponse) ProtoMessage() {} func (x *GenerateMqttIntegrationClientCertificateResponse) ProtoReflect() protoreflect.Message { mi := &file_api_application_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5649,7 +5497,7 @@ func file_api_application_proto_rawDescGZIP() []byte { var file_api_application_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_api_application_proto_msgTypes = make([]protoimpl.MessageInfo, 78) -var file_api_application_proto_goTypes = []interface{}{ +var file_api_application_proto_goTypes = []any{ (Encoding)(0), // 0: api.Encoding (IntegrationKind)(0), // 1: api.IntegrationKind (InfluxDbPrecision)(0), // 2: api.InfluxDbPrecision @@ -5892,920 +5740,6 @@ func file_api_application_proto_init() { if File_api_application_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_application_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Application); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplicationListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateApplicationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateApplicationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetApplicationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetApplicationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateApplicationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteApplicationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListApplicationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListApplicationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListIntegrationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IntegrationListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListIntegrationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HttpIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateHttpIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetHttpIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetHttpIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateHttpIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteHttpIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InfluxDbIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateInfluxDbIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInfluxDbIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInfluxDbIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateInfluxDbIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteInfluxDbIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ThingsBoardIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateThingsBoardIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetThingsBoardIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetThingsBoardIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateThingsBoardIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteThingsBoardIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MyDevicesIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateMyDevicesIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMyDevicesIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMyDevicesIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMyDevicesIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMyDevicesIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoraCloudIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoraCloudModemGeolocationServices); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateLoraCloudIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLoraCloudIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLoraCloudIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLoraCloudIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteLoraCloudIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GcpPubSubIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateGcpPubSubIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGcpPubSubIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGcpPubSubIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateGcpPubSubIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteGcpPubSubIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AwsSnsIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateAwsSnsIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAwsSnsIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAwsSnsIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAwsSnsIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAwsSnsIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AzureServiceBusIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateAzureServiceBusIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAzureServiceBusIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAzureServiceBusIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAzureServiceBusIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAzureServiceBusIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PilotThingsIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePilotThingsIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPilotThingsIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPilotThingsIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdatePilotThingsIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePilotThingsIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IftttIntegration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateIftttIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetIftttIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetIftttIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateIftttIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteIftttIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GenerateMqttIntegrationClientCertificateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_application_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GenerateMqttIntegrationClientCertificateResponse); 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{ diff --git a/api/go/api/application_grpc.pb.go b/api/go/api/application_grpc.pb.go index ba93f65c..741685d8 100644 --- a/api/go/api/application_grpc.pb.go +++ b/api/go/api/application_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/application.proto package api diff --git a/api/go/api/device.pb.go b/api/go/api/device.pb.go index 8c2fe01d..ed580d67 100644 --- a/api/go/api/device.pb.go +++ b/api/go/api/device.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/device.proto package api @@ -64,11 +64,9 @@ type Device struct { func (x *Device) Reset() { *x = Device{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Device) String() string { @@ -79,7 +77,7 @@ func (*Device) ProtoMessage() {} func (x *Device) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -181,11 +179,9 @@ type DeviceStatus struct { func (x *DeviceStatus) Reset() { *x = DeviceStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceStatus) String() string { @@ -196,7 +192,7 @@ func (*DeviceStatus) ProtoMessage() {} func (x *DeviceStatus) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,11 +255,9 @@ type DeviceListItem struct { func (x *DeviceListItem) Reset() { *x = DeviceListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceListItem) String() string { @@ -274,7 +268,7 @@ func (*DeviceListItem) ProtoMessage() {} func (x *DeviceListItem) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -369,11 +363,9 @@ type DeviceKeys struct { func (x *DeviceKeys) Reset() { *x = DeviceKeys{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceKeys) String() string { @@ -384,7 +376,7 @@ func (*DeviceKeys) ProtoMessage() {} func (x *DeviceKeys) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -431,11 +423,9 @@ type CreateDeviceRequest struct { func (x *CreateDeviceRequest) Reset() { *x = CreateDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDeviceRequest) String() string { @@ -446,7 +436,7 @@ func (*CreateDeviceRequest) ProtoMessage() {} func (x *CreateDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -479,11 +469,9 @@ type GetDeviceRequest struct { func (x *GetDeviceRequest) Reset() { *x = GetDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceRequest) String() string { @@ -494,7 +482,7 @@ func (*GetDeviceRequest) ProtoMessage() {} func (x *GetDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -537,11 +525,9 @@ type GetDeviceResponse struct { func (x *GetDeviceResponse) Reset() { *x = GetDeviceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceResponse) String() string { @@ -552,7 +538,7 @@ func (*GetDeviceResponse) ProtoMessage() {} func (x *GetDeviceResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -620,11 +606,9 @@ type UpdateDeviceRequest struct { func (x *UpdateDeviceRequest) Reset() { *x = UpdateDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDeviceRequest) String() string { @@ -635,7 +619,7 @@ func (*UpdateDeviceRequest) ProtoMessage() {} func (x *UpdateDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -668,11 +652,9 @@ type DeleteDeviceRequest struct { func (x *DeleteDeviceRequest) Reset() { *x = DeleteDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteDeviceRequest) String() string { @@ -683,7 +665,7 @@ func (*DeleteDeviceRequest) ProtoMessage() {} func (x *DeleteDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -724,11 +706,9 @@ type ListDevicesRequest struct { func (x *ListDevicesRequest) Reset() { *x = ListDevicesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDevicesRequest) String() string { @@ -739,7 +719,7 @@ func (*ListDevicesRequest) ProtoMessage() {} func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -802,11 +782,9 @@ type ListDevicesResponse struct { func (x *ListDevicesResponse) Reset() { *x = ListDevicesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDevicesResponse) String() string { @@ -817,7 +795,7 @@ func (*ListDevicesResponse) ProtoMessage() {} func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -857,11 +835,9 @@ type CreateDeviceKeysRequest struct { func (x *CreateDeviceKeysRequest) Reset() { *x = CreateDeviceKeysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDeviceKeysRequest) String() string { @@ -872,7 +848,7 @@ func (*CreateDeviceKeysRequest) ProtoMessage() {} func (x *CreateDeviceKeysRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -905,11 +881,9 @@ type GetDeviceKeysRequest struct { func (x *GetDeviceKeysRequest) Reset() { *x = GetDeviceKeysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceKeysRequest) String() string { @@ -920,7 +894,7 @@ func (*GetDeviceKeysRequest) ProtoMessage() {} func (x *GetDeviceKeysRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -957,11 +931,9 @@ type GetDeviceKeysResponse struct { func (x *GetDeviceKeysResponse) Reset() { *x = GetDeviceKeysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceKeysResponse) String() string { @@ -972,7 +944,7 @@ func (*GetDeviceKeysResponse) ProtoMessage() {} func (x *GetDeviceKeysResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1019,11 +991,9 @@ type UpdateDeviceKeysRequest struct { func (x *UpdateDeviceKeysRequest) Reset() { *x = UpdateDeviceKeysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDeviceKeysRequest) String() string { @@ -1034,7 +1004,7 @@ func (*UpdateDeviceKeysRequest) ProtoMessage() {} func (x *UpdateDeviceKeysRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1067,11 +1037,9 @@ type DeleteDeviceKeysRequest struct { func (x *DeleteDeviceKeysRequest) Reset() { *x = DeleteDeviceKeysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteDeviceKeysRequest) String() string { @@ -1082,7 +1050,7 @@ func (*DeleteDeviceKeysRequest) ProtoMessage() {} func (x *DeleteDeviceKeysRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1133,11 +1101,9 @@ type DeviceActivation struct { func (x *DeviceActivation) Reset() { *x = DeviceActivation{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceActivation) String() string { @@ -1148,7 +1114,7 @@ func (*DeviceActivation) ProtoMessage() {} func (x *DeviceActivation) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1237,11 +1203,9 @@ type ActivateDeviceRequest struct { func (x *ActivateDeviceRequest) Reset() { *x = ActivateDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActivateDeviceRequest) String() string { @@ -1252,7 +1216,7 @@ func (*ActivateDeviceRequest) ProtoMessage() {} func (x *ActivateDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1285,11 +1249,9 @@ type DeactivateDeviceRequest struct { func (x *DeactivateDeviceRequest) Reset() { *x = DeactivateDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeactivateDeviceRequest) String() string { @@ -1300,7 +1262,7 @@ func (*DeactivateDeviceRequest) ProtoMessage() {} func (x *DeactivateDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1333,11 +1295,9 @@ type GetDeviceActivationRequest struct { func (x *GetDeviceActivationRequest) Reset() { *x = GetDeviceActivationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceActivationRequest) String() string { @@ -1348,7 +1308,7 @@ func (*GetDeviceActivationRequest) ProtoMessage() {} func (x *GetDeviceActivationRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1386,11 +1346,9 @@ type GetDeviceActivationResponse struct { func (x *GetDeviceActivationResponse) Reset() { *x = GetDeviceActivationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceActivationResponse) String() string { @@ -1401,7 +1359,7 @@ func (*GetDeviceActivationResponse) ProtoMessage() {} func (x *GetDeviceActivationResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1441,11 +1399,9 @@ type GetRandomDevAddrRequest struct { func (x *GetRandomDevAddrRequest) Reset() { *x = GetRandomDevAddrRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRandomDevAddrRequest) String() string { @@ -1456,7 +1412,7 @@ func (*GetRandomDevAddrRequest) ProtoMessage() {} func (x *GetRandomDevAddrRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1489,11 +1445,9 @@ type GetRandomDevAddrResponse struct { func (x *GetRandomDevAddrResponse) Reset() { *x = GetRandomDevAddrResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRandomDevAddrResponse) String() string { @@ -1504,7 +1458,7 @@ func (*GetRandomDevAddrResponse) ProtoMessage() {} func (x *GetRandomDevAddrResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1543,11 +1497,9 @@ type GetDeviceMetricsRequest struct { func (x *GetDeviceMetricsRequest) Reset() { *x = GetDeviceMetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceMetricsRequest) String() string { @@ -1558,7 +1510,7 @@ func (*GetDeviceMetricsRequest) ProtoMessage() {} func (x *GetDeviceMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1612,11 +1564,9 @@ type GetDeviceMetricsResponse struct { func (x *GetDeviceMetricsResponse) Reset() { *x = GetDeviceMetricsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceMetricsResponse) String() string { @@ -1627,7 +1577,7 @@ func (*GetDeviceMetricsResponse) ProtoMessage() {} func (x *GetDeviceMetricsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1669,11 +1619,9 @@ type DeviceState struct { func (x *DeviceState) Reset() { *x = DeviceState{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceState) String() string { @@ -1684,7 +1632,7 @@ func (*DeviceState) ProtoMessage() {} func (x *DeviceState) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1730,11 +1678,9 @@ type GetDeviceLinkMetricsRequest struct { func (x *GetDeviceLinkMetricsRequest) Reset() { *x = GetDeviceLinkMetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceLinkMetricsRequest) String() string { @@ -1745,7 +1691,7 @@ func (*GetDeviceLinkMetricsRequest) ProtoMessage() {} func (x *GetDeviceLinkMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1809,11 +1755,9 @@ type GetDeviceLinkMetricsResponse struct { func (x *GetDeviceLinkMetricsResponse) Reset() { *x = GetDeviceLinkMetricsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceLinkMetricsResponse) String() string { @@ -1824,7 +1768,7 @@ func (*GetDeviceLinkMetricsResponse) ProtoMessage() {} func (x *GetDeviceLinkMetricsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1921,11 +1865,9 @@ type DeviceQueueItem struct { func (x *DeviceQueueItem) Reset() { *x = DeviceQueueItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceQueueItem) String() string { @@ -1936,7 +1878,7 @@ func (*DeviceQueueItem) ProtoMessage() {} func (x *DeviceQueueItem) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2031,11 +1973,9 @@ type EnqueueDeviceQueueItemRequest struct { func (x *EnqueueDeviceQueueItemRequest) Reset() { *x = EnqueueDeviceQueueItemRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnqueueDeviceQueueItemRequest) String() string { @@ -2046,7 +1986,7 @@ func (*EnqueueDeviceQueueItemRequest) ProtoMessage() {} func (x *EnqueueDeviceQueueItemRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2079,11 +2019,9 @@ type EnqueueDeviceQueueItemResponse struct { func (x *EnqueueDeviceQueueItemResponse) Reset() { *x = EnqueueDeviceQueueItemResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnqueueDeviceQueueItemResponse) String() string { @@ -2094,7 +2032,7 @@ func (*EnqueueDeviceQueueItemResponse) ProtoMessage() {} func (x *EnqueueDeviceQueueItemResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2127,11 +2065,9 @@ type FlushDeviceQueueRequest struct { func (x *FlushDeviceQueueRequest) Reset() { *x = FlushDeviceQueueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlushDeviceQueueRequest) String() string { @@ -2142,7 +2078,7 @@ func (*FlushDeviceQueueRequest) ProtoMessage() {} func (x *FlushDeviceQueueRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2177,11 +2113,9 @@ type GetDeviceQueueItemsRequest struct { func (x *GetDeviceQueueItemsRequest) Reset() { *x = GetDeviceQueueItemsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceQueueItemsRequest) String() string { @@ -2192,7 +2126,7 @@ func (*GetDeviceQueueItemsRequest) ProtoMessage() {} func (x *GetDeviceQueueItemsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2234,11 +2168,9 @@ type GetDeviceQueueItemsResponse struct { func (x *GetDeviceQueueItemsResponse) Reset() { *x = GetDeviceQueueItemsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceQueueItemsResponse) String() string { @@ -2249,7 +2181,7 @@ func (*GetDeviceQueueItemsResponse) ProtoMessage() {} func (x *GetDeviceQueueItemsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2289,11 +2221,9 @@ type FlushDevNoncesRequest struct { func (x *FlushDevNoncesRequest) Reset() { *x = FlushDevNoncesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlushDevNoncesRequest) String() string { @@ -2304,7 +2234,7 @@ func (*FlushDevNoncesRequest) ProtoMessage() {} func (x *FlushDevNoncesRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2337,11 +2267,9 @@ type GetDeviceNextFCntDownRequest struct { func (x *GetDeviceNextFCntDownRequest) Reset() { *x = GetDeviceNextFCntDownRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceNextFCntDownRequest) String() string { @@ -2352,7 +2280,7 @@ func (*GetDeviceNextFCntDownRequest) ProtoMessage() {} func (x *GetDeviceNextFCntDownRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2385,11 +2313,9 @@ type GetDeviceNextFCntDownResponse struct { func (x *GetDeviceNextFCntDownResponse) Reset() { *x = GetDeviceNextFCntDownResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceNextFCntDownResponse) String() string { @@ -2400,7 +2326,7 @@ func (*GetDeviceNextFCntDownResponse) ProtoMessage() {} func (x *GetDeviceNextFCntDownResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2929,7 +2855,7 @@ func file_api_device_proto_rawDescGZIP() []byte { } var file_api_device_proto_msgTypes = make([]protoimpl.MessageInfo, 41) -var file_api_device_proto_goTypes = []interface{}{ +var file_api_device_proto_goTypes = []any{ (*Device)(nil), // 0: api.Device (*DeviceStatus)(nil), // 1: api.DeviceStatus (*DeviceListItem)(nil), // 2: api.DeviceListItem @@ -3075,452 +3001,6 @@ func file_api_device_proto_init() { if File_api_device_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_device_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Device); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceKeys); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDevicesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDevicesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDeviceKeysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceKeysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceKeysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDeviceKeysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDeviceKeysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceActivation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActivateDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeactivateDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceActivationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceActivationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRandomDevAddrRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRandomDevAddrResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceMetricsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceMetricsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceLinkMetricsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceLinkMetricsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceQueueItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnqueueDeviceQueueItemRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnqueueDeviceQueueItemResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlushDeviceQueueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceQueueItemsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceQueueItemsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlushDevNoncesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceNextFCntDownRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceNextFCntDownResponse); 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{ diff --git a/api/go/api/device_grpc.pb.go b/api/go/api/device_grpc.pb.go index 784a53eb..89089d64 100644 --- a/api/go/api/device_grpc.pb.go +++ b/api/go/api/device_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/device.proto package api diff --git a/api/go/api/device_profile.pb.go b/api/go/api/device_profile.pb.go index 5f85863b..3f431eaa 100644 --- a/api/go/api/device_profile.pb.go +++ b/api/go/api/device_profile.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/device_profile.proto package api @@ -556,11 +556,9 @@ type DeviceProfile struct { func (x *DeviceProfile) Reset() { *x = DeviceProfile{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceProfile) String() string { @@ -571,7 +569,7 @@ func (*DeviceProfile) ProtoMessage() {} func (x *DeviceProfile) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -970,11 +968,9 @@ type Measurement struct { func (x *Measurement) Reset() { *x = Measurement{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Measurement) String() string { @@ -985,7 +981,7 @@ func (*Measurement) ProtoMessage() {} func (x *Measurement) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1043,11 +1039,9 @@ type DeviceProfileListItem struct { func (x *DeviceProfileListItem) Reset() { *x = DeviceProfileListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceProfileListItem) String() string { @@ -1058,7 +1052,7 @@ func (*DeviceProfileListItem) ProtoMessage() {} func (x *DeviceProfileListItem) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1154,11 +1148,9 @@ type CreateDeviceProfileRequest struct { func (x *CreateDeviceProfileRequest) Reset() { *x = CreateDeviceProfileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDeviceProfileRequest) String() string { @@ -1169,7 +1161,7 @@ func (*CreateDeviceProfileRequest) ProtoMessage() {} func (x *CreateDeviceProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1202,11 +1194,9 @@ type CreateDeviceProfileResponse struct { func (x *CreateDeviceProfileResponse) Reset() { *x = CreateDeviceProfileResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDeviceProfileResponse) String() string { @@ -1217,7 +1207,7 @@ func (*CreateDeviceProfileResponse) ProtoMessage() {} func (x *CreateDeviceProfileResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1250,11 +1240,9 @@ type GetDeviceProfileRequest struct { func (x *GetDeviceProfileRequest) Reset() { *x = GetDeviceProfileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceProfileRequest) String() string { @@ -1265,7 +1253,7 @@ func (*GetDeviceProfileRequest) ProtoMessage() {} func (x *GetDeviceProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1302,11 +1290,9 @@ type GetDeviceProfileResponse struct { func (x *GetDeviceProfileResponse) Reset() { *x = GetDeviceProfileResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceProfileResponse) String() string { @@ -1317,7 +1303,7 @@ func (*GetDeviceProfileResponse) ProtoMessage() {} func (x *GetDeviceProfileResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1364,11 +1350,9 @@ type UpdateDeviceProfileRequest struct { func (x *UpdateDeviceProfileRequest) Reset() { *x = UpdateDeviceProfileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDeviceProfileRequest) String() string { @@ -1379,7 +1363,7 @@ func (*UpdateDeviceProfileRequest) ProtoMessage() {} func (x *UpdateDeviceProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1412,11 +1396,9 @@ type DeleteDeviceProfileRequest struct { func (x *DeleteDeviceProfileRequest) Reset() { *x = DeleteDeviceProfileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteDeviceProfileRequest) String() string { @@ -1427,7 +1409,7 @@ func (*DeleteDeviceProfileRequest) ProtoMessage() {} func (x *DeleteDeviceProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1466,11 +1448,9 @@ type ListDeviceProfilesRequest struct { func (x *ListDeviceProfilesRequest) Reset() { *x = ListDeviceProfilesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDeviceProfilesRequest) String() string { @@ -1481,7 +1461,7 @@ func (*ListDeviceProfilesRequest) ProtoMessage() {} func (x *ListDeviceProfilesRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1537,11 +1517,9 @@ type ListDeviceProfilesResponse struct { func (x *ListDeviceProfilesResponse) Reset() { *x = ListDeviceProfilesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDeviceProfilesResponse) String() string { @@ -1552,7 +1530,7 @@ func (*ListDeviceProfilesResponse) ProtoMessage() {} func (x *ListDeviceProfilesResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1594,11 +1572,9 @@ type ListDeviceProfileAdrAlgorithmsResponse struct { func (x *ListDeviceProfileAdrAlgorithmsResponse) Reset() { *x = ListDeviceProfileAdrAlgorithmsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDeviceProfileAdrAlgorithmsResponse) String() string { @@ -1609,7 +1585,7 @@ func (*ListDeviceProfileAdrAlgorithmsResponse) ProtoMessage() {} func (x *ListDeviceProfileAdrAlgorithmsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1651,11 +1627,9 @@ type AdrAlgorithmListItem struct { func (x *AdrAlgorithmListItem) Reset() { *x = AdrAlgorithmListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AdrAlgorithmListItem) String() string { @@ -1666,7 +1640,7 @@ func (*AdrAlgorithmListItem) ProtoMessage() {} func (x *AdrAlgorithmListItem) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2081,7 +2055,7 @@ func file_api_device_profile_proto_rawDescGZIP() []byte { var file_api_device_profile_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_api_device_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_api_device_profile_proto_goTypes = []interface{}{ +var file_api_device_profile_proto_goTypes = []any{ (CodecRuntime)(0), // 0: api.CodecRuntime (MeasurementKind)(0), // 1: api.MeasurementKind (CadPeriodicity)(0), // 2: api.CadPeriodicity @@ -2156,164 +2130,6 @@ func file_api_device_profile_proto_init() { if File_api_device_profile_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_device_profile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Measurement); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProfileListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDeviceProfileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDeviceProfileResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceProfileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceProfileResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDeviceProfileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDeviceProfileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDeviceProfilesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDeviceProfilesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDeviceProfileAdrAlgorithmsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AdrAlgorithmListItem); 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{ diff --git a/api/go/api/device_profile_grpc.pb.go b/api/go/api/device_profile_grpc.pb.go index 327e716e..3c6b20c3 100644 --- a/api/go/api/device_profile_grpc.pb.go +++ b/api/go/api/device_profile_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/device_profile.proto package api diff --git a/api/go/api/device_profile_template.pb.go b/api/go/api/device_profile_template.pb.go index 258bcdda..98dadcc5 100644 --- a/api/go/api/device_profile_template.pb.go +++ b/api/go/api/device_profile_template.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/device_profile_template.proto package api @@ -105,11 +105,9 @@ type DeviceProfileTemplate struct { func (x *DeviceProfileTemplate) Reset() { *x = DeviceProfileTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceProfileTemplate) String() string { @@ -120,7 +118,7 @@ func (*DeviceProfileTemplate) ProtoMessage() {} func (x *DeviceProfileTemplate) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -371,11 +369,9 @@ type DeviceProfileTemplateListItem struct { func (x *DeviceProfileTemplateListItem) Reset() { *x = DeviceProfileTemplateListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceProfileTemplateListItem) String() string { @@ -386,7 +382,7 @@ func (*DeviceProfileTemplateListItem) ProtoMessage() {} func (x *DeviceProfileTemplateListItem) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -496,11 +492,9 @@ type CreateDeviceProfileTemplateRequest struct { func (x *CreateDeviceProfileTemplateRequest) Reset() { *x = CreateDeviceProfileTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDeviceProfileTemplateRequest) String() string { @@ -511,7 +505,7 @@ func (*CreateDeviceProfileTemplateRequest) ProtoMessage() {} func (x *CreateDeviceProfileTemplateRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -544,11 +538,9 @@ type GetDeviceProfileTemplateRequest struct { func (x *GetDeviceProfileTemplateRequest) Reset() { *x = GetDeviceProfileTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceProfileTemplateRequest) String() string { @@ -559,7 +551,7 @@ func (*GetDeviceProfileTemplateRequest) ProtoMessage() {} func (x *GetDeviceProfileTemplateRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -596,11 +588,9 @@ type GetDeviceProfileTemplateResponse struct { func (x *GetDeviceProfileTemplateResponse) Reset() { *x = GetDeviceProfileTemplateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeviceProfileTemplateResponse) String() string { @@ -611,7 +601,7 @@ func (*GetDeviceProfileTemplateResponse) ProtoMessage() {} func (x *GetDeviceProfileTemplateResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -658,11 +648,9 @@ type UpdateDeviceProfileTemplateRequest struct { func (x *UpdateDeviceProfileTemplateRequest) Reset() { *x = UpdateDeviceProfileTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDeviceProfileTemplateRequest) String() string { @@ -673,7 +661,7 @@ func (*UpdateDeviceProfileTemplateRequest) ProtoMessage() {} func (x *UpdateDeviceProfileTemplateRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -706,11 +694,9 @@ type DeleteDeviceProfileTemplateRequest struct { func (x *DeleteDeviceProfileTemplateRequest) Reset() { *x = DeleteDeviceProfileTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteDeviceProfileTemplateRequest) String() string { @@ -721,7 +707,7 @@ func (*DeleteDeviceProfileTemplateRequest) ProtoMessage() {} func (x *DeleteDeviceProfileTemplateRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -756,11 +742,9 @@ type ListDeviceProfileTemplatesRequest struct { func (x *ListDeviceProfileTemplatesRequest) Reset() { *x = ListDeviceProfileTemplatesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDeviceProfileTemplatesRequest) String() string { @@ -771,7 +755,7 @@ func (*ListDeviceProfileTemplatesRequest) ProtoMessage() {} func (x *ListDeviceProfileTemplatesRequest) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -813,11 +797,9 @@ type ListDeviceProfileTemplatesResponse struct { func (x *ListDeviceProfileTemplatesResponse) Reset() { *x = ListDeviceProfileTemplatesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_device_profile_template_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_device_profile_template_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDeviceProfileTemplatesResponse) String() string { @@ -828,7 +810,7 @@ func (*ListDeviceProfileTemplatesResponse) ProtoMessage() {} func (x *ListDeviceProfileTemplatesResponse) ProtoReflect() protoreflect.Message { mi := &file_api_device_profile_template_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1114,7 +1096,7 @@ func file_api_device_profile_template_proto_rawDescGZIP() []byte { } var file_api_device_profile_template_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_api_device_profile_template_proto_goTypes = []interface{}{ +var file_api_device_profile_template_proto_goTypes = []any{ (*DeviceProfileTemplate)(nil), // 0: api.DeviceProfileTemplate (*DeviceProfileTemplateListItem)(nil), // 1: api.DeviceProfileTemplateListItem (*CreateDeviceProfileTemplateRequest)(nil), // 2: api.CreateDeviceProfileTemplateRequest @@ -1176,116 +1158,6 @@ func file_api_device_profile_template_proto_init() { return } file_api_device_profile_proto_init() - if !protoimpl.UnsafeEnabled { - file_api_device_profile_template_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProfileTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_template_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProfileTemplateListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_template_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDeviceProfileTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_template_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceProfileTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_template_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeviceProfileTemplateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_template_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDeviceProfileTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_template_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDeviceProfileTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_template_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDeviceProfileTemplatesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_device_profile_template_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDeviceProfileTemplatesResponse); 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{ diff --git a/api/go/api/device_profile_template_grpc.pb.go b/api/go/api/device_profile_template_grpc.pb.go index a72cb7f9..833d396a 100644 --- a/api/go/api/device_profile_template_grpc.pb.go +++ b/api/go/api/device_profile_template_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/device_profile_template.proto package api diff --git a/api/go/api/gateway.pb.go b/api/go/api/gateway.pb.go index 0b5c0cfa..a399b49f 100644 --- a/api/go/api/gateway.pb.go +++ b/api/go/api/gateway.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/gateway.proto package api @@ -103,11 +103,9 @@ type Gateway struct { func (x *Gateway) Reset() { *x = Gateway{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Gateway) String() string { @@ -118,7 +116,7 @@ func (*Gateway) ProtoMessage() {} func (x *Gateway) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -220,11 +218,9 @@ type GatewayListItem struct { func (x *GatewayListItem) Reset() { *x = GatewayListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatewayListItem) String() string { @@ -235,7 +231,7 @@ func (*GatewayListItem) ProtoMessage() {} func (x *GatewayListItem) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -331,11 +327,9 @@ type CreateGatewayRequest struct { func (x *CreateGatewayRequest) Reset() { *x = CreateGatewayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateGatewayRequest) String() string { @@ -346,7 +340,7 @@ func (*CreateGatewayRequest) ProtoMessage() {} func (x *CreateGatewayRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -379,11 +373,9 @@ type GetGatewayRequest struct { func (x *GetGatewayRequest) Reset() { *x = GetGatewayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGatewayRequest) String() string { @@ -394,7 +386,7 @@ func (*GetGatewayRequest) ProtoMessage() {} func (x *GetGatewayRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,11 +425,9 @@ type GetGatewayResponse struct { func (x *GetGatewayResponse) Reset() { *x = GetGatewayResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGatewayResponse) String() string { @@ -448,7 +438,7 @@ func (*GetGatewayResponse) ProtoMessage() {} func (x *GetGatewayResponse) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -502,11 +492,9 @@ type UpdateGatewayRequest struct { func (x *UpdateGatewayRequest) Reset() { *x = UpdateGatewayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateGatewayRequest) String() string { @@ -517,7 +505,7 @@ func (*UpdateGatewayRequest) ProtoMessage() {} func (x *UpdateGatewayRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -550,11 +538,9 @@ type DeleteGatewayRequest struct { func (x *DeleteGatewayRequest) Reset() { *x = DeleteGatewayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteGatewayRequest) String() string { @@ -565,7 +551,7 @@ func (*DeleteGatewayRequest) ProtoMessage() {} func (x *DeleteGatewayRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -607,11 +593,9 @@ type ListGatewaysRequest struct { func (x *ListGatewaysRequest) Reset() { *x = ListGatewaysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListGatewaysRequest) String() string { @@ -622,7 +606,7 @@ func (*ListGatewaysRequest) ProtoMessage() {} func (x *ListGatewaysRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -685,11 +669,9 @@ type ListGatewaysResponse struct { func (x *ListGatewaysResponse) Reset() { *x = ListGatewaysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListGatewaysResponse) String() string { @@ -700,7 +682,7 @@ func (*ListGatewaysResponse) ProtoMessage() {} func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -740,11 +722,9 @@ type GenerateGatewayClientCertificateRequest struct { func (x *GenerateGatewayClientCertificateRequest) Reset() { *x = GenerateGatewayClientCertificateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GenerateGatewayClientCertificateRequest) String() string { @@ -755,7 +735,7 @@ func (*GenerateGatewayClientCertificateRequest) ProtoMessage() {} func (x *GenerateGatewayClientCertificateRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -794,11 +774,9 @@ type GenerateGatewayClientCertificateResponse struct { func (x *GenerateGatewayClientCertificateResponse) Reset() { *x = GenerateGatewayClientCertificateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GenerateGatewayClientCertificateResponse) String() string { @@ -809,7 +787,7 @@ func (*GenerateGatewayClientCertificateResponse) ProtoMessage() {} func (x *GenerateGatewayClientCertificateResponse) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -869,11 +847,9 @@ type GetGatewayMetricsRequest struct { func (x *GetGatewayMetricsRequest) Reset() { *x = GetGatewayMetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGatewayMetricsRequest) String() string { @@ -884,7 +860,7 @@ func (*GetGatewayMetricsRequest) ProtoMessage() {} func (x *GetGatewayMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -950,11 +926,9 @@ type GetGatewayMetricsResponse struct { func (x *GetGatewayMetricsResponse) Reset() { *x = GetGatewayMetricsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGatewayMetricsResponse) String() string { @@ -965,7 +939,7 @@ func (*GetGatewayMetricsResponse) ProtoMessage() {} func (x *GetGatewayMetricsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1044,11 +1018,9 @@ type GetGatewayDutyCycleMetricsRequest struct { func (x *GetGatewayDutyCycleMetricsRequest) Reset() { *x = GetGatewayDutyCycleMetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGatewayDutyCycleMetricsRequest) String() string { @@ -1059,7 +1031,7 @@ func (*GetGatewayDutyCycleMetricsRequest) ProtoMessage() {} func (x *GetGatewayDutyCycleMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1108,11 +1080,9 @@ type GetGatewayDutyCycleMetricsResponse struct { func (x *GetGatewayDutyCycleMetricsResponse) Reset() { *x = GetGatewayDutyCycleMetricsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGatewayDutyCycleMetricsResponse) String() string { @@ -1123,7 +1093,7 @@ func (*GetGatewayDutyCycleMetricsResponse) ProtoMessage() {} func (x *GetGatewayDutyCycleMetricsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1165,11 +1135,9 @@ type GetRelayGatewayRequest struct { func (x *GetRelayGatewayRequest) Reset() { *x = GetRelayGatewayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRelayGatewayRequest) String() string { @@ -1180,7 +1148,7 @@ func (*GetRelayGatewayRequest) ProtoMessage() {} func (x *GetRelayGatewayRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1226,11 +1194,9 @@ type GetRelayGatewayResponse struct { func (x *GetRelayGatewayResponse) Reset() { *x = GetRelayGatewayResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRelayGatewayResponse) String() string { @@ -1241,7 +1207,7 @@ func (*GetRelayGatewayResponse) ProtoMessage() {} func (x *GetRelayGatewayResponse) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1300,11 +1266,9 @@ type ListRelayGatewaysRequest struct { func (x *ListRelayGatewaysRequest) Reset() { *x = ListRelayGatewaysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRelayGatewaysRequest) String() string { @@ -1315,7 +1279,7 @@ func (*ListRelayGatewaysRequest) ProtoMessage() {} func (x *ListRelayGatewaysRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1364,11 +1328,9 @@ type ListRelayGatewaysResponse struct { func (x *ListRelayGatewaysResponse) Reset() { *x = ListRelayGatewaysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRelayGatewaysResponse) String() string { @@ -1379,7 +1341,7 @@ func (*ListRelayGatewaysResponse) ProtoMessage() {} func (x *ListRelayGatewaysResponse) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1437,11 +1399,9 @@ type RelayGatewayListItem struct { func (x *RelayGatewayListItem) Reset() { *x = RelayGatewayListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelayGatewayListItem) String() string { @@ -1452,7 +1412,7 @@ func (*RelayGatewayListItem) ProtoMessage() {} func (x *RelayGatewayListItem) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1541,11 +1501,9 @@ type UpdateRelayGatewayRequest struct { func (x *UpdateRelayGatewayRequest) Reset() { *x = UpdateRelayGatewayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRelayGatewayRequest) String() string { @@ -1556,7 +1514,7 @@ func (*UpdateRelayGatewayRequest) ProtoMessage() {} func (x *UpdateRelayGatewayRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1591,11 +1549,9 @@ type DeleteRelayGatewayRequest struct { func (x *DeleteRelayGatewayRequest) Reset() { *x = DeleteRelayGatewayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRelayGatewayRequest) String() string { @@ -1606,7 +1562,7 @@ func (*DeleteRelayGatewayRequest) ProtoMessage() {} func (x *DeleteRelayGatewayRequest) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1658,11 +1614,9 @@ type RelayGateway struct { func (x *RelayGateway) Reset() { *x = RelayGateway{} - if protoimpl.UnsafeEnabled { - mi := &file_api_gateway_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_gateway_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelayGateway) String() string { @@ -1673,7 +1627,7 @@ func (*RelayGateway) ProtoMessage() {} func (x *RelayGateway) ProtoReflect() protoreflect.Message { mi := &file_api_gateway_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2134,7 +2088,7 @@ func file_api_gateway_proto_rawDescGZIP() []byte { var file_api_gateway_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_api_gateway_proto_msgTypes = make([]protoimpl.MessageInfo, 26) -var file_api_gateway_proto_goTypes = []interface{}{ +var file_api_gateway_proto_goTypes = []any{ (GatewayState)(0), // 0: api.GatewayState (*Gateway)(nil), // 1: api.Gateway (*GatewayListItem)(nil), // 2: api.GatewayListItem @@ -2246,284 +2200,6 @@ func file_api_gateway_proto_init() { if File_api_gateway_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_gateway_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Gateway); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatewayListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateGatewayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGatewayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGatewayResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateGatewayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteGatewayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListGatewaysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListGatewaysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GenerateGatewayClientCertificateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GenerateGatewayClientCertificateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGatewayMetricsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGatewayMetricsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGatewayDutyCycleMetricsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGatewayDutyCycleMetricsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRelayGatewayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRelayGatewayResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRelayGatewaysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRelayGatewaysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelayGatewayListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRelayGatewayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRelayGatewayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_gateway_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelayGateway); 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{ diff --git a/api/go/api/gateway_grpc.pb.go b/api/go/api/gateway_grpc.pb.go index aeec35a4..9e37ab3b 100644 --- a/api/go/api/gateway_grpc.pb.go +++ b/api/go/api/gateway_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/gateway.proto package api diff --git a/api/go/api/internal.pb.go b/api/go/api/internal.pb.go index c652d61d..287e5d80 100644 --- a/api/go/api/internal.pb.go +++ b/api/go/api/internal.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/internal.proto package api @@ -42,11 +42,9 @@ type ApiKey struct { func (x *ApiKey) Reset() { *x = ApiKey{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApiKey) String() string { @@ -57,7 +55,7 @@ func (*ApiKey) ProtoMessage() {} func (x *ApiKey) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -111,11 +109,9 @@ type CreateApiKeyRequest struct { func (x *CreateApiKeyRequest) Reset() { *x = CreateApiKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateApiKeyRequest) String() string { @@ -126,7 +122,7 @@ func (*CreateApiKeyRequest) ProtoMessage() {} func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -161,11 +157,9 @@ type CreateApiKeyResponse struct { func (x *CreateApiKeyResponse) Reset() { *x = CreateApiKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateApiKeyResponse) String() string { @@ -176,7 +170,7 @@ func (*CreateApiKeyResponse) ProtoMessage() {} func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -216,11 +210,9 @@ type DeleteApiKeyRequest struct { func (x *DeleteApiKeyRequest) Reset() { *x = DeleteApiKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteApiKeyRequest) String() string { @@ -231,7 +223,7 @@ func (*DeleteApiKeyRequest) ProtoMessage() {} func (x *DeleteApiKeyRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -270,11 +262,9 @@ type ListApiKeysRequest struct { func (x *ListApiKeysRequest) Reset() { *x = ListApiKeysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListApiKeysRequest) String() string { @@ -285,7 +275,7 @@ func (*ListApiKeysRequest) ProtoMessage() {} func (x *ListApiKeysRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -340,11 +330,9 @@ type ListApiKeysResponse struct { func (x *ListApiKeysResponse) Reset() { *x = ListApiKeysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListApiKeysResponse) String() string { @@ -355,7 +343,7 @@ func (*ListApiKeysResponse) ProtoMessage() {} func (x *ListApiKeysResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,11 +396,9 @@ type UserTenantLink struct { func (x *UserTenantLink) Reset() { *x = UserTenantLink{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserTenantLink) String() string { @@ -423,7 +409,7 @@ func (*UserTenantLink) ProtoMessage() {} func (x *UserTenantLink) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -493,11 +479,9 @@ type LoginRequest struct { func (x *LoginRequest) Reset() { *x = LoginRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoginRequest) String() string { @@ -508,7 +492,7 @@ func (*LoginRequest) ProtoMessage() {} func (x *LoginRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -548,11 +532,9 @@ type LoginResponse struct { func (x *LoginResponse) Reset() { *x = LoginResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoginResponse) String() string { @@ -563,7 +545,7 @@ func (*LoginResponse) ProtoMessage() {} func (x *LoginResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -598,11 +580,9 @@ type ProfileResponse struct { func (x *ProfileResponse) Reset() { *x = ProfileResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileResponse) String() string { @@ -613,7 +593,7 @@ func (*ProfileResponse) ProtoMessage() {} func (x *ProfileResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -657,11 +637,9 @@ type GlobalSearchRequest struct { func (x *GlobalSearchRequest) Reset() { *x = GlobalSearchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GlobalSearchRequest) String() string { @@ -672,7 +650,7 @@ func (*GlobalSearchRequest) ProtoMessage() {} func (x *GlobalSearchRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -718,11 +696,9 @@ type GlobalSearchResponse struct { func (x *GlobalSearchResponse) Reset() { *x = GlobalSearchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GlobalSearchResponse) String() string { @@ -733,7 +709,7 @@ func (*GlobalSearchResponse) ProtoMessage() {} func (x *GlobalSearchResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -784,11 +760,9 @@ type GlobalSearchResult struct { func (x *GlobalSearchResult) Reset() { *x = GlobalSearchResult{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GlobalSearchResult) String() string { @@ -799,7 +773,7 @@ func (*GlobalSearchResult) ProtoMessage() {} func (x *GlobalSearchResult) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -901,11 +875,9 @@ type SettingsResponse struct { func (x *SettingsResponse) Reset() { *x = SettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SettingsResponse) String() string { @@ -916,7 +888,7 @@ func (*SettingsResponse) ProtoMessage() {} func (x *SettingsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -978,11 +950,9 @@ type OpenIdConnect struct { func (x *OpenIdConnect) Reset() { *x = OpenIdConnect{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OpenIdConnect) String() string { @@ -993,7 +963,7 @@ func (*OpenIdConnect) ProtoMessage() {} func (x *OpenIdConnect) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1062,11 +1032,9 @@ type OAuth2 struct { func (x *OAuth2) Reset() { *x = OAuth2{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OAuth2) String() string { @@ -1077,7 +1045,7 @@ func (*OAuth2) ProtoMessage() {} func (x *OAuth2) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1140,11 +1108,9 @@ type OpenIdConnectLoginRequest struct { func (x *OpenIdConnectLoginRequest) Reset() { *x = OpenIdConnectLoginRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OpenIdConnectLoginRequest) String() string { @@ -1155,7 +1121,7 @@ func (*OpenIdConnectLoginRequest) ProtoMessage() {} func (x *OpenIdConnectLoginRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1195,11 +1161,9 @@ type OpenIdConnectLoginResponse struct { func (x *OpenIdConnectLoginResponse) Reset() { *x = OpenIdConnectLoginResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OpenIdConnectLoginResponse) String() string { @@ -1210,7 +1174,7 @@ func (*OpenIdConnectLoginResponse) ProtoMessage() {} func (x *OpenIdConnectLoginResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1245,11 +1209,9 @@ type OAuth2LoginRequest struct { func (x *OAuth2LoginRequest) Reset() { *x = OAuth2LoginRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OAuth2LoginRequest) String() string { @@ -1260,7 +1222,7 @@ func (*OAuth2LoginRequest) ProtoMessage() {} func (x *OAuth2LoginRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1300,11 +1262,9 @@ type OAuth2LoginResponse struct { func (x *OAuth2LoginResponse) Reset() { *x = OAuth2LoginResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OAuth2LoginResponse) String() string { @@ -1315,7 +1275,7 @@ func (*OAuth2LoginResponse) ProtoMessage() {} func (x *OAuth2LoginResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1348,11 +1308,9 @@ type GetDevicesSummaryRequest struct { func (x *GetDevicesSummaryRequest) Reset() { *x = GetDevicesSummaryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDevicesSummaryRequest) String() string { @@ -1363,7 +1321,7 @@ func (*GetDevicesSummaryRequest) ProtoMessage() {} func (x *GetDevicesSummaryRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1403,11 +1361,9 @@ type GetDevicesSummaryResponse struct { func (x *GetDevicesSummaryResponse) Reset() { *x = GetDevicesSummaryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDevicesSummaryResponse) String() string { @@ -1418,7 +1374,7 @@ func (*GetDevicesSummaryResponse) ProtoMessage() {} func (x *GetDevicesSummaryResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1472,11 +1428,9 @@ type GetGatewaysSummaryRequest struct { func (x *GetGatewaysSummaryRequest) Reset() { *x = GetGatewaysSummaryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGatewaysSummaryRequest) String() string { @@ -1487,7 +1441,7 @@ func (*GetGatewaysSummaryRequest) ProtoMessage() {} func (x *GetGatewaysSummaryRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1524,11 +1478,9 @@ type GetGatewaysSummaryResponse struct { func (x *GetGatewaysSummaryResponse) Reset() { *x = GetGatewaysSummaryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGatewaysSummaryResponse) String() string { @@ -1539,7 +1491,7 @@ func (*GetGatewaysSummaryResponse) ProtoMessage() {} func (x *GetGatewaysSummaryResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1594,11 +1546,9 @@ type LogItem struct { func (x *LogItem) Reset() { *x = LogItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogItem) String() string { @@ -1609,7 +1559,7 @@ func (*LogItem) ProtoMessage() {} func (x *LogItem) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1670,11 +1620,9 @@ type StreamGatewayFramesRequest struct { func (x *StreamGatewayFramesRequest) Reset() { *x = StreamGatewayFramesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamGatewayFramesRequest) String() string { @@ -1685,7 +1633,7 @@ func (*StreamGatewayFramesRequest) ProtoMessage() {} func (x *StreamGatewayFramesRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1718,11 +1666,9 @@ type StreamDeviceFramesRequest struct { func (x *StreamDeviceFramesRequest) Reset() { *x = StreamDeviceFramesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamDeviceFramesRequest) String() string { @@ -1733,7 +1679,7 @@ func (*StreamDeviceFramesRequest) ProtoMessage() {} func (x *StreamDeviceFramesRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1766,11 +1712,9 @@ type StreamDeviceEventsRequest struct { func (x *StreamDeviceEventsRequest) Reset() { *x = StreamDeviceEventsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamDeviceEventsRequest) String() string { @@ -1781,7 +1725,7 @@ func (*StreamDeviceEventsRequest) ProtoMessage() {} func (x *StreamDeviceEventsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1814,11 +1758,9 @@ type ListRegionsResponse struct { func (x *ListRegionsResponse) Reset() { *x = ListRegionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRegionsResponse) String() string { @@ -1829,7 +1771,7 @@ func (*ListRegionsResponse) ProtoMessage() {} func (x *ListRegionsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1866,11 +1808,9 @@ type RegionListItem struct { func (x *RegionListItem) Reset() { *x = RegionListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegionListItem) String() string { @@ -1881,7 +1821,7 @@ func (*RegionListItem) ProtoMessage() {} func (x *RegionListItem) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1928,11 +1868,9 @@ type GetRegionRequest struct { func (x *GetRegionRequest) Reset() { *x = GetRegionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRegionRequest) String() string { @@ -1943,7 +1881,7 @@ func (*GetRegionRequest) ProtoMessage() {} func (x *GetRegionRequest) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1996,11 +1934,9 @@ type GetRegionResponse struct { func (x *GetRegionResponse) Reset() { *x = GetRegionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRegionResponse) String() string { @@ -2011,7 +1947,7 @@ func (*GetRegionResponse) ProtoMessage() {} func (x *GetRegionResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2118,11 +2054,9 @@ type RegionChannel struct { func (x *RegionChannel) Reset() { *x = RegionChannel{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegionChannel) String() string { @@ -2133,7 +2067,7 @@ func (*RegionChannel) ProtoMessage() {} func (x *RegionChannel) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2180,11 +2114,9 @@ type GetVersionResponse struct { func (x *GetVersionResponse) Reset() { *x = GetVersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_internal_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_internal_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetVersionResponse) String() string { @@ -2195,7 +2127,7 @@ func (*GetVersionResponse) ProtoMessage() {} func (x *GetVersionResponse) ProtoReflect() protoreflect.Message { mi := &file_api_internal_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2578,7 +2510,7 @@ func file_api_internal_proto_rawDescGZIP() []byte { } var file_api_internal_proto_msgTypes = make([]protoimpl.MessageInfo, 36) -var file_api_internal_proto_goTypes = []interface{}{ +var file_api_internal_proto_goTypes = []any{ (*ApiKey)(nil), // 0: api.ApiKey (*CreateApiKeyRequest)(nil), // 1: api.CreateApiKeyRequest (*CreateApiKeyResponse)(nil), // 2: api.CreateApiKeyResponse @@ -2684,416 +2616,6 @@ func file_api_internal_proto_init() { return } file_api_user_proto_init() - if !protoimpl.UnsafeEnabled { - file_api_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApiKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateApiKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateApiKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteApiKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListApiKeysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListApiKeysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserTenantLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoginRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoginResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GlobalSearchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GlobalSearchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GlobalSearchResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SettingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OpenIdConnect); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OAuth2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OpenIdConnectLoginRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OpenIdConnectLoginResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OAuth2LoginRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OAuth2LoginResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDevicesSummaryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDevicesSummaryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGatewaysSummaryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGatewaysSummaryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamGatewayFramesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamDeviceFramesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamDeviceEventsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRegionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegionListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRegionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRegionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegionChannel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_internal_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVersionResponse); 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{ diff --git a/api/go/api/internal_grpc.pb.go b/api/go/api/internal_grpc.pb.go index 6346a160..b6943fc7 100644 --- a/api/go/api/internal_grpc.pb.go +++ b/api/go/api/internal_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/internal.proto package api diff --git a/api/go/api/multicast_group.pb.go b/api/go/api/multicast_group.pb.go index 79eb57be..bc8c0a2b 100644 --- a/api/go/api/multicast_group.pb.go +++ b/api/go/api/multicast_group.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/multicast_group.proto package api @@ -168,11 +168,9 @@ type MulticastGroup struct { func (x *MulticastGroup) Reset() { *x = MulticastGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MulticastGroup) String() string { @@ -183,7 +181,7 @@ func (*MulticastGroup) ProtoMessage() {} func (x *MulticastGroup) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -317,11 +315,9 @@ type MulticastGroupListItem struct { func (x *MulticastGroupListItem) Reset() { *x = MulticastGroupListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MulticastGroupListItem) String() string { @@ -332,7 +328,7 @@ func (*MulticastGroupListItem) ProtoMessage() {} func (x *MulticastGroupListItem) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,11 +396,9 @@ type CreateMulticastGroupRequest struct { func (x *CreateMulticastGroupRequest) Reset() { *x = CreateMulticastGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateMulticastGroupRequest) String() string { @@ -415,7 +409,7 @@ func (*CreateMulticastGroupRequest) ProtoMessage() {} func (x *CreateMulticastGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -448,11 +442,9 @@ type CreateMulticastGroupResponse struct { func (x *CreateMulticastGroupResponse) Reset() { *x = CreateMulticastGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateMulticastGroupResponse) String() string { @@ -463,7 +455,7 @@ func (*CreateMulticastGroupResponse) ProtoMessage() {} func (x *CreateMulticastGroupResponse) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -496,11 +488,9 @@ type GetMulticastGroupRequest struct { func (x *GetMulticastGroupRequest) Reset() { *x = GetMulticastGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMulticastGroupRequest) String() string { @@ -511,7 +501,7 @@ func (*GetMulticastGroupRequest) ProtoMessage() {} func (x *GetMulticastGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -548,11 +538,9 @@ type GetMulticastGroupResponse struct { func (x *GetMulticastGroupResponse) Reset() { *x = GetMulticastGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMulticastGroupResponse) String() string { @@ -563,7 +551,7 @@ func (*GetMulticastGroupResponse) ProtoMessage() {} func (x *GetMulticastGroupResponse) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -610,11 +598,9 @@ type UpdateMulticastGroupRequest struct { func (x *UpdateMulticastGroupRequest) Reset() { *x = UpdateMulticastGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateMulticastGroupRequest) String() string { @@ -625,7 +611,7 @@ func (*UpdateMulticastGroupRequest) ProtoMessage() {} func (x *UpdateMulticastGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -658,11 +644,9 @@ type DeleteMulticastGroupRequest struct { func (x *DeleteMulticastGroupRequest) Reset() { *x = DeleteMulticastGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteMulticastGroupRequest) String() string { @@ -673,7 +657,7 @@ func (*DeleteMulticastGroupRequest) ProtoMessage() {} func (x *DeleteMulticastGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -712,11 +696,9 @@ type ListMulticastGroupsRequest struct { func (x *ListMulticastGroupsRequest) Reset() { *x = ListMulticastGroupsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListMulticastGroupsRequest) String() string { @@ -727,7 +709,7 @@ func (*ListMulticastGroupsRequest) ProtoMessage() {} func (x *ListMulticastGroupsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -783,11 +765,9 @@ type ListMulticastGroupsResponse struct { func (x *ListMulticastGroupsResponse) Reset() { *x = ListMulticastGroupsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListMulticastGroupsResponse) String() string { @@ -798,7 +778,7 @@ func (*ListMulticastGroupsResponse) ProtoMessage() {} func (x *ListMulticastGroupsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -840,11 +820,9 @@ type AddDeviceToMulticastGroupRequest struct { func (x *AddDeviceToMulticastGroupRequest) Reset() { *x = AddDeviceToMulticastGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddDeviceToMulticastGroupRequest) String() string { @@ -855,7 +833,7 @@ func (*AddDeviceToMulticastGroupRequest) ProtoMessage() {} func (x *AddDeviceToMulticastGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -897,11 +875,9 @@ type RemoveDeviceFromMulticastGroupRequest struct { func (x *RemoveDeviceFromMulticastGroupRequest) Reset() { *x = RemoveDeviceFromMulticastGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveDeviceFromMulticastGroupRequest) String() string { @@ -912,7 +888,7 @@ func (*RemoveDeviceFromMulticastGroupRequest) ProtoMessage() {} func (x *RemoveDeviceFromMulticastGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -954,11 +930,9 @@ type AddGatewayToMulticastGroupRequest struct { func (x *AddGatewayToMulticastGroupRequest) Reset() { *x = AddGatewayToMulticastGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddGatewayToMulticastGroupRequest) String() string { @@ -969,7 +943,7 @@ func (*AddGatewayToMulticastGroupRequest) ProtoMessage() {} func (x *AddGatewayToMulticastGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1011,11 +985,9 @@ type RemoveGatewayFromMulticastGroupRequest struct { func (x *RemoveGatewayFromMulticastGroupRequest) Reset() { *x = RemoveGatewayFromMulticastGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveGatewayFromMulticastGroupRequest) String() string { @@ -1026,7 +998,7 @@ func (*RemoveGatewayFromMulticastGroupRequest) ProtoMessage() {} func (x *RemoveGatewayFromMulticastGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1076,11 +1048,9 @@ type MulticastGroupQueueItem struct { func (x *MulticastGroupQueueItem) Reset() { *x = MulticastGroupQueueItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MulticastGroupQueueItem) String() string { @@ -1091,7 +1061,7 @@ func (*MulticastGroupQueueItem) ProtoMessage() {} func (x *MulticastGroupQueueItem) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1152,11 +1122,9 @@ type EnqueueMulticastGroupQueueItemRequest struct { func (x *EnqueueMulticastGroupQueueItemRequest) Reset() { *x = EnqueueMulticastGroupQueueItemRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnqueueMulticastGroupQueueItemRequest) String() string { @@ -1167,7 +1135,7 @@ func (*EnqueueMulticastGroupQueueItemRequest) ProtoMessage() {} func (x *EnqueueMulticastGroupQueueItemRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1200,11 +1168,9 @@ type EnqueueMulticastGroupQueueItemResponse struct { func (x *EnqueueMulticastGroupQueueItemResponse) Reset() { *x = EnqueueMulticastGroupQueueItemResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnqueueMulticastGroupQueueItemResponse) String() string { @@ -1215,7 +1181,7 @@ func (*EnqueueMulticastGroupQueueItemResponse) ProtoMessage() {} func (x *EnqueueMulticastGroupQueueItemResponse) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1248,11 +1214,9 @@ type FlushMulticastGroupQueueRequest struct { func (x *FlushMulticastGroupQueueRequest) Reset() { *x = FlushMulticastGroupQueueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlushMulticastGroupQueueRequest) String() string { @@ -1263,7 +1227,7 @@ func (*FlushMulticastGroupQueueRequest) ProtoMessage() {} func (x *FlushMulticastGroupQueueRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1296,11 +1260,9 @@ type ListMulticastGroupQueueRequest struct { func (x *ListMulticastGroupQueueRequest) Reset() { *x = ListMulticastGroupQueueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListMulticastGroupQueueRequest) String() string { @@ -1311,7 +1273,7 @@ func (*ListMulticastGroupQueueRequest) ProtoMessage() {} func (x *ListMulticastGroupQueueRequest) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1343,11 +1305,9 @@ type ListMulticastGroupQueueResponse struct { func (x *ListMulticastGroupQueueResponse) Reset() { *x = ListMulticastGroupQueueResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_multicast_group_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_multicast_group_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListMulticastGroupQueueResponse) String() string { @@ -1358,7 +1318,7 @@ func (*ListMulticastGroupQueueResponse) ProtoMessage() {} func (x *ListMulticastGroupQueueResponse) ProtoReflect() protoreflect.Message { mi := &file_api_multicast_group_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1695,7 +1655,7 @@ func file_api_multicast_group_proto_rawDescGZIP() []byte { var file_api_multicast_group_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_api_multicast_group_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_api_multicast_group_proto_goTypes = []interface{}{ +var file_api_multicast_group_proto_goTypes = []any{ (MulticastGroupType)(0), // 0: api.MulticastGroupType (MulticastGroupSchedulingType)(0), // 1: api.MulticastGroupSchedulingType (*MulticastGroup)(nil), // 2: api.MulticastGroup @@ -1775,248 +1735,6 @@ func file_api_multicast_group_proto_init() { if File_api_multicast_group_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_multicast_group_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MulticastGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MulticastGroupListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateMulticastGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateMulticastGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMulticastGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMulticastGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMulticastGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMulticastGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMulticastGroupsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMulticastGroupsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddDeviceToMulticastGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveDeviceFromMulticastGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddGatewayToMulticastGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveGatewayFromMulticastGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MulticastGroupQueueItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnqueueMulticastGroupQueueItemRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnqueueMulticastGroupQueueItemResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlushMulticastGroupQueueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMulticastGroupQueueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_multicast_group_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMulticastGroupQueueResponse); 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{ diff --git a/api/go/api/multicast_group_grpc.pb.go b/api/go/api/multicast_group_grpc.pb.go index 4826d3f3..6b3b94f8 100644 --- a/api/go/api/multicast_group_grpc.pb.go +++ b/api/go/api/multicast_group_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/multicast_group.proto package api diff --git a/api/go/api/relay.pb.go b/api/go/api/relay.pb.go index d5d4101f..9b31b8c6 100644 --- a/api/go/api/relay.pb.go +++ b/api/go/api/relay.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/relay.proto package api @@ -36,11 +36,9 @@ type RelayListItem struct { func (x *RelayListItem) Reset() { *x = RelayListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_relay_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_relay_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelayListItem) String() string { @@ -51,7 +49,7 @@ func (*RelayListItem) ProtoMessage() {} func (x *RelayListItem) ProtoReflect() protoreflect.Message { mi := &file_api_relay_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -95,11 +93,9 @@ type ListRelaysRequest struct { func (x *ListRelaysRequest) Reset() { *x = ListRelaysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_relay_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_relay_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRelaysRequest) String() string { @@ -110,7 +106,7 @@ func (*ListRelaysRequest) ProtoMessage() {} func (x *ListRelaysRequest) ProtoReflect() protoreflect.Message { mi := &file_api_relay_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -159,11 +155,9 @@ type ListRelaysResponse struct { func (x *ListRelaysResponse) Reset() { *x = ListRelaysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_relay_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_relay_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRelaysResponse) String() string { @@ -174,7 +168,7 @@ func (*ListRelaysResponse) ProtoMessage() {} func (x *ListRelaysResponse) ProtoReflect() protoreflect.Message { mi := &file_api_relay_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -216,11 +210,9 @@ type AddRelayDeviceRequest struct { func (x *AddRelayDeviceRequest) Reset() { *x = AddRelayDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_relay_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_relay_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddRelayDeviceRequest) String() string { @@ -231,7 +223,7 @@ func (*AddRelayDeviceRequest) ProtoMessage() {} func (x *AddRelayDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_api_relay_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -273,11 +265,9 @@ type RemoveRelayDeviceRequest struct { func (x *RemoveRelayDeviceRequest) Reset() { *x = RemoveRelayDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_relay_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_relay_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveRelayDeviceRequest) String() string { @@ -288,7 +278,7 @@ func (*RemoveRelayDeviceRequest) ProtoMessage() {} func (x *RemoveRelayDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_api_relay_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -332,11 +322,9 @@ type ListRelayDevicesRequest struct { func (x *ListRelayDevicesRequest) Reset() { *x = ListRelayDevicesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_relay_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_relay_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRelayDevicesRequest) String() string { @@ -347,7 +335,7 @@ func (*ListRelayDevicesRequest) ProtoMessage() {} func (x *ListRelayDevicesRequest) ProtoReflect() protoreflect.Message { mi := &file_api_relay_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -398,11 +386,9 @@ type RelayDeviceListItem struct { func (x *RelayDeviceListItem) Reset() { *x = RelayDeviceListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_relay_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_relay_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelayDeviceListItem) String() string { @@ -413,7 +399,7 @@ func (*RelayDeviceListItem) ProtoMessage() {} func (x *RelayDeviceListItem) ProtoReflect() protoreflect.Message { mi := &file_api_relay_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -462,11 +448,9 @@ type ListRelayDevicesResponse struct { func (x *ListRelayDevicesResponse) Reset() { *x = ListRelayDevicesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_relay_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_relay_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRelayDevicesResponse) String() string { @@ -477,7 +461,7 @@ func (*ListRelayDevicesResponse) ProtoMessage() {} func (x *ListRelayDevicesResponse) ProtoReflect() protoreflect.Message { mi := &file_api_relay_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -621,7 +605,7 @@ func file_api_relay_proto_rawDescGZIP() []byte { } var file_api_relay_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_api_relay_proto_goTypes = []interface{}{ +var file_api_relay_proto_goTypes = []any{ (*RelayListItem)(nil), // 0: api.RelayListItem (*ListRelaysRequest)(nil), // 1: api.ListRelaysRequest (*ListRelaysResponse)(nil), // 2: api.ListRelaysResponse @@ -657,104 +641,6 @@ func file_api_relay_proto_init() { if File_api_relay_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_relay_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelayListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_relay_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRelaysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_relay_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRelaysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_relay_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddRelayDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_relay_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRelayDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_relay_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRelayDevicesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_relay_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelayDeviceListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_relay_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRelayDevicesResponse); 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{ diff --git a/api/go/api/relay_grpc.pb.go b/api/go/api/relay_grpc.pb.go index 67823e24..ec9d120b 100644 --- a/api/go/api/relay_grpc.pb.go +++ b/api/go/api/relay_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/relay.proto package api diff --git a/api/go/api/tenant.pb.go b/api/go/api/tenant.pb.go index f44a829e..6dd02e3d 100644 --- a/api/go/api/tenant.pb.go +++ b/api/go/api/tenant.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/tenant.proto package api @@ -60,11 +60,9 @@ type Tenant struct { func (x *Tenant) Reset() { *x = Tenant{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Tenant) String() string { @@ -75,7 +73,7 @@ func (*Tenant) ProtoMessage() {} func (x *Tenant) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -182,11 +180,9 @@ type TenantListItem struct { func (x *TenantListItem) Reset() { *x = TenantListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TenantListItem) String() string { @@ -197,7 +193,7 @@ func (*TenantListItem) ProtoMessage() {} func (x *TenantListItem) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -286,11 +282,9 @@ type CreateTenantRequest struct { func (x *CreateTenantRequest) Reset() { *x = CreateTenantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTenantRequest) String() string { @@ -301,7 +295,7 @@ func (*CreateTenantRequest) ProtoMessage() {} func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,11 +328,9 @@ type CreateTenantResponse struct { func (x *CreateTenantResponse) Reset() { *x = CreateTenantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTenantResponse) String() string { @@ -349,7 +341,7 @@ func (*CreateTenantResponse) ProtoMessage() {} func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,11 +374,9 @@ type GetTenantRequest struct { func (x *GetTenantRequest) Reset() { *x = GetTenantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTenantRequest) String() string { @@ -397,7 +387,7 @@ func (*GetTenantRequest) ProtoMessage() {} func (x *GetTenantRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -434,11 +424,9 @@ type GetTenantResponse struct { func (x *GetTenantResponse) Reset() { *x = GetTenantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTenantResponse) String() string { @@ -449,7 +437,7 @@ func (*GetTenantResponse) ProtoMessage() {} func (x *GetTenantResponse) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -496,11 +484,9 @@ type UpdateTenantRequest struct { func (x *UpdateTenantRequest) Reset() { *x = UpdateTenantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTenantRequest) String() string { @@ -511,7 +497,7 @@ func (*UpdateTenantRequest) ProtoMessage() {} func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -544,11 +530,9 @@ type DeleteTenantRequest struct { func (x *DeleteTenantRequest) Reset() { *x = DeleteTenantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTenantRequest) String() string { @@ -559,7 +543,7 @@ func (*DeleteTenantRequest) ProtoMessage() {} func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -599,11 +583,9 @@ type ListTenantsRequest struct { func (x *ListTenantsRequest) Reset() { *x = ListTenantsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTenantsRequest) String() string { @@ -614,7 +596,7 @@ func (*ListTenantsRequest) ProtoMessage() {} func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -670,11 +652,9 @@ type ListTenantsResponse struct { func (x *ListTenantsResponse) Reset() { *x = ListTenantsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTenantsResponse) String() string { @@ -685,7 +665,7 @@ func (*ListTenantsResponse) ProtoMessage() {} func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -737,11 +717,9 @@ type TenantUser struct { func (x *TenantUser) Reset() { *x = TenantUser{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TenantUser) String() string { @@ -752,7 +730,7 @@ func (*TenantUser) ProtoMessage() {} func (x *TenantUser) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -836,11 +814,9 @@ type TenantUserListItem struct { func (x *TenantUserListItem) Reset() { *x = TenantUserListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TenantUserListItem) String() string { @@ -851,7 +827,7 @@ func (*TenantUserListItem) ProtoMessage() {} func (x *TenantUserListItem) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -933,11 +909,9 @@ type AddTenantUserRequest struct { func (x *AddTenantUserRequest) Reset() { *x = AddTenantUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTenantUserRequest) String() string { @@ -948,7 +922,7 @@ func (*AddTenantUserRequest) ProtoMessage() {} func (x *AddTenantUserRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -983,11 +957,9 @@ type GetTenantUserRequest struct { func (x *GetTenantUserRequest) Reset() { *x = GetTenantUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTenantUserRequest) String() string { @@ -998,7 +970,7 @@ func (*GetTenantUserRequest) ProtoMessage() {} func (x *GetTenantUserRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1042,11 +1014,9 @@ type GetTenantUserResponse struct { func (x *GetTenantUserResponse) Reset() { *x = GetTenantUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTenantUserResponse) String() string { @@ -1057,7 +1027,7 @@ func (*GetTenantUserResponse) ProtoMessage() {} func (x *GetTenantUserResponse) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1104,11 +1074,9 @@ type UpdateTenantUserRequest struct { func (x *UpdateTenantUserRequest) Reset() { *x = UpdateTenantUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTenantUserRequest) String() string { @@ -1119,7 +1087,7 @@ func (*UpdateTenantUserRequest) ProtoMessage() {} func (x *UpdateTenantUserRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1154,11 +1122,9 @@ type DeleteTenantUserRequest struct { func (x *DeleteTenantUserRequest) Reset() { *x = DeleteTenantUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTenantUserRequest) String() string { @@ -1169,7 +1135,7 @@ func (*DeleteTenantUserRequest) ProtoMessage() {} func (x *DeleteTenantUserRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1213,11 +1179,9 @@ type ListTenantUsersRequest struct { func (x *ListTenantUsersRequest) Reset() { *x = ListTenantUsersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTenantUsersRequest) String() string { @@ -1228,7 +1192,7 @@ func (*ListTenantUsersRequest) ProtoMessage() {} func (x *ListTenantUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1277,11 +1241,9 @@ type ListTenantUsersResponse struct { func (x *ListTenantUsersResponse) Reset() { *x = ListTenantUsersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_tenant_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_tenant_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTenantUsersResponse) String() string { @@ -1292,7 +1254,7 @@ func (*ListTenantUsersResponse) ProtoMessage() {} func (x *ListTenantUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_api_tenant_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1590,7 +1552,7 @@ func file_api_tenant_proto_rawDescGZIP() []byte { } var file_api_tenant_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_api_tenant_proto_goTypes = []interface{}{ +var file_api_tenant_proto_goTypes = []any{ (*Tenant)(nil), // 0: api.Tenant (*TenantListItem)(nil), // 1: api.TenantListItem (*CreateTenantRequest)(nil), // 2: api.CreateTenantRequest @@ -1664,236 +1626,6 @@ func file_api_tenant_proto_init() { if File_api_tenant_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_tenant_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Tenant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TenantListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTenantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTenantResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTenantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTenantResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTenantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTenantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTenantsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTenantsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TenantUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TenantUserListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTenantUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTenantUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTenantUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTenantUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTenantUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTenantUsersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_tenant_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTenantUsersResponse); 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{ diff --git a/api/go/api/tenant_grpc.pb.go b/api/go/api/tenant_grpc.pb.go index e63b4b5a..dd8d8e56 100644 --- a/api/go/api/tenant_grpc.pb.go +++ b/api/go/api/tenant_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/tenant.proto package api diff --git a/api/go/api/user.pb.go b/api/go/api/user.pb.go index 45f7e8b5..854f6c05 100644 --- a/api/go/api/user.pb.go +++ b/api/go/api/user.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: api/user.proto package api @@ -43,11 +43,9 @@ type User struct { func (x *User) Reset() { *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *User) String() string { @@ -58,7 +56,7 @@ func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,11 +127,9 @@ type UserListItem struct { func (x *UserListItem) Reset() { *x = UserListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserListItem) String() string { @@ -144,7 +140,7 @@ func (*UserListItem) ProtoMessage() {} func (x *UserListItem) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -220,11 +216,9 @@ type UserTenant struct { func (x *UserTenant) Reset() { *x = UserTenant{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserTenant) String() string { @@ -235,7 +229,7 @@ func (*UserTenant) ProtoMessage() {} func (x *UserTenant) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -293,11 +287,9 @@ type CreateUserRequest struct { func (x *CreateUserRequest) Reset() { *x = CreateUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateUserRequest) String() string { @@ -308,7 +300,7 @@ func (*CreateUserRequest) ProtoMessage() {} func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -355,11 +347,9 @@ type CreateUserResponse struct { func (x *CreateUserResponse) Reset() { *x = CreateUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateUserResponse) String() string { @@ -370,7 +360,7 @@ func (*CreateUserResponse) ProtoMessage() {} func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -403,11 +393,9 @@ type GetUserRequest struct { func (x *GetUserRequest) Reset() { *x = GetUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserRequest) String() string { @@ -418,7 +406,7 @@ func (*GetUserRequest) ProtoMessage() {} func (x *GetUserRequest) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -455,11 +443,9 @@ type GetUserResponse struct { func (x *GetUserResponse) Reset() { *x = GetUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserResponse) String() string { @@ -470,7 +456,7 @@ func (*GetUserResponse) ProtoMessage() {} func (x *GetUserResponse) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -517,11 +503,9 @@ type UpdateUserRequest struct { func (x *UpdateUserRequest) Reset() { *x = UpdateUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateUserRequest) String() string { @@ -532,7 +516,7 @@ func (*UpdateUserRequest) ProtoMessage() {} func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -565,11 +549,9 @@ type DeleteUserRequest struct { func (x *DeleteUserRequest) Reset() { *x = DeleteUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteUserRequest) String() string { @@ -580,7 +562,7 @@ func (*DeleteUserRequest) ProtoMessage() {} func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -615,11 +597,9 @@ type ListUsersRequest struct { func (x *ListUsersRequest) Reset() { *x = ListUsersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListUsersRequest) String() string { @@ -630,7 +610,7 @@ func (*ListUsersRequest) ProtoMessage() {} func (x *ListUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,11 +652,9 @@ type ListUsersResponse struct { func (x *ListUsersResponse) Reset() { *x = ListUsersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListUsersResponse) String() string { @@ -687,7 +665,7 @@ func (*ListUsersResponse) ProtoMessage() {} func (x *ListUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -729,11 +707,9 @@ type UpdateUserPasswordRequest struct { func (x *UpdateUserPasswordRequest) Reset() { *x = UpdateUserPasswordRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_user_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_user_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateUserPasswordRequest) String() string { @@ -744,7 +720,7 @@ func (*UpdateUserPasswordRequest) ProtoMessage() {} func (x *UpdateUserPasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_api_user_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -917,7 +893,7 @@ func file_api_user_proto_rawDescGZIP() []byte { } var file_api_user_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_api_user_proto_goTypes = []interface{}{ +var file_api_user_proto_goTypes = []any{ (*User)(nil), // 0: api.User (*UserListItem)(nil), // 1: api.UserListItem (*UserTenant)(nil), // 2: api.UserTenant @@ -967,152 +943,6 @@ func file_api_user_proto_init() { if File_api_user_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserTenant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListUsersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListUsersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_user_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserPasswordRequest); 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{ diff --git a/api/go/api/user_grpc.pb.go b/api/go/api/user_grpc.pb.go index e59fed59..2ee66778 100644 --- a/api/go/api/user_grpc.pb.go +++ b/api/go/api/user_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 +// - protoc v5.28.3 // source: api/user.proto package api diff --git a/api/go/common/common.pb.go b/api/go/common/common.pb.go index 6bda9fe9..264fd903 100644 --- a/api/go/common/common.pb.go +++ b/api/go/common/common.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: common/common.proto package common @@ -656,11 +656,9 @@ type Location struct { func (x *Location) Reset() { *x = Location{} - if protoimpl.UnsafeEnabled { - mi := &file_common_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Location) String() string { @@ -671,7 +669,7 @@ func (*Location) ProtoMessage() {} func (x *Location) ProtoReflect() protoreflect.Message { mi := &file_common_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -734,11 +732,9 @@ type KeyEnvelope struct { func (x *KeyEnvelope) Reset() { *x = KeyEnvelope{} - if protoimpl.UnsafeEnabled { - mi := &file_common_common_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_common_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KeyEnvelope) String() string { @@ -749,7 +745,7 @@ func (*KeyEnvelope) ProtoMessage() {} func (x *KeyEnvelope) ProtoReflect() protoreflect.Message { mi := &file_common_common_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -795,11 +791,9 @@ type Metric struct { func (x *Metric) Reset() { *x = Metric{} - if protoimpl.UnsafeEnabled { - mi := &file_common_common_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_common_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Metric) String() string { @@ -810,7 +804,7 @@ func (*Metric) ProtoMessage() {} func (x *Metric) ProtoReflect() protoreflect.Message { mi := &file_common_common_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -867,11 +861,9 @@ type MetricDataset struct { func (x *MetricDataset) Reset() { *x = MetricDataset{} - if protoimpl.UnsafeEnabled { - mi := &file_common_common_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_common_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricDataset) String() string { @@ -882,7 +874,7 @@ func (*MetricDataset) ProtoMessage() {} func (x *MetricDataset) ProtoReflect() protoreflect.Message { mi := &file_common_common_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,11 +917,9 @@ type JoinServerContext struct { func (x *JoinServerContext) Reset() { *x = JoinServerContext{} - if protoimpl.UnsafeEnabled { - mi := &file_common_common_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_common_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JoinServerContext) String() string { @@ -940,7 +930,7 @@ func (*JoinServerContext) ProtoMessage() {} func (x *JoinServerContext) ProtoReflect() protoreflect.Message { mi := &file_common_common_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1103,7 +1093,7 @@ func file_common_common_proto_rawDescGZIP() []byte { var file_common_common_proto_enumTypes = make([]protoimpl.EnumInfo, 10) var file_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_common_common_proto_goTypes = []interface{}{ +var file_common_common_proto_goTypes = []any{ (Modulation)(0), // 0: common.Modulation (Region)(0), // 1: common.Region (MType)(0), // 2: common.MType @@ -1139,68 +1129,6 @@ func file_common_common_proto_init() { if File_common_common_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_common_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Location); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyEnvelope); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Metric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricDataset); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JoinServerContext); 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{ diff --git a/api/go/gw/gw.pb.go b/api/go/gw/gw.pb.go index f05d0a6e..edf14aa3 100644 --- a/api/go/gw/gw.pb.go +++ b/api/go/gw/gw.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: gw/gw.proto package gw @@ -410,11 +410,9 @@ type Modulation struct { func (x *Modulation) Reset() { *x = Modulation{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Modulation) String() string { @@ -425,7 +423,7 @@ func (*Modulation) ProtoMessage() {} func (x *Modulation) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -512,11 +510,9 @@ type UplinkTxInfoLegacy struct { func (x *UplinkTxInfoLegacy) Reset() { *x = UplinkTxInfoLegacy{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkTxInfoLegacy) String() string { @@ -527,7 +523,7 @@ func (*UplinkTxInfoLegacy) ProtoMessage() {} func (x *UplinkTxInfoLegacy) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -622,11 +618,9 @@ type UplinkTxInfo struct { func (x *UplinkTxInfo) Reset() { *x = UplinkTxInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkTxInfo) String() string { @@ -637,7 +631,7 @@ func (*UplinkTxInfo) ProtoMessage() {} func (x *UplinkTxInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -691,11 +685,9 @@ type LoraModulationInfo struct { func (x *LoraModulationInfo) Reset() { *x = LoraModulationInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoraModulationInfo) String() string { @@ -706,7 +698,7 @@ func (*LoraModulationInfo) ProtoMessage() {} func (x *LoraModulationInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -783,11 +775,9 @@ type FskModulationInfo struct { func (x *FskModulationInfo) Reset() { *x = FskModulationInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FskModulationInfo) String() string { @@ -798,7 +788,7 @@ func (*FskModulationInfo) ProtoMessage() {} func (x *FskModulationInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -845,11 +835,9 @@ type LrFhssModulationInfo struct { func (x *LrFhssModulationInfo) Reset() { *x = LrFhssModulationInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LrFhssModulationInfo) String() string { @@ -860,7 +848,7 @@ func (*LrFhssModulationInfo) ProtoMessage() {} func (x *LrFhssModulationInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -918,11 +906,9 @@ type EncryptedFineTimestamp struct { func (x *EncryptedFineTimestamp) Reset() { *x = EncryptedFineTimestamp{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EncryptedFineTimestamp) String() string { @@ -933,7 +919,7 @@ func (*EncryptedFineTimestamp) ProtoMessage() {} func (x *EncryptedFineTimestamp) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -980,11 +966,9 @@ type PlainFineTimestamp struct { func (x *PlainFineTimestamp) Reset() { *x = PlainFineTimestamp{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlainFineTimestamp) String() string { @@ -995,7 +979,7 @@ func (*PlainFineTimestamp) ProtoMessage() {} func (x *PlainFineTimestamp) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1060,11 +1044,9 @@ type GatewayStats struct { func (x *GatewayStats) Reset() { *x = GatewayStats{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatewayStats) String() string { @@ -1075,7 +1057,7 @@ func (*GatewayStats) ProtoMessage() {} func (x *GatewayStats) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1215,11 +1197,9 @@ type PerModulationCount struct { func (x *PerModulationCount) Reset() { *x = PerModulationCount{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PerModulationCount) String() string { @@ -1230,7 +1210,7 @@ func (*PerModulationCount) ProtoMessage() {} func (x *PerModulationCount) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1274,11 +1254,9 @@ type DutyCycleStats struct { func (x *DutyCycleStats) Reset() { *x = DutyCycleStats{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DutyCycleStats) String() string { @@ -1289,7 +1267,7 @@ func (*DutyCycleStats) ProtoMessage() {} func (x *DutyCycleStats) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1344,11 +1322,9 @@ type DutyCycleBand struct { func (x *DutyCycleBand) Reset() { *x = DutyCycleBand{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DutyCycleBand) String() string { @@ -1359,7 +1335,7 @@ func (*DutyCycleBand) ProtoMessage() {} func (x *DutyCycleBand) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1457,11 +1433,9 @@ type UplinkRxInfoLegacy struct { func (x *UplinkRxInfoLegacy) Reset() { *x = UplinkRxInfoLegacy{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkRxInfoLegacy) String() string { @@ -1472,7 +1446,7 @@ func (*UplinkRxInfoLegacy) ProtoMessage() {} func (x *UplinkRxInfoLegacy) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1675,11 +1649,9 @@ type UplinkRxInfo struct { func (x *UplinkRxInfo) Reset() { *x = UplinkRxInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkRxInfo) String() string { @@ -1690,7 +1662,7 @@ func (*UplinkRxInfo) ProtoMessage() {} func (x *UplinkRxInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1855,11 +1827,9 @@ type DownlinkTxInfoLegacy struct { func (x *DownlinkTxInfoLegacy) Reset() { *x = DownlinkTxInfoLegacy{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkTxInfoLegacy) String() string { @@ -1870,7 +1840,7 @@ func (*DownlinkTxInfoLegacy) ProtoMessage() {} func (x *DownlinkTxInfoLegacy) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2057,11 +2027,9 @@ type DownlinkTxInfo struct { func (x *DownlinkTxInfo) Reset() { *x = DownlinkTxInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkTxInfo) String() string { @@ -2072,7 +2040,7 @@ func (*DownlinkTxInfo) ProtoMessage() {} func (x *DownlinkTxInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2151,11 +2119,9 @@ type Timing struct { func (x *Timing) Reset() { *x = Timing{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Timing) String() string { @@ -2166,7 +2132,7 @@ func (*Timing) ProtoMessage() {} func (x *Timing) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2242,11 +2208,9 @@ type ImmediatelyTimingInfo struct { func (x *ImmediatelyTimingInfo) Reset() { *x = ImmediatelyTimingInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImmediatelyTimingInfo) String() string { @@ -2257,7 +2221,7 @@ func (*ImmediatelyTimingInfo) ProtoMessage() {} func (x *ImmediatelyTimingInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2285,11 +2249,9 @@ type DelayTimingInfo struct { func (x *DelayTimingInfo) Reset() { *x = DelayTimingInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DelayTimingInfo) String() string { @@ -2300,7 +2262,7 @@ func (*DelayTimingInfo) ProtoMessage() {} func (x *DelayTimingInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2333,11 +2295,9 @@ type GPSEpochTimingInfo struct { func (x *GPSEpochTimingInfo) Reset() { *x = GPSEpochTimingInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GPSEpochTimingInfo) String() string { @@ -2348,7 +2308,7 @@ func (*GPSEpochTimingInfo) ProtoMessage() {} func (x *GPSEpochTimingInfo) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2389,11 +2349,9 @@ type UplinkFrame struct { func (x *UplinkFrame) Reset() { *x = UplinkFrame{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkFrame) String() string { @@ -2404,7 +2362,7 @@ func (*UplinkFrame) ProtoMessage() {} func (x *UplinkFrame) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2469,11 +2427,9 @@ type UplinkFrameSet struct { func (x *UplinkFrameSet) Reset() { *x = UplinkFrameSet{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkFrameSet) String() string { @@ -2484,7 +2440,7 @@ func (*UplinkFrameSet) ProtoMessage() {} func (x *UplinkFrameSet) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2545,11 +2501,9 @@ type DownlinkFrame struct { func (x *DownlinkFrame) Reset() { *x = DownlinkFrame{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkFrame) String() string { @@ -2560,7 +2514,7 @@ func (*DownlinkFrame) ProtoMessage() {} func (x *DownlinkFrame) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2625,11 +2579,9 @@ type DownlinkFrameItem struct { func (x *DownlinkFrameItem) Reset() { *x = DownlinkFrameItem{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkFrameItem) String() string { @@ -2640,7 +2592,7 @@ func (*DownlinkFrameItem) ProtoMessage() {} func (x *DownlinkFrameItem) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2698,11 +2650,9 @@ type DownlinkTxAck struct { func (x *DownlinkTxAck) Reset() { *x = DownlinkTxAck{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkTxAck) String() string { @@ -2713,7 +2663,7 @@ func (*DownlinkTxAck) ProtoMessage() {} func (x *DownlinkTxAck) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2774,11 +2724,9 @@ type DownlinkTxAckItem struct { func (x *DownlinkTxAckItem) Reset() { *x = DownlinkTxAckItem{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkTxAckItem) String() string { @@ -2789,7 +2737,7 @@ func (*DownlinkTxAckItem) ProtoMessage() {} func (x *DownlinkTxAckItem) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2831,11 +2779,9 @@ type GatewayConfiguration struct { func (x *GatewayConfiguration) Reset() { *x = GatewayConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatewayConfiguration) String() string { @@ -2846,7 +2792,7 @@ func (*GatewayConfiguration) ProtoMessage() {} func (x *GatewayConfiguration) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2918,11 +2864,9 @@ type ChannelConfiguration struct { func (x *ChannelConfiguration) Reset() { *x = ChannelConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChannelConfiguration) String() string { @@ -2933,7 +2877,7 @@ func (*ChannelConfiguration) ProtoMessage() {} func (x *ChannelConfiguration) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3031,11 +2975,9 @@ type LoraModulationConfig struct { func (x *LoraModulationConfig) Reset() { *x = LoraModulationConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoraModulationConfig) String() string { @@ -3046,7 +2988,7 @@ func (*LoraModulationConfig) ProtoMessage() {} func (x *LoraModulationConfig) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3098,11 +3040,9 @@ type FskModulationConfig struct { func (x *FskModulationConfig) Reset() { *x = FskModulationConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FskModulationConfig) String() string { @@ -3113,7 +3053,7 @@ func (*FskModulationConfig) ProtoMessage() {} func (x *FskModulationConfig) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3175,11 +3115,9 @@ type GatewayCommandExecRequest struct { func (x *GatewayCommandExecRequest) Reset() { *x = GatewayCommandExecRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatewayCommandExecRequest) String() string { @@ -3190,7 +3128,7 @@ func (*GatewayCommandExecRequest) ProtoMessage() {} func (x *GatewayCommandExecRequest) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3269,11 +3207,9 @@ type GatewayCommandExecResponse struct { func (x *GatewayCommandExecResponse) Reset() { *x = GatewayCommandExecResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatewayCommandExecResponse) String() string { @@ -3284,7 +3220,7 @@ func (*GatewayCommandExecResponse) ProtoMessage() {} func (x *GatewayCommandExecResponse) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3360,11 +3296,9 @@ type RawPacketForwarderEvent struct { func (x *RawPacketForwarderEvent) Reset() { *x = RawPacketForwarderEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RawPacketForwarderEvent) String() string { @@ -3375,7 +3309,7 @@ func (*RawPacketForwarderEvent) ProtoMessage() {} func (x *RawPacketForwarderEvent) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3430,11 +3364,9 @@ type RawPacketForwarderCommand struct { func (x *RawPacketForwarderCommand) Reset() { *x = RawPacketForwarderCommand{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RawPacketForwarderCommand) String() string { @@ -3445,7 +3377,7 @@ func (*RawPacketForwarderCommand) ProtoMessage() {} func (x *RawPacketForwarderCommand) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3497,11 +3429,9 @@ type ConnState struct { func (x *ConnState) Reset() { *x = ConnState{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConnState) String() string { @@ -3512,7 +3442,7 @@ func (*ConnState) ProtoMessage() {} func (x *ConnState) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3566,11 +3496,9 @@ type MeshHeartbeat struct { func (x *MeshHeartbeat) Reset() { *x = MeshHeartbeat{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MeshHeartbeat) String() string { @@ -3581,7 +3509,7 @@ func (*MeshHeartbeat) ProtoMessage() {} func (x *MeshHeartbeat) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3639,11 +3567,9 @@ type MeshHeartbeatRelayPath struct { func (x *MeshHeartbeatRelayPath) Reset() { *x = MeshHeartbeatRelayPath{} - if protoimpl.UnsafeEnabled { - mi := &file_gw_gw_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_gw_gw_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MeshHeartbeatRelayPath) String() string { @@ -3654,7 +3580,7 @@ func (*MeshHeartbeatRelayPath) ProtoMessage() {} func (x *MeshHeartbeatRelayPath) ProtoReflect() protoreflect.Message { mi := &file_gw_gw_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4338,7 +4264,7 @@ func file_gw_gw_proto_rawDescGZIP() []byte { var file_gw_gw_proto_enumTypes = make([]protoimpl.EnumInfo, 6) var file_gw_gw_proto_msgTypes = make([]protoimpl.MessageInfo, 44) -var file_gw_gw_proto_goTypes = []interface{}{ +var file_gw_gw_proto_goTypes = []any{ (CodeRate)(0), // 0: gw.CodeRate (DownlinkTiming)(0), // 1: gw.DownlinkTiming (FineTimestampType)(0), // 2: gw.FineTimestampType @@ -4483,479 +4409,33 @@ func file_gw_gw_proto_init() { if File_gw_gw_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_gw_gw_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Modulation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkTxInfoLegacy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkTxInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoraModulationInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FskModulationInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LrFhssModulationInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncryptedFineTimestamp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlainFineTimestamp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatewayStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PerModulationCount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DutyCycleStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DutyCycleBand); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkRxInfoLegacy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkRxInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkTxInfoLegacy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkTxInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Timing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImmediatelyTimingInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelayTimingInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GPSEpochTimingInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkFrame); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkFrameSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkFrame); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkFrameItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkTxAck); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkTxAckItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatewayConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoraModulationConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FskModulationConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatewayCommandExecRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatewayCommandExecResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawPacketForwarderEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawPacketForwarderCommand); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MeshHeartbeat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gw_gw_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MeshHeartbeatRelayPath); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_gw_gw_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_gw_gw_proto_msgTypes[0].OneofWrappers = []any{ (*Modulation_Lora)(nil), (*Modulation_Fsk)(nil), (*Modulation_LrFhss)(nil), } - file_gw_gw_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_gw_gw_proto_msgTypes[1].OneofWrappers = []any{ (*UplinkTxInfoLegacy_LoraModulationInfo)(nil), (*UplinkTxInfoLegacy_FskModulationInfo)(nil), (*UplinkTxInfoLegacy_LrFhssModulationInfo)(nil), } - file_gw_gw_proto_msgTypes[12].OneofWrappers = []interface{}{ + file_gw_gw_proto_msgTypes[12].OneofWrappers = []any{ (*UplinkRxInfoLegacy_EncryptedFineTimestamp)(nil), (*UplinkRxInfoLegacy_PlainFineTimestamp)(nil), } - file_gw_gw_proto_msgTypes[14].OneofWrappers = []interface{}{ + file_gw_gw_proto_msgTypes[14].OneofWrappers = []any{ (*DownlinkTxInfoLegacy_LoraModulationInfo)(nil), (*DownlinkTxInfoLegacy_FskModulationInfo)(nil), (*DownlinkTxInfoLegacy_ImmediatelyTimingInfo)(nil), (*DownlinkTxInfoLegacy_DelayTimingInfo)(nil), (*DownlinkTxInfoLegacy_GpsEpochTimingInfo)(nil), } - file_gw_gw_proto_msgTypes[16].OneofWrappers = []interface{}{ + file_gw_gw_proto_msgTypes[16].OneofWrappers = []any{ (*Timing_Immediately)(nil), (*Timing_Delay)(nil), (*Timing_GpsEpoch)(nil), } - file_gw_gw_proto_msgTypes[27].OneofWrappers = []interface{}{ + file_gw_gw_proto_msgTypes[27].OneofWrappers = []any{ (*ChannelConfiguration_LoraModulationConfig)(nil), (*ChannelConfiguration_FskModulationConfig)(nil), } diff --git a/api/go/integration/integration.pb.go b/api/go/integration/integration.pb.go index 143388d7..1bad1c6e 100644 --- a/api/go/integration/integration.pb.go +++ b/api/go/integration/integration.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: integration/integration.proto package integration @@ -195,11 +195,9 @@ type DeviceInfo struct { func (x *DeviceInfo) Reset() { *x = DeviceInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceInfo) String() string { @@ -210,7 +208,7 @@ func (*DeviceInfo) ProtoMessage() {} func (x *DeviceInfo) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -317,11 +315,9 @@ type UplinkRelayRxInfo struct { func (x *UplinkRelayRxInfo) Reset() { *x = UplinkRelayRxInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkRelayRxInfo) String() string { @@ -332,7 +328,7 @@ func (*UplinkRelayRxInfo) ProtoMessage() {} func (x *UplinkRelayRxInfo) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,11 +429,9 @@ type UplinkEvent struct { func (x *UplinkEvent) Reset() { *x = UplinkEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkEvent) String() string { @@ -448,7 +442,7 @@ func (*UplinkEvent) ProtoMessage() {} func (x *UplinkEvent) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -594,11 +588,9 @@ type JoinEvent struct { func (x *JoinEvent) Reset() { *x = JoinEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JoinEvent) String() string { @@ -609,7 +601,7 @@ func (*JoinEvent) ProtoMessage() {} func (x *JoinEvent) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -689,11 +681,9 @@ type AckEvent struct { func (x *AckEvent) Reset() { *x = AckEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AckEvent) String() string { @@ -704,7 +694,7 @@ func (*AckEvent) ProtoMessage() {} func (x *AckEvent) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -787,11 +777,9 @@ type TxAckEvent struct { func (x *TxAckEvent) Reset() { *x = TxAckEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TxAckEvent) String() string { @@ -802,7 +790,7 @@ func (*TxAckEvent) ProtoMessage() {} func (x *TxAckEvent) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -888,11 +876,9 @@ type LogEvent struct { func (x *LogEvent) Reset() { *x = LogEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogEvent) String() string { @@ -903,7 +889,7 @@ func (*LogEvent) ProtoMessage() {} func (x *LogEvent) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -986,11 +972,9 @@ type StatusEvent struct { func (x *StatusEvent) Reset() { *x = StatusEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusEvent) String() string { @@ -1001,7 +985,7 @@ func (*StatusEvent) ProtoMessage() {} func (x *StatusEvent) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1083,11 +1067,9 @@ type LocationEvent struct { func (x *LocationEvent) Reset() { *x = LocationEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationEvent) String() string { @@ -1098,7 +1080,7 @@ func (*LocationEvent) ProtoMessage() {} func (x *LocationEvent) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1165,11 +1147,9 @@ type IntegrationEvent struct { func (x *IntegrationEvent) Reset() { *x = IntegrationEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntegrationEvent) String() string { @@ -1180,7 +1160,7 @@ func (*IntegrationEvent) ProtoMessage() {} func (x *IntegrationEvent) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1263,11 +1243,9 @@ type DownlinkCommand struct { func (x *DownlinkCommand) Reset() { *x = DownlinkCommand{} - if protoimpl.UnsafeEnabled { - mi := &file_integration_integration_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_integration_integration_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkCommand) String() string { @@ -1278,7 +1256,7 @@ func (*DownlinkCommand) ProtoMessage() {} func (x *DownlinkCommand) ProtoReflect() protoreflect.Message { mi := &file_integration_integration_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1615,7 +1593,7 @@ func file_integration_integration_proto_rawDescGZIP() []byte { var file_integration_integration_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_integration_integration_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_integration_integration_proto_goTypes = []interface{}{ +var file_integration_integration_proto_goTypes = []any{ (LogLevel)(0), // 0: integration.LogLevel (LogCode)(0), // 1: integration.LogCode (*DeviceInfo)(nil), // 2: integration.DeviceInfo @@ -1685,140 +1663,6 @@ func file_integration_integration_proto_init() { if File_integration_integration_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_integration_integration_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkRelayRxInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JoinEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AckEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TxAckEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IntegrationEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_integration_integration_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkCommand); 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{ diff --git a/api/go/stream/api_request.pb.go b/api/go/stream/api_request.pb.go index c4977bf8..62c6d745 100644 --- a/api/go/stream/api_request.pb.go +++ b/api/go/stream/api_request.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: stream/api_request.proto package stream @@ -38,11 +38,9 @@ type ApiRequestLog struct { func (x *ApiRequestLog) Reset() { *x = ApiRequestLog{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_api_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_api_request_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApiRequestLog) String() string { @@ -53,7 +51,7 @@ func (*ApiRequestLog) ProtoMessage() {} func (x *ApiRequestLog) ProtoReflect() protoreflect.Message { mi := &file_stream_api_request_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -137,7 +135,7 @@ func file_stream_api_request_proto_rawDescGZIP() []byte { } var file_stream_api_request_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_stream_api_request_proto_goTypes = []interface{}{ +var file_stream_api_request_proto_goTypes = []any{ (*ApiRequestLog)(nil), // 0: stream.ApiRequestLog nil, // 1: stream.ApiRequestLog.MetadataEntry } @@ -155,20 +153,6 @@ func file_stream_api_request_proto_init() { if File_stream_api_request_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_stream_api_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApiRequestLog); 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{ diff --git a/api/go/stream/backend_interfaces.pb.go b/api/go/stream/backend_interfaces.pb.go index 89d17ae2..baea92b0 100644 --- a/api/go/stream/backend_interfaces.pb.go +++ b/api/go/stream/backend_interfaces.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: stream/backend_interfaces.proto package stream @@ -48,11 +48,9 @@ type BackendInterfacesRequest struct { func (x *BackendInterfacesRequest) Reset() { *x = BackendInterfacesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_backend_interfaces_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_backend_interfaces_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackendInterfacesRequest) String() string { @@ -63,7 +61,7 @@ func (*BackendInterfacesRequest) ProtoMessage() {} func (x *BackendInterfacesRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_backend_interfaces_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -198,7 +196,7 @@ func file_stream_backend_interfaces_proto_rawDescGZIP() []byte { } var file_stream_backend_interfaces_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_stream_backend_interfaces_proto_goTypes = []interface{}{ +var file_stream_backend_interfaces_proto_goTypes = []any{ (*BackendInterfacesRequest)(nil), // 0: stream.BackendInterfacesRequest (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp } @@ -216,20 +214,6 @@ func file_stream_backend_interfaces_proto_init() { if File_stream_backend_interfaces_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_stream_backend_interfaces_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackendInterfacesRequest); 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{ diff --git a/api/go/stream/frame.pb.go b/api/go/stream/frame.pb.go index 7964f3d8..efa315da 100644 --- a/api/go/stream/frame.pb.go +++ b/api/go/stream/frame.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: stream/frame.proto package stream @@ -50,11 +50,9 @@ type UplinkFrameLog struct { func (x *UplinkFrameLog) Reset() { *x = UplinkFrameLog{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_frame_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_frame_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkFrameLog) String() string { @@ -65,7 +63,7 @@ func (*UplinkFrameLog) ProtoMessage() {} func (x *UplinkFrameLog) ProtoReflect() protoreflect.Message { mi := &file_stream_frame_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -172,11 +170,9 @@ type DownlinkFrameLog struct { func (x *DownlinkFrameLog) Reset() { *x = DownlinkFrameLog{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_frame_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_frame_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkFrameLog) String() string { @@ -187,7 +183,7 @@ func (*DownlinkFrameLog) ProtoMessage() {} func (x *DownlinkFrameLog) ProtoReflect() protoreflect.Message { mi := &file_stream_frame_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -355,7 +351,7 @@ func file_stream_frame_proto_rawDescGZIP() []byte { } var file_stream_frame_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_stream_frame_proto_goTypes = []interface{}{ +var file_stream_frame_proto_goTypes = []any{ (*UplinkFrameLog)(nil), // 0: stream.UplinkFrameLog (*DownlinkFrameLog)(nil), // 1: stream.DownlinkFrameLog (*gw.UplinkTxInfo)(nil), // 2: gw.UplinkTxInfo @@ -384,32 +380,6 @@ func file_stream_frame_proto_init() { if File_stream_frame_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_stream_frame_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkFrameLog); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_frame_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkFrameLog); 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{ diff --git a/api/go/stream/meta.pb.go b/api/go/stream/meta.pb.go index 7ccc4ec8..134662b1 100644 --- a/api/go/stream/meta.pb.go +++ b/api/go/stream/meta.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v4.24.4 +// protoc-gen-go v1.35.1 +// protoc v5.28.3 // source: stream/meta.proto package stream @@ -45,11 +45,9 @@ type UplinkMeta struct { func (x *UplinkMeta) Reset() { *x = UplinkMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_meta_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_meta_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UplinkMeta) String() string { @@ -60,7 +58,7 @@ func (*UplinkMeta) ProtoMessage() {} func (x *UplinkMeta) ProtoReflect() protoreflect.Message { mi := &file_stream_meta_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -149,11 +147,9 @@ type DownlinkMeta struct { func (x *DownlinkMeta) Reset() { *x = DownlinkMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_meta_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_meta_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownlinkMeta) String() string { @@ -164,7 +160,7 @@ func (*DownlinkMeta) ProtoMessage() {} func (x *DownlinkMeta) ProtoReflect() protoreflect.Message { mi := &file_stream_meta_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,7 +310,7 @@ func file_stream_meta_proto_rawDescGZIP() []byte { } var file_stream_meta_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_stream_meta_proto_goTypes = []interface{}{ +var file_stream_meta_proto_goTypes = []any{ (*UplinkMeta)(nil), // 0: stream.UplinkMeta (*DownlinkMeta)(nil), // 1: stream.DownlinkMeta (*gw.UplinkTxInfo)(nil), // 2: gw.UplinkTxInfo @@ -340,32 +336,6 @@ func file_stream_meta_proto_init() { if File_stream_meta_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_stream_meta_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UplinkMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_meta_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownlinkMeta); 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{ diff --git a/api/grpc-web/package.json b/api/grpc-web/package.json index 962e3607..dec38fc3 100644 --- a/api/grpc-web/package.json +++ b/api/grpc-web/package.json @@ -1,6 +1,6 @@ { "name": "@chirpstack/chirpstack-api-grpc-web", - "version": "4.10.1", + "version": "4.10.2", "description": "Chirpstack gRPC-web API", "license": "MIT", "devDependencies": { diff --git a/api/java/build.gradle.kts b/api/java/build.gradle.kts index f5801def..4a9c096c 100644 --- a/api/java/build.gradle.kts +++ b/api/java/build.gradle.kts @@ -8,7 +8,7 @@ plugins { } group = "io.chirpstack" -version = "4.10.1" +version = "4.10.2" repositories { mavenCentral() diff --git a/api/js/package.json b/api/js/package.json index b0ffbd06..545c26e9 100644 --- a/api/js/package.json +++ b/api/js/package.json @@ -1,6 +1,6 @@ { "name": "@chirpstack/chirpstack-api", - "version": "4.10.1", + "version": "4.10.2", "description": "Chirpstack JS and TS API", "license": "MIT", "devDependencies": { diff --git a/api/kotlin/build.gradle.kts b/api/kotlin/build.gradle.kts index 1edab270..1bc05801 100644 --- a/api/kotlin/build.gradle.kts +++ b/api/kotlin/build.gradle.kts @@ -9,7 +9,7 @@ plugins { } group = "io.chirpstack" -version = "4.10.1" +version = "4.10.2" repositories { mavenCentral() diff --git a/api/php/composer.json b/api/php/composer.json index 06f3bc4b..90e8d78b 100644 --- a/api/php/composer.json +++ b/api/php/composer.json @@ -3,7 +3,7 @@ "description": "Chirpstack PHP API", "license": "MIT", "type": "library", - "version": "4.10.1", + "version": "4.10.2", "require": { "php": ">=7.0.0", "grpc/grpc": "^v1.57.0", diff --git a/api/python/src/setup.py b/api/python/src/setup.py index bdbc0af8..4ec6b584 100644 --- a/api/python/src/setup.py +++ b/api/python/src/setup.py @@ -18,7 +18,7 @@ CLASSIFIERS = [ setup( name='chirpstack-api', - version = "4.10.1", + version = "4.10.2", url='https://github.com/brocaar/chirpstack-api', author='Orne Brocaar', author_email='info@brocaar.com', diff --git a/api/rust/Cargo.toml b/api/rust/Cargo.toml index 14a38a65..5a3da94c 100644 --- a/api/rust/Cargo.toml +++ b/api/rust/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "chirpstack_api" description = "ChirpStack Protobuf / gRPC API definitions." - version = "4.10.1" + version = "4.10.2" authors = ["Orne Brocaar "] license = "MIT" homepage = "https://www.chirpstack.io" diff --git a/backend/Cargo.toml b/backend/Cargo.toml index f82eab9e..dda7793a 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "backend" - version = "4.10.1" + version = "4.10.2" authors = ["Orne Brocaar "] edition = "2018" publish = false diff --git a/chirpstack-integration/Cargo.toml b/chirpstack-integration/Cargo.toml index f6ec3788..4a74961e 100644 --- a/chirpstack-integration/Cargo.toml +++ b/chirpstack-integration/Cargo.toml @@ -3,13 +3,13 @@ description = "Library for building external ChirpStack integrations" homepage = "https://www.chirpstack.io/" license = "MIT" - version = "4.10.1" + version = "4.10.2" authors = ["Orne Brocaar "] edition = "2021" repository = "https://github.com/chirpstack/chirpstack" [dependencies] - chirpstack_api = { path = "../api/rust", version = "4.10.1" } + chirpstack_api = { path = "../api/rust", version = "4.10.2" } redis = { version = "0.27", features = [ "cluster-async", "tokio-rustls-comp", diff --git a/chirpstack/Cargo.toml b/chirpstack/Cargo.toml index 92d441cb..2fb21466 100644 --- a/chirpstack/Cargo.toml +++ b/chirpstack/Cargo.toml @@ -3,7 +3,7 @@ description = "ChirpStack is an open-source LoRaWAN(TM) Network Server" repository = "https://github.com/chirpstack/chirpstack" homepage = "https://www.chirpstack.io/" - version = "4.10.1" + version = "4.10.2" authors = ["Orne Brocaar "] edition = "2021" publish = false diff --git a/lrwn-filters/Cargo.toml b/lrwn-filters/Cargo.toml index 01768481..cc8c2e5a 100644 --- a/lrwn-filters/Cargo.toml +++ b/lrwn-filters/Cargo.toml @@ -3,7 +3,7 @@ description = "Library for filtering LoRaWAN payloads on DevAddr and JoinEUIs prefixes" homepage = "https://www.chirpstack.io/" license = "MIT" - version = "4.10.1" + version = "4.10.2" authors = ["Orne Brocaar "] edition = "2021" repository = "https://github.com/chirpstack/chirpstack" diff --git a/lrwn/Cargo.toml b/lrwn/Cargo.toml index 9bb2a543..a267e0e3 100644 --- a/lrwn/Cargo.toml +++ b/lrwn/Cargo.toml @@ -3,7 +3,7 @@ description = "Library for encoding / decoding LoRaWAN frames." homepage = "https://www.chirpstack.io" license = "MIT" - version = "4.10.1" + version = "4.10.2" authors = ["Orne Brocaar "] edition = "2018" repository = "https://github.com/chirpstack/chirpstack" diff --git a/ui/package.json b/ui/package.json index 7e0176dd..7fb5d7ff 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "chirpstack-ui", - "version": "4.10.1", + "version": "4.10.2", "private": true, "type": "module", "scripts": { From 922a83597f8aaed089f5c6ed610d20c5aaa91102 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Fri, 29 Nov 2024 15:48:03 +0000 Subject: [PATCH 11/13] Refactor handling same uplink under multiple regions. --- chirpstack/src/downlink/tx_ack.rs | 2 +- chirpstack/src/gateway/backend/mqtt.rs | 19 +- chirpstack/src/storage/device.rs | 20 +- chirpstack/src/storage/downlink_frame.rs | 6 +- chirpstack/src/test/assert.rs | 2 +- chirpstack/src/test/class_a_pr_test.rs | 11 +- chirpstack/src/test/class_a_test.rs | 304 ++-------------------- chirpstack/src/test/class_b_test.rs | 11 +- chirpstack/src/test/otaa_js_test.rs | 11 +- chirpstack/src/test/otaa_pr_test.rs | 11 +- chirpstack/src/test/otaa_test.rs | 35 +-- chirpstack/src/test/relay_class_a_test.rs | 11 +- chirpstack/src/test/relay_otaa_test.rs | 11 +- chirpstack/src/uplink/data.rs | 28 +- chirpstack/src/uplink/join.rs | 32 +-- chirpstack/src/uplink/mod.rs | 94 +++---- 16 files changed, 141 insertions(+), 467 deletions(-) diff --git a/chirpstack/src/downlink/tx_ack.rs b/chirpstack/src/downlink/tx_ack.rs index 61449320..0ea6f838 100644 --- a/chirpstack/src/downlink/tx_ack.rs +++ b/chirpstack/src/downlink/tx_ack.rs @@ -182,7 +182,7 @@ impl TxAck { async fn get_downlink_frame(&mut self) -> Result<()> { trace!("Get downlink-frame from Redis"); - let df = downlink_frame::get(self.downlink_id).await?; + let df = downlink_frame::get_and_del(self.downlink_id).await?; let gw_df = &df .downlink_frame .as_ref() diff --git a/chirpstack/src/gateway/backend/mqtt.rs b/chirpstack/src/gateway/backend/mqtt.rs index a3b964ef..6e87bd8e 100644 --- a/chirpstack/src/gateway/backend/mqtt.rs +++ b/chirpstack/src/gateway/backend/mqtt.rs @@ -5,7 +5,6 @@ use std::time::Duration; use anyhow::Result; use async_trait::async_trait; -use chrono::Utc; use handlebars::Handlebars; use prometheus_client::encoding::EncodeLabelSet; use prometheus_client::metrics::counter::Counter; @@ -360,19 +359,11 @@ async fn message_callback( event.v4_migrate(); } - if let Some(rx_info) = &mut event.rx_info { - set_gateway_json(&rx_info.gateway_id, json); - rx_info.ns_time = Some(Utc::now().into()); - rx_info - .metadata - .insert("region_config_id".to_string(), region_config_id.to_string()); - rx_info.metadata.insert( - "region_common_name".to_string(), - region_common_name.to_string(), - ); - } - - tokio::spawn(uplink::deduplicate_uplink(event)); + tokio::spawn(uplink::deduplicate_uplink( + region_common_name, + region_config_id.to_string(), + event, + )); } else if topic.ends_with("/stats") { EVENT_COUNTER .get_or_create(&EventLabels { diff --git a/chirpstack/src/storage/device.rs b/chirpstack/src/storage/device.rs index 5071dc93..0a61352f 100644 --- a/chirpstack/src/storage/device.rs +++ b/chirpstack/src/storage/device.rs @@ -299,6 +299,7 @@ pub async fn get(dev_eui: &EUI64) -> Result { // On Ok response, the PhyPayload f_cnt will be set to the full 32bit frame-counter based on the // device-session context. pub async fn get_for_phypayload_and_incr_f_cnt_up( + region_config_id: &str, relayed: bool, phy: &mut lrwn::PhyPayload, tx_dr: u8, @@ -341,7 +342,17 @@ pub async fn get_for_phypayload_and_incr_f_cnt_up( } for ds in &mut sessions { - if ds.dev_addr != dev_addr.to_vec() { + // Set the region_config_id if it is empty, e.g. after a ChirpStack v3 to + // ChirpStack v4 migration. + if ds.region_config_id.is_empty() { + ds.region_config_id = region_config_id.into(); + } + // Check that the DevAddr and region_config_id are equal. + // The latter is needed because we must assure that the uplink was received + // under the same region as the device was activated. In case the uplink was + // received under two region configurations, this will start two uplink flows, + // each with their own region_config_id associated. + if ds.region_config_id != region_config_id || ds.dev_addr != dev_addr.to_vec() { continue; } @@ -1162,6 +1173,7 @@ pub mod test { dev_addr: Some(DevAddr::from_be_bytes([1, 2, 3, 4])), device_session: Some( internal::DeviceSession { + region_config_id: "eu868".into(), dev_addr: vec![0x01, 0x02, 0x03, 0x04], s_nwk_s_int_key: vec![ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, @@ -1191,6 +1203,7 @@ pub mod test { dev_addr: Some(DevAddr::from_be_bytes([1, 2, 3, 4])), device_session: Some( internal::DeviceSession { + region_config_id: "eu868".into(), dev_addr: vec![0x01, 0x02, 0x03, 0x04], s_nwk_s_int_key: vec![ 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, @@ -1220,6 +1233,7 @@ pub mod test { secondary_dev_addr: Some(DevAddr::from_be_bytes([4, 3, 2, 1])), device_session: Some( internal::DeviceSession { + region_config_id: "eu868".into(), dev_addr: vec![0x01, 0x02, 0x03, 0x04], s_nwk_s_int_key: vec![ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, @@ -1235,6 +1249,7 @@ pub mod test { ], f_cnt_up: 300, pending_rejoin_device_session: Some(Box::new(internal::DeviceSession { + region_config_id: "eu868".into(), dev_addr: vec![0x04, 0x03, 0x02, 0x01], s_nwk_s_int_key: vec![ 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, @@ -1265,6 +1280,7 @@ pub mod test { dev_addr: Some(DevAddr::from_be_bytes([1, 2, 3, 4])), device_session: Some( internal::DeviceSession { + region_config_id: "eu868".into(), dev_addr: vec![0x01, 0x02, 0x03, 0x04], s_nwk_s_int_key: vec![ 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, @@ -1476,7 +1492,7 @@ pub mod test { pl.fhdr.f_cnt = tst.f_cnt % (1 << 16); } - let d = get_for_phypayload_and_incr_f_cnt_up(false, &mut phy, 0, 0).await; + let d = get_for_phypayload_and_incr_f_cnt_up("eu868", false, &mut phy, 0, 0).await; if tst.expected_error.is_some() { assert!(d.is_err()); assert_eq!( diff --git a/chirpstack/src/storage/downlink_frame.rs b/chirpstack/src/storage/downlink_frame.rs index b7c39bb7..4cfa5f5d 100644 --- a/chirpstack/src/storage/downlink_frame.rs +++ b/chirpstack/src/storage/downlink_frame.rs @@ -22,9 +22,9 @@ pub async fn save(df: &internal::DownlinkFrame) -> Result<()> { Ok(()) } -pub async fn get(id: u32) -> Result { +pub async fn get_and_del(id: u32) -> Result { let key = redis_key(format!("frame:{}", id)); - let v: Vec = redis::cmd("GET") + let v: Vec = redis::cmd("GETDEL") .arg(key) .query_async(&mut get_async_redis_conn().await?) .await?; @@ -53,7 +53,7 @@ pub mod test { }; save(&df).await.unwrap(); - let df_get = get(12345).await.unwrap(); + let df_get = get_and_del(12345).await.unwrap(); assert_eq!(df, df_get); } } diff --git a/chirpstack/src/test/assert.rs b/chirpstack/src/test/assert.rs index 50c80c11..95b0923f 100644 --- a/chirpstack/src/test/assert.rs +++ b/chirpstack/src/test/assert.rs @@ -344,7 +344,7 @@ pub fn downlink_frame_saved(df: internal::DownlinkFrame) -> Validator { Box::new(move || { let df = df.clone(); Box::pin(async move { - let mut df_get = downlink_frame::get(*LAST_DOWNLINK_ID.read().await) + let mut df_get = downlink_frame::get_and_del(*LAST_DOWNLINK_ID.read().await) .await .unwrap(); diff --git a/chirpstack/src/test/class_a_pr_test.rs b/chirpstack/src/test/class_a_pr_test.rs index c60f8a2e..7ab5a2bc 100644 --- a/chirpstack/src/test/class_a_pr_test.rs +++ b/chirpstack/src/test/class_a_pr_test.rs @@ -16,6 +16,7 @@ use crate::storage::{ }; use crate::{config, test, uplink}; use chirpstack_api::{common, gw, internal}; +use lrwn::region::CommonName; use lrwn::{AES128Key, NetID, EUI64}; #[tokio::test] @@ -59,7 +60,7 @@ async fn test_fns_uplink() { let recv_time = Utc::now(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), gw_time: Some(recv_time.into()), location: Some(common::Location { @@ -70,12 +71,6 @@ async fn test_fns_uplink() { }), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -154,6 +149,8 @@ async fn test_fns_uplink() { // Simulate uplink uplink::handle_uplink( + CommonName::EU868, + "eu868".into(), Uuid::new_v4(), gw::UplinkFrameSet { phy_payload: data_phy.to_vec().unwrap(), diff --git a/chirpstack/src/test/class_a_test.rs b/chirpstack/src/test/class_a_test.rs index b338186c..e15dfff9 100644 --- a/chirpstack/src/test/class_a_test.rs +++ b/chirpstack/src/test/class_a_test.rs @@ -12,6 +12,7 @@ use crate::storage::{ }; use crate::{config, gateway::backend as gateway_backend, integration, region, test, uplink}; use chirpstack_api::{common, gw, integration as integration_pb, internal, stream}; +use lrwn::region::CommonName; use lrwn::{AES128Key, DevAddr, EUI64}; type Function = Box Pin>>>; @@ -119,29 +120,17 @@ async fn test_gateway_filtering() { let ds = dev.get_device_session().unwrap(); - let mut rx_info_a = gw::UplinkRxInfo { + let rx_info_a = gw::UplinkRxInfo { gateway_id: gw_a.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info_a - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info_a - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); - let mut rx_info_b = gw::UplinkRxInfo { + let rx_info_b = gw::UplinkRxInfo { gateway_id: gw_b.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info_b - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info_b - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -211,171 +200,6 @@ async fn test_gateway_filtering() { } } -#[tokio::test] -async fn test_region_config_id_filtering() { - let _guard = test::prepare().await; - - // We need to configure the eu868_other region. - let region_conf = lrwn::region::get(lrwn::region::CommonName::EU868, false, false); - region::set("eu868_other", region_conf); - - let t = tenant::create(tenant::Tenant { - name: "tenant".into(), - can_have_gateways: true, - ..Default::default() - }) - .await - .unwrap(); - - let gw = gateway::create(gateway::Gateway { - name: "test-gw".into(), - tenant_id: t.id, - gateway_id: EUI64::from_be_bytes([1, 2, 3, 4, 5, 6, 7, 8]), - ..Default::default() - }) - .await - .unwrap(); - - let app = application::create(application::Application { - name: "app".into(), - tenant_id: t.id, - ..Default::default() - }) - .await - .unwrap(); - - let dp = device_profile::create(device_profile::DeviceProfile { - name: "test-dp".into(), - tenant_id: t.id, - region: lrwn::region::CommonName::EU868, - region_config_id: Some("eu868".to_string()), - mac_version: lrwn::region::MacVersion::LORAWAN_1_0_2, - reg_params_revision: lrwn::region::Revision::A, - supports_otaa: true, - ..Default::default() - }) - .await - .unwrap(); - - let dev = device::create(device::Device { - name: "device".into(), - application_id: app.id, - device_profile_id: dp.id, - dev_eui: EUI64::from_be_bytes([2, 2, 3, 4, 5, 6, 7, 8]), - enabled_class: DeviceClass::A, - dev_addr: Some(DevAddr::from_be_bytes([1, 2, 3, 4])), - ..Default::default() - }) - .await - .unwrap(); - - let mut rx_info_ok = gw::UplinkRxInfo { - gateway_id: gw.gateway_id.to_string(), - location: Some(Default::default()), - ..Default::default() - }; - rx_info_ok - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info_ok - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); - - let mut rx_info_invalid = gw::UplinkRxInfo { - gateway_id: gw.gateway_id.to_string(), - location: Some(Default::default()), - ..Default::default() - }; - rx_info_invalid - .metadata - .insert("region_config_id".to_string(), "eu868_other".to_string()); - rx_info_invalid - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); - - let mut tx_info = gw::UplinkTxInfo { - frequency: 868100000, - ..Default::default() - }; - uplink::helpers::set_uplink_modulation("eu868", &mut tx_info, 0).unwrap(); - - let ds = internal::DeviceSession { - mac_version: common::MacVersion::Lorawan102.into(), - dev_addr: vec![1, 2, 3, 4], - f_nwk_s_int_key: vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], - s_nwk_s_int_key: vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], - nwk_s_enc_key: vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], - f_cnt_up: 7, - n_f_cnt_down: 5, - enabled_uplink_channel_indices: vec![0, 1, 2], - rx1_delay: 1, - rx2_frequency: 869525000, - region_config_id: "eu868".into(), - ..Default::default() - }; - - let tests = vec![ - Test { - name: "matching config id".into(), - dev_eui: dev.dev_eui, - device_queue_items: vec![], - before_func: None, - after_func: None, - device_session: Some(ds.clone()), - tx_info: tx_info.clone(), - rx_info: rx_info_ok.clone(), - phy_payload: lrwn::PhyPayload { - mhdr: lrwn::MHDR { - m_type: lrwn::MType::UnconfirmedDataUp, - major: lrwn::Major::LoRaWANR1, - }, - payload: lrwn::Payload::MACPayload(lrwn::MACPayload { - fhdr: lrwn::FHDR { - devaddr: lrwn::DevAddr::from_be_bytes([1, 2, 3, 4]), - f_cnt: 7, - ..Default::default() - }, - f_port: Some(1), - frm_payload: None, - }), - mic: Some([48, 94, 26, 239]), - }, - assert: vec![assert::f_cnt_up(dev.dev_eui, 8)], - }, - Test { - name: "non-matching configuration id".into(), - dev_eui: dev.dev_eui, - device_queue_items: vec![], - before_func: None, - after_func: None, - device_session: Some(ds.clone()), - tx_info: tx_info.clone(), - rx_info: rx_info_invalid.clone(), - phy_payload: lrwn::PhyPayload { - mhdr: lrwn::MHDR { - m_type: lrwn::MType::UnconfirmedDataUp, - major: lrwn::Major::LoRaWANR1, - }, - payload: lrwn::Payload::MACPayload(lrwn::MACPayload { - fhdr: lrwn::FHDR { - devaddr: lrwn::DevAddr::from_be_bytes([1, 2, 3, 4]), - f_cnt: 7, - ..Default::default() - }, - f_port: Some(1), - frm_payload: None, - }), - mic: Some([48, 94, 26, 239]), - }, - assert: vec![assert::f_cnt_up(dev.dev_eui, 7)], - }, - ]; - - for tst in &tests { - run_test(tst).await; - } -} - #[tokio::test] async fn test_lorawan_10_errors() { let _guard = test::prepare().await; @@ -429,17 +253,11 @@ async fn test_lorawan_10_errors() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -626,17 +444,11 @@ async fn test_lorawan_11_errors() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info_freq = gw::UplinkTxInfo { frequency: 868300000, @@ -781,17 +593,11 @@ async fn test_lorawan_10_skip_f_cnt() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -975,17 +781,11 @@ async fn test_lorawan_10_device_disabled() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -1098,17 +898,11 @@ async fn test_lorawan_10_uplink() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -1735,17 +1529,11 @@ async fn test_lorawan_10_end_to_end_enc() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -2063,17 +1851,11 @@ async fn test_lorawan_11_uplink() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -2302,17 +2084,11 @@ async fn test_lorawan_10_rx_delay() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -2747,17 +2523,11 @@ async fn test_lorawan_10_mac_commands() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -3118,17 +2888,11 @@ async fn test_lorawan_11_mac_commands() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -3312,17 +3076,11 @@ async fn test_lorawan_10_device_queue() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -3789,17 +3547,11 @@ async fn test_lorawan_11_device_queue() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -4270,17 +4022,11 @@ async fn test_lorawan_10_adr() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -5113,17 +4859,11 @@ async fn test_lorawan_10_device_status_request() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -5378,17 +5118,11 @@ async fn test_lorawan_11_receive_window_selection() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -5807,6 +5541,8 @@ async fn run_test(t: &Test) { } uplink::handle_uplink( + CommonName::EU868, + "eu868".into(), Uuid::new_v4(), gw::UplinkFrameSet { phy_payload: t.phy_payload.to_vec().unwrap(), diff --git a/chirpstack/src/test/class_b_test.rs b/chirpstack/src/test/class_b_test.rs index b247ff4d..a63f3472 100644 --- a/chirpstack/src/test/class_b_test.rs +++ b/chirpstack/src/test/class_b_test.rs @@ -12,6 +12,7 @@ use crate::{ uplink, }; use chirpstack_api::{common, gw, internal}; +use lrwn::region::CommonName; use lrwn::{DevAddr, EUI64}; struct UplinkTest { @@ -88,16 +89,10 @@ async fn test_uplink() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -466,6 +461,8 @@ async fn run_uplink_test(t: &UplinkTest) { } uplink::handle_uplink( + CommonName::EU868, + "eu868".into(), Uuid::new_v4(), gw::UplinkFrameSet { phy_payload: t.phy_payload.to_vec().unwrap(), diff --git a/chirpstack/src/test/otaa_js_test.rs b/chirpstack/src/test/otaa_js_test.rs index 7a7921f7..ec0f794e 100644 --- a/chirpstack/src/test/otaa_js_test.rs +++ b/chirpstack/src/test/otaa_js_test.rs @@ -8,6 +8,7 @@ use crate::{ uplink, }; use chirpstack_api::{common, gw, integration as integration_pb, internal}; +use lrwn::region::CommonName; use lrwn::{DevAddr, EUI64Prefix, EUI64}; struct Test { @@ -76,17 +77,11 @@ async fn test_js() { }; uplink::helpers::set_uplink_modulation("eu868", &mut tx_info, 0).unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let phy = lrwn::PhyPayload { mhdr: lrwn::MHDR { @@ -371,6 +366,8 @@ async fn run_test(t: &Test) { gateway_backend::mock::reset().await; uplink::handle_uplink( + CommonName::EU868, + "eu868".into(), Uuid::new_v4(), gw::UplinkFrameSet { phy_payload: t.phy_payload.to_vec().unwrap(), diff --git a/chirpstack/src/test/otaa_pr_test.rs b/chirpstack/src/test/otaa_pr_test.rs index ecad919c..a86de504 100644 --- a/chirpstack/src/test/otaa_pr_test.rs +++ b/chirpstack/src/test/otaa_pr_test.rs @@ -17,6 +17,7 @@ use crate::storage::{ }; use crate::{config, storage::fields, test, uplink}; use chirpstack_api::gw; +use lrwn::region::CommonName; use lrwn::{AES128Key, EUI64Prefix, NetID, EUI64}; #[tokio::test] @@ -68,18 +69,12 @@ async fn test_fns() { let recv_time = Utc::now(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), gw_time: Some(recv_time.into()), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -194,6 +189,8 @@ async fn test_fns() { // Simulate uplink uplink::handle_uplink( + CommonName::EU868, + "eu868".into(), Uuid::new_v4(), gw::UplinkFrameSet { phy_payload: jr_phy.to_vec().unwrap(), diff --git a/chirpstack/src/test/otaa_test.rs b/chirpstack/src/test/otaa_test.rs index 84622d87..5e2a3c22 100644 --- a/chirpstack/src/test/otaa_test.rs +++ b/chirpstack/src/test/otaa_test.rs @@ -15,6 +15,7 @@ use crate::{ }; use chirpstack_api::{common, gw, internal, stream}; use lrwn::keys::get_js_int_key; +use lrwn::region::CommonName; use lrwn::{AES128Key, EUI64}; type Function = Box Pin>>>; @@ -113,29 +114,17 @@ async fn test_gateway_filtering() { .await .unwrap(); - let mut rx_info_a = gw::UplinkRxInfo { + let rx_info_a = gw::UplinkRxInfo { gateway_id: gw_a.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info_a - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info_a - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); - let mut rx_info_b = gw::UplinkRxInfo { + let rx_info_b = gw::UplinkRxInfo { gateway_id: gw_b.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info_b - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info_b - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -289,17 +278,11 @@ async fn test_lorawan_10() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -949,17 +932,11 @@ async fn test_lorawan_11() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -1277,6 +1254,8 @@ async fn run_test(t: &Test) { } uplink::handle_uplink( + CommonName::EU868, + "eu868".into(), Uuid::new_v4(), gw::UplinkFrameSet { phy_payload: t.phy_payload.to_vec().unwrap(), diff --git a/chirpstack/src/test/relay_class_a_test.rs b/chirpstack/src/test/relay_class_a_test.rs index 73517a5d..14d3c721 100644 --- a/chirpstack/src/test/relay_class_a_test.rs +++ b/chirpstack/src/test/relay_class_a_test.rs @@ -10,6 +10,7 @@ use crate::storage::{ }; use crate::{gateway::backend as gateway_backend, integration, test, uplink}; use chirpstack_api::{common, gw, integration as integration_pb, internal}; +use lrwn::region::CommonName; use lrwn::{AES128Key, DevAddr, EUI64}; struct Test { @@ -105,17 +106,11 @@ async fn test_lorawan_10() { .await .unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -813,6 +808,8 @@ async fn run_test(t: &Test) { } uplink::handle_uplink( + CommonName::EU868, + "eu868".into(), Uuid::new_v4(), gw::UplinkFrameSet { phy_payload: t.phy_payload.to_vec().unwrap(), diff --git a/chirpstack/src/test/relay_otaa_test.rs b/chirpstack/src/test/relay_otaa_test.rs index faf21196..90ec5bda 100644 --- a/chirpstack/src/test/relay_otaa_test.rs +++ b/chirpstack/src/test/relay_otaa_test.rs @@ -10,6 +10,7 @@ use crate::storage::{ }; use crate::{gateway::backend as gateway_backend, integration, test, uplink}; use chirpstack_api::{common, gw, internal}; +use lrwn::region::CommonName; use lrwn::{AES128Key, DevAddr, EUI64}; #[tokio::test] @@ -120,17 +121,11 @@ async fn test_lorawan_10() { let ds_relay = dev_relay.get_device_session().unwrap(); - let mut rx_info = gw::UplinkRxInfo { + let rx_info = gw::UplinkRxInfo { gateway_id: gw.gateway_id.to_string(), location: Some(Default::default()), ..Default::default() }; - rx_info - .metadata - .insert("region_config_id".to_string(), "eu868".to_string()); - rx_info - .metadata - .insert("region_common_name".to_string(), "EU868".to_string()); let mut tx_info = gw::UplinkTxInfo { frequency: 868100000, @@ -221,6 +216,8 @@ async fn test_lorawan_10() { .unwrap(); uplink::handle_uplink( + CommonName::EU868, + "eu868".into(), Uuid::new_v4(), gw::UplinkFrameSet { phy_payload: phy_relay_jr.to_vec().unwrap(), diff --git a/chirpstack/src/uplink/data.rs b/chirpstack/src/uplink/data.rs index e7515621..56b1384b 100644 --- a/chirpstack/src/uplink/data.rs +++ b/chirpstack/src/uplink/data.rs @@ -6,10 +6,7 @@ use chrono::{DateTime, Duration, Local, Utc}; use tracing::{debug, error, info, span, trace, warn, Instrument, Level}; use super::error::Error; -use super::{ - data_fns, filter_rx_info_by_region_config_id, filter_rx_info_by_tenant_id, helpers, - RelayContext, UplinkFrameSet, -}; +use super::{data_fns, filter_rx_info_by_tenant_id, helpers, RelayContext, UplinkFrameSet}; use crate::api::helpers::ToProto; use crate::backend::roaming; use crate::helpers::errors::PrintFullError; @@ -124,7 +121,6 @@ impl Data { // In case of roaming we do not know the gateways and therefore it must not be // filtered. ctx.filter_rx_info_by_tenant().await?; - ctx.filter_rx_info_by_region_config_id()?; } ctx.set_device_info()?; ctx.set_device_gateway_rx_info()?; @@ -238,6 +234,7 @@ impl Data { }; match device::get_for_phypayload_and_incr_f_cnt_up( + &self.uplink_frame_set.region_config_id, false, &mut self.phy_payload, self.uplink_frame_set.dr, @@ -305,8 +302,14 @@ impl Data { dr, )? as u8; - match device::get_for_phypayload_and_incr_f_cnt_up(true, &mut self.phy_payload, dr, ch) - .await + match device::get_for_phypayload_and_incr_f_cnt_up( + &self.uplink_frame_set.region_config_id, + true, + &mut self.phy_payload, + dr, + ch, + ) + .await { Ok(v) => match v { device::ValidationStatus::Ok(f_cnt, d) => { @@ -572,17 +575,6 @@ impl Data { } } - fn filter_rx_info_by_region_config_id(&mut self) -> Result<()> { - trace!("Filtering rx_info by region_config_id"); - - let dp = self.device_profile.as_ref().unwrap(); - if let Some(v) = &dp.region_config_id { - filter_rx_info_by_region_config_id(v, &mut self.uplink_frame_set)?; - } - - Ok(()) - } - fn decrypt_f_opts_mac_commands(&mut self) -> Result<()> { trace!("Decrypting mac-commands"); let ds = self.device.as_ref().unwrap().get_device_session()?; diff --git a/chirpstack/src/uplink/join.rs b/chirpstack/src/uplink/join.rs index 0323e3ae..52e859b2 100644 --- a/chirpstack/src/uplink/join.rs +++ b/chirpstack/src/uplink/join.rs @@ -12,10 +12,7 @@ use lrwn::{ use super::error::Error; use super::join_fns; -use super::{ - filter_rx_info_by_region_config_id, filter_rx_info_by_tenant_id, helpers, RelayContext, - UplinkFrameSet, -}; +use super::{filter_rx_info_by_tenant_id, helpers, RelayContext, UplinkFrameSet}; use crate::api::{backend::get_async_receiver, helpers::ToProto}; use crate::backend::{joinserver, keywrap, roaming}; @@ -119,8 +116,8 @@ impl JoinRequest { ctx.get_device_data_or_try_pr_roaming().await?; ctx.get_device_keys_or_js_client().await?; // used to validate MIC + if we need external JS ctx.set_device_info()?; + ctx.validate_region_config_id()?; ctx.filter_rx_info_by_tenant()?; - ctx.filter_rx_info_by_region_config_id()?; ctx.abort_on_device_is_disabled()?; ctx.abort_on_relay_only_comm()?; ctx.log_uplink_frame_set().await?; @@ -337,6 +334,20 @@ impl JoinRequest { Ok(()) } + fn validate_region_config_id(&self) -> Result<(), Error> { + trace!("Validating region_config_id against device-profile"); + + let dp = self.device_profile.as_ref().unwrap(); + if let Some(v) = &dp.region_config_id { + if !self.uplink_frame_set.region_config_id.eq(v) { + warn!("Aborting as region config ID does not match with device-profile"); + return Err(Error::Abort); + } + } + + Ok(()) + } + fn filter_rx_info_by_tenant(&mut self) -> Result<()> { trace!("Filtering rx_info by tenant_id"); @@ -347,17 +358,6 @@ impl JoinRequest { Ok(()) } - fn filter_rx_info_by_region_config_id(&mut self) -> Result<()> { - trace!("Filtering rx_info by region_config_id"); - - let dp = self.device_profile.as_ref().unwrap(); - if let Some(v) = &dp.region_config_id { - filter_rx_info_by_region_config_id(v, &mut self.uplink_frame_set)?; - } - - Ok(()) - } - async fn log_uplink_frame_set(&self) -> Result<()> { trace!("Logging uplink frame-set"); let ufl: stream_pb::UplinkFrameLog = (&self.uplink_frame_set).try_into()?; diff --git a/chirpstack/src/uplink/mod.rs b/chirpstack/src/uplink/mod.rs index a8f603bd..a1b3cf7e 100644 --- a/chirpstack/src/uplink/mod.rs +++ b/chirpstack/src/uplink/mod.rs @@ -156,21 +156,35 @@ pub struct RoamingMetaData { pub ul_meta_data: backend::ULMetaData, } -pub async fn deduplicate_uplink(event: gw::UplinkFrame) { - if let Err(e) = _deduplicate_uplink(event).await { +pub async fn deduplicate_uplink( + region_common_name: CommonName, + region_config_id: String, + event: gw::UplinkFrame, +) { + if let Err(e) = _deduplicate_uplink(region_common_name, ®ion_config_id, event).await { error!(error = %e.full(), "Deduplication error"); } } -async fn _deduplicate_uplink(event: gw::UplinkFrame) -> Result<()> { +async fn _deduplicate_uplink( + region_common_name: CommonName, + region_config_id: &str, + event: gw::UplinkFrame, +) -> Result<()> { let phy_str = hex::encode(&event.phy_payload); let tx_info_str = match &event.tx_info { Some(tx_info) => hex::encode(tx_info.encode_to_vec()), None => "".to_string(), }; - let key = redis_key(format!("up:collect:{{{}:{}}}", tx_info_str, phy_str)); - let lock_key = redis_key(format!("up:collect:{{{}:{}}}:lock", tx_info_str, phy_str)); + let key = redis_key(format!( + "up:collect:{{{}:{}:{}}}", + region_config_id, tx_info_str, phy_str + )); + let lock_key = redis_key(format!( + "up:collect:{{{}:{}:{}}}:lock", + region_config_id, tx_info_str, phy_str + )); let dedup_delay = config::get().network.deduplication_delay; let mut dedup_ttl = dedup_delay * 2; @@ -207,9 +221,14 @@ async fn _deduplicate_uplink(event: gw::UplinkFrame) -> Result<()> { let deduplication_id = Uuid::new_v4(); let span = span!(Level::INFO, "up", deduplication_id = %deduplication_id); - handle_uplink(deduplication_id, uplink) - .instrument(span) - .await?; + handle_uplink( + region_common_name, + region_config_id, + deduplication_id, + uplink, + ) + .instrument(span) + .await?; Ok(()) } @@ -283,30 +302,16 @@ async fn deduplicate_collect(key: &str) -> Result { Ok(pl) } -pub async fn handle_uplink(deduplication_id: Uuid, uplink: gw::UplinkFrameSet) -> Result<()> { - let rx_info = &uplink - .rx_info - .first() - .context("Unable to get first item from rx_info")?; - - let region_config_id = rx_info - .metadata - .get("region_config_id") - .cloned() - .unwrap_or_default(); - - let common_name = rx_info - .metadata - .get("region_common_name") - .cloned() - .unwrap_or_default(); - - let common_name = CommonName::from_str(&common_name)?; - +pub async fn handle_uplink( + region_common_name: CommonName, + region_config_id: &str, + deduplication_id: Uuid, + uplink: gw::UplinkFrameSet, +) -> Result<()> { let mut uplink = UplinkFrameSet { uplink_set_id: deduplication_id, - region_config_id, - region_common_name: common_name, + region_common_name, + region_config_id: region_config_id.to_string(), dr: 0, ch: 0, phy_payload: PhyPayload::from_slice(&uplink.phy_payload)?, @@ -409,16 +414,11 @@ async fn update_gateway_metadata(ufs: &mut UplinkFrameSet) -> Result<()> { } fn filter_rx_info_by_tenant_id(tenant_id: Uuid, uplink: &mut UplinkFrameSet) -> Result<()> { + let force_gws_private = config::get_force_gws_private(&uplink.region_config_id)?; let mut rx_info_set: Vec = Vec::new(); for rx_info in &uplink.rx_info_set { let gateway_id = EUI64::from_str(&rx_info.gateway_id).context("Gateway ID")?; - let region_config_id = rx_info - .metadata - .get("region_config_id") - .map(|v| v.to_string()) - .ok_or_else(|| anyhow!("No region_config_id in rx_info metadata"))?; - let force_gws_private = config::get_force_gws_private(®ion_config_id)?; if !(uplink .gateway_private_up_map @@ -466,25 +466,3 @@ fn filter_rx_info_by_public_only(uplink: &mut UplinkFrameSet) -> Result<()> { Ok(()) } - -fn filter_rx_info_by_region_config_id( - region_config_id: &str, - uplink: &mut UplinkFrameSet, -) -> Result<()> { - let mut rx_info_set: Vec = Vec::new(); - - for rx_info in &uplink.rx_info_set { - if let Some(v) = rx_info.metadata.get("region_config_id") { - if v == region_config_id { - rx_info_set.push(rx_info.clone()); - } - } - } - - uplink.rx_info_set = rx_info_set; - if uplink.rx_info_set.is_empty() { - return Err(anyhow!("rx_info_set is empty")); - } - - Ok(()) -} From 70e4afae546acef87ea88a9aece3a2aadc6e13bc Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Thu, 5 Dec 2024 09:59:20 +0000 Subject: [PATCH 12/13] Expose region_config_id in Uplink and Join event. --- api/proto/integration/integration.proto | 8 ++++++++ .../chirpstack/integration/integration.proto | 8 ++++++++ chirpstack/src/test/class_a_test.rs | 16 ++++++++++++++++ chirpstack/src/test/otaa_js_test.rs | 3 +++ chirpstack/src/test/relay_class_a_test.rs | 6 ++++++ chirpstack/src/uplink/data.rs | 1 + chirpstack/src/uplink/join.rs | 1 + chirpstack/src/uplink/join_sns.rs | 1 + 8 files changed, 44 insertions(+) diff --git a/api/proto/integration/integration.proto b/api/proto/integration/integration.proto index b38227ac..5b045f2e 100644 --- a/api/proto/integration/integration.proto +++ b/api/proto/integration/integration.proto @@ -169,6 +169,10 @@ message UplinkEvent { // the AppSKey and that the encryption / decryption of the payloads is // the responsibility of the end-application. common.JoinServerContext join_server_context = 15; + + // Region config ID. + // This contains the region config ID which reported the uplink. + string region_config_id = 16; } // JoinEvent is the message sent when a device joined the network. @@ -194,6 +198,10 @@ message JoinEvent { // the AppSKey and that the encryption / decryption of the payloads is // the responsibility of the end-application. common.JoinServerContext join_server_context = 6; + + // Region config ID. + // This contains the region config ID which reported the uplink. + string region_config_id = 7; } // AckEvent is the message sent when a confirmation on a confirmed downlink diff --git a/api/rust/proto/chirpstack/integration/integration.proto b/api/rust/proto/chirpstack/integration/integration.proto index b38227ac..5b045f2e 100644 --- a/api/rust/proto/chirpstack/integration/integration.proto +++ b/api/rust/proto/chirpstack/integration/integration.proto @@ -169,6 +169,10 @@ message UplinkEvent { // the AppSKey and that the encryption / decryption of the payloads is // the responsibility of the end-application. common.JoinServerContext join_server_context = 15; + + // Region config ID. + // This contains the region config ID which reported the uplink. + string region_config_id = 16; } // JoinEvent is the message sent when a device joined the network. @@ -194,6 +198,10 @@ message JoinEvent { // the AppSKey and that the encryption / decryption of the payloads is // the responsibility of the end-application. common.JoinServerContext join_server_context = 6; + + // Region config ID. + // This contains the region config ID which reported the uplink. + string region_config_id = 7; } // AckEvent is the message sent when a confirmation on a confirmed downlink diff --git a/chirpstack/src/test/class_a_test.rs b/chirpstack/src/test/class_a_test.rs index e15dfff9..a78a927b 100644 --- a/chirpstack/src/test/class_a_test.rs +++ b/chirpstack/src/test/class_a_test.rs @@ -665,6 +665,7 @@ async fn test_lorawan_10_skip_f_cnt() { rx_info: vec![rx_info.clone()], f_cnt: 7, f_port: 1, + region_config_id: "eu868".into(), ..Default::default() }), assert::f_cnt_up(dev.dev_eui, 8), @@ -714,6 +715,7 @@ async fn test_lorawan_10_skip_f_cnt() { rx_info: vec![rx_info.clone()], f_cnt: 0, f_port: 1, + region_config_id: "eu868".into(), ..Default::default() }), assert::f_cnt_up(dev.dev_eui, 1), @@ -983,6 +985,7 @@ async fn test_lorawan_10_uplink() { f_port: 1, dr: 0, data: vec![215, 241, 112, 52], + region_config_id: "eu868".into(), ..Default::default() }), ], @@ -1055,6 +1058,7 @@ async fn test_lorawan_10_uplink() { f_port: 1, dr: 10, data: vec![215, 241, 112, 52], + region_config_id: "eu868".into(), ..Default::default() }), ], @@ -1134,6 +1138,7 @@ async fn test_lorawan_10_uplink() { f_port: 1, dr: 0, data: vec![215, 241, 112, 52], + region_config_id: "eu868".into(), ..Default::default() }), ], @@ -1185,6 +1190,7 @@ async fn test_lorawan_10_uplink() { f_port: 1, dr: 0, data: vec![], + region_config_id: "eu868".into(), ..Default::default() }), ], @@ -1237,6 +1243,7 @@ async fn test_lorawan_10_uplink() { dr: 0, confirmed: true, data: vec![215, 241, 112, 52], + region_config_id: "eu868".into(), ..Default::default() }), assert::downlink_frame(gw::DownlinkFrame { @@ -1348,6 +1355,7 @@ async fn test_lorawan_10_uplink() { f_port: 1, dr: 0, confirmed: true, + region_config_id: "eu868".into(), ..Default::default() }), assert::downlink_frame(gw::DownlinkFrame { @@ -1626,6 +1634,7 @@ async fn test_lorawan_10_end_to_end_enc() { session_key_id: "010203".into(), ..Default::default() }), + region_config_id: "eu868".into(), ..Default::default() })], }, @@ -1680,6 +1689,7 @@ async fn test_lorawan_10_end_to_end_enc() { }), ..Default::default() }), + region_config_id: "eu868".into(), ..Default::default() })], }, @@ -1743,6 +1753,7 @@ async fn test_lorawan_10_end_to_end_enc() { }), ..Default::default() }), + region_config_id: "eu868".into(), ..Default::default() }), assert::f_cnt_up(dev.dev_eui, 11), @@ -1937,6 +1948,7 @@ async fn test_lorawan_11_uplink() { f_port: 1, dr: 0, data: vec![215, 241, 112, 52], + region_config_id: "eu868".into(), ..Default::default() }), ], @@ -2016,6 +2028,7 @@ async fn test_lorawan_11_uplink() { f_port: 1, dr: 0, data: vec![215, 241, 112, 52], + region_config_id: "eu868".into(), ..Default::default() }), ], @@ -2168,6 +2181,7 @@ async fn test_lorawan_10_rx_delay() { f_port: 1, confirmed: true, dr: 0, + region_config_id: "eu868".into(), ..Default::default() }), assert::downlink_frame(gw::DownlinkFrame { @@ -2289,6 +2303,7 @@ async fn test_lorawan_10_rx_delay() { f_port: 1, confirmed: true, dr: 0, + region_config_id: "eu868".into(), ..Default::default() }), assert::downlink_frame(gw::DownlinkFrame { @@ -2410,6 +2425,7 @@ async fn test_lorawan_10_rx_delay() { f_port: 1, confirmed: true, dr: 0, + region_config_id: "eu868".into(), ..Default::default() }), assert::downlink_phy_payloads(vec![ diff --git a/chirpstack/src/test/otaa_js_test.rs b/chirpstack/src/test/otaa_js_test.rs index ec0f794e..ef913ee1 100644 --- a/chirpstack/src/test/otaa_js_test.rs +++ b/chirpstack/src/test/otaa_js_test.rs @@ -183,6 +183,7 @@ async fn test_js() { }), dev_addr: "01020304".into(), join_server_context: None, + region_config_id: "eu868".into(), ..Default::default() }), ], @@ -250,6 +251,7 @@ async fn test_js() { session_key_id: "01020304".into(), ..Default::default() }), + region_config_id: "eu868".into(), ..Default::default() }), ], @@ -326,6 +328,7 @@ async fn test_js() { }), ..Default::default() }), + region_config_id: "eu868".into(), ..Default::default() }), ], diff --git a/chirpstack/src/test/relay_class_a_test.rs b/chirpstack/src/test/relay_class_a_test.rs index 14d3c721..b0aba525 100644 --- a/chirpstack/src/test/relay_class_a_test.rs +++ b/chirpstack/src/test/relay_class_a_test.rs @@ -466,6 +466,7 @@ async fn test_lorawan_10() { data: vec![], rx_info: vec![rx_info.clone()], tx_info: Some(tx_info.clone()), + region_config_id: "eu868".into(), ..Default::default() }), assert::uplink_event(integration_pb::UplinkEvent { @@ -495,6 +496,7 @@ async fn test_lorawan_10() { rssi: -100, wor_channel: 0, }), + region_config_id: "eu868".into(), ..Default::default() }), assert::no_downlink_frame(), @@ -532,6 +534,7 @@ async fn test_lorawan_10() { data: vec![], rx_info: vec![rx_info.clone()], tx_info: Some(tx_info.clone()), + region_config_id: "eu868".into(), ..Default::default() }), assert::uplink_event(integration_pb::UplinkEvent { @@ -562,6 +565,7 @@ async fn test_lorawan_10() { rssi: -100, wor_channel: 0, }), + region_config_id: "eu868".into(), ..Default::default() }), assert::downlink_frame(gw::DownlinkFrame { @@ -658,6 +662,7 @@ async fn test_lorawan_10() { data: vec![], rx_info: vec![rx_info.clone()], tx_info: Some(tx_info.clone()), + region_config_id: "eu868".into(), ..Default::default() }), assert::uplink_event(integration_pb::UplinkEvent { @@ -687,6 +692,7 @@ async fn test_lorawan_10() { rssi: -100, wor_channel: 0, }), + region_config_id: "eu868".into(), ..Default::default() }), assert::downlink_frame(gw::DownlinkFrame { diff --git a/chirpstack/src/uplink/data.rs b/chirpstack/src/uplink/data.rs index 56b1384b..9e0517f6 100644 --- a/chirpstack/src/uplink/data.rs +++ b/chirpstack/src/uplink/data.rs @@ -950,6 +950,7 @@ impl Data { } else { None }, + region_config_id: self.uplink_frame_set.region_config_id.clone(), }; if !self._is_end_to_end_encrypted() { diff --git a/chirpstack/src/uplink/join.rs b/chirpstack/src/uplink/join.rs index 52e859b2..6f1132bb 100644 --- a/chirpstack/src/uplink/join.rs +++ b/chirpstack/src/uplink/join.rs @@ -955,6 +955,7 @@ impl JoinRequest { } else { None }, + region_config_id: self.uplink_frame_set.region_config_id.clone(), }; integration::join_event(app.id.into(), &dev.variables, &pl).await; diff --git a/chirpstack/src/uplink/join_sns.rs b/chirpstack/src/uplink/join_sns.rs index 74ff3bd1..e104a961 100644 --- a/chirpstack/src/uplink/join_sns.rs +++ b/chirpstack/src/uplink/join_sns.rs @@ -705,6 +705,7 @@ impl JoinRequest { } else { None }, + region_config_id: self.uplink_frame_set.region_config_id.clone(), }; integration::join_event(app.id.into(), &dev.variables, &pl).await; From 64b2e822447f5715c94bc94a2bcdf78eec31d336 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Wed, 11 Dec 2024 09:33:27 +0000 Subject: [PATCH 13/13] Bump version to 4.11.0-test.1 --- Cargo.lock | 12 +- api/go/integration/integration.pb.go | 340 ++++++++++++++------------- api/grpc-web/package.json | 2 +- api/java/build.gradle.kts | 2 +- api/js/package.json | 2 +- api/kotlin/build.gradle.kts | 2 +- api/php/composer.json | 2 +- api/python/src/setup.py | 2 +- api/rust/Cargo.toml | 2 +- backend/Cargo.toml | 2 +- chirpstack-integration/Cargo.toml | 4 +- chirpstack/Cargo.toml | 2 +- lrwn-filters/Cargo.toml | 2 +- lrwn/Cargo.toml | 2 +- ui/package.json | 2 +- 15 files changed, 203 insertions(+), 177 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aec88c14..8cda2ea6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -611,7 +611,7 @@ dependencies = [ [[package]] name = "backend" -version = "4.10.2" +version = "4.11.0-test.1" dependencies = [ "aes-kw", "anyhow", @@ -813,7 +813,7 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chirpstack" -version = "4.10.2" +version = "4.11.0-test.1" dependencies = [ "aes", "anyhow", @@ -907,7 +907,7 @@ dependencies = [ [[package]] name = "chirpstack_api" -version = "4.10.2" +version = "4.11.0-test.1" dependencies = [ "hex", "pbjson", @@ -924,7 +924,7 @@ dependencies = [ [[package]] name = "chirpstack_integration" -version = "4.10.2" +version = "4.11.0-test.1" dependencies = [ "anyhow", "async-trait", @@ -2668,7 +2668,7 @@ dependencies = [ [[package]] name = "lrwn" -version = "4.10.2" +version = "4.11.0-test.1" dependencies = [ "aes", "anyhow", @@ -2682,7 +2682,7 @@ dependencies = [ [[package]] name = "lrwn_filters" -version = "4.10.2" +version = "4.11.0-test.1" dependencies = [ "hex", "lrwn", diff --git a/api/go/integration/integration.pb.go b/api/go/integration/integration.pb.go index 1bad1c6e..f05d22db 100644 --- a/api/go/integration/integration.pb.go +++ b/api/go/integration/integration.pb.go @@ -425,6 +425,9 @@ type UplinkEvent struct { // the AppSKey and that the encryption / decryption of the payloads is // the responsibility of the end-application. JoinServerContext *common.JoinServerContext `protobuf:"bytes,15,opt,name=join_server_context,json=joinServerContext,proto3" json:"join_server_context,omitempty"` + // Region config ID. + // This contains the region config ID which reported the uplink. + RegionConfigId string `protobuf:"bytes,16,opt,name=region_config_id,json=regionConfigId,proto3" json:"region_config_id,omitempty"` } func (x *UplinkEvent) Reset() { @@ -562,6 +565,13 @@ func (x *UplinkEvent) GetJoinServerContext() *common.JoinServerContext { return nil } +func (x *UplinkEvent) GetRegionConfigId() string { + if x != nil { + return x.RegionConfigId + } + return "" +} + // JoinEvent is the message sent when a device joined the network. // Note: this event is sent at the first uplink after OTAA. type JoinEvent struct { @@ -584,6 +594,9 @@ type JoinEvent struct { // the AppSKey and that the encryption / decryption of the payloads is // the responsibility of the end-application. JoinServerContext *common.JoinServerContext `protobuf:"bytes,6,opt,name=join_server_context,json=joinServerContext,proto3" json:"join_server_context,omitempty"` + // Region config ID. + // This contains the region config ID which reported the uplink. + RegionConfigId string `protobuf:"bytes,7,opt,name=region_config_id,json=regionConfigId,proto3" json:"region_config_id,omitempty"` } func (x *JoinEvent) Reset() { @@ -658,6 +671,13 @@ func (x *JoinEvent) GetJoinServerContext() *common.JoinServerContext { return nil } +func (x *JoinEvent) GetRegionConfigId() string { + if x != nil { + return x.RegionConfigId + } + return "" +} + // AckEvent is the message sent when a confirmation on a confirmed downlink // has been received -or- when the downlink timed out. type AckEvent struct { @@ -1365,7 +1385,7 @@ var file_integration_integration_proto_rawDesc = []byte{ 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x6e, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x73, 0x73, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x73, 0x73, 0x69, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0xd3, 0x04, + 0x0d, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0xfd, 0x04, 0x0a, 0x0b, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, @@ -1403,7 +1423,33 @@ var file_integration_integration_proto_rawDesc = []byte{ 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x11, 0x6a, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x22, 0xca, 0x02, 0x0a, 0x09, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, + 0x65, 0x78, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x22, 0xf4, 0x02, + 0x0a, 0x09, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, + 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, + 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x19, 0x0a, 0x08, 0x64, 0x65, 0x76, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x76, 0x41, 0x64, 0x64, 0x72, 0x12, 0x42, 0x0a, 0x0d, 0x72, + 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x72, 0x78, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x78, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x49, 0x0a, 0x13, 0x6a, 0x6f, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x11, 0x6a, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x49, 0x64, 0x22, 0x85, 0x02, 0x0a, 0x08, 0x41, 0x63, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, @@ -1413,97 +1459,55 @@ var file_integration_integration_proto_rawDesc = []byte{ 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, - 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x65, 0x76, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x76, 0x41, 0x64, 0x64, - 0x72, 0x12, 0x42, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x72, 0x78, 0x5f, 0x69, 0x6e, - 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x6c, - 0x61, 0x79, 0x52, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x52, - 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x49, 0x0a, 0x13, 0x6a, 0x6f, 0x69, 0x6e, 0x5f, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x11, 0x6a, - 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x22, 0x85, 0x02, 0x0a, 0x08, 0x41, 0x63, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, - 0x10, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, - 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, - 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x75, 0x65, - 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x6e, 0x6f, 0x77, - 0x6c, 0x65, 0x64, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x63, - 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x66, 0x5f, - 0x63, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, - 0x66, 0x43, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x22, 0xa5, 0x02, 0x0a, 0x0a, 0x54, 0x78, 0x41, - 0x63, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, - 0x69, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x6f, - 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, - 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, - 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x75, 0x65, - 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x66, 0x5f, 0x63, 0x6e, 0x74, 0x5f, - 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x66, 0x43, 0x6e, 0x74, - 0x44, 0x6f, 0x77, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, - 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x77, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, - 0x6e, 0x6b, 0x54, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x74, 0x78, 0x49, 0x6e, 0x66, 0x6f, - 0x22, 0xe7, 0x02, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, - 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, - 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, - 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, - 0x65, 0x76, 0x65, 0x6c, 0x12, 0x28, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, - 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x3c, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x3a, - 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcf, 0x02, 0x0a, 0x0b, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, - 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x50, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x62, - 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x75, 0x6e, 0x61, - 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, - 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x6e, 0x61, 0x76, - 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x74, 0x74, 0x65, - 0x72, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, - 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0xd2, 0x01, 0x0a, - 0x0d, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, + 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, + 0x75, 0x65, 0x75, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x63, + 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0c, 0x61, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x64, 0x12, 0x1c, + 0x0a, 0x0a, 0x66, 0x5f, 0x63, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x66, 0x43, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x22, 0xa5, 0x02, 0x0a, + 0x0a, 0x54, 0x78, 0x41, 0x63, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x64, + 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, + 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, + 0x75, 0x65, 0x75, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x66, 0x5f, + 0x63, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x66, 0x43, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x77, 0x2e, 0x44, 0x6f, + 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x74, 0x78, + 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xe7, 0x02, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x05, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x69, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x28, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x1a, 0x3a, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcf, + 0x02, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, @@ -1513,70 +1517,92 @@ var file_integration_integration_proto_rawDesc = []byte{ 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0xa2, 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, - 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x10, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, - 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xb4, 0x01, 0x0a, 0x0f, 0x44, 0x6f, 0x77, 0x6e, 0x6c, - 0x69, 0x6e, 0x6b, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x65, - 0x76, 0x5f, 0x65, 0x75, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, - 0x45, 0x75, 0x69, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, - 0x64, 0x12, 0x15, 0x0a, 0x06, 0x66, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x66, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x06, - 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2a, 0x2c, 0x0a, - 0x08, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, - 0x4f, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, - 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x2a, 0xf7, 0x01, 0x0a, 0x07, - 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, - 0x57, 0x4e, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x49, 0x4e, 0x4b, - 0x5f, 0x50, 0x41, 0x59, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x01, 0x12, - 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x43, 0x10, - 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x43, 0x4f, - 0x44, 0x45, 0x43, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x54, 0x41, 0x41, 0x10, 0x04, 0x12, - 0x16, 0x0a, 0x12, 0x55, 0x50, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x46, 0x5f, 0x43, 0x4e, 0x54, 0x5f, - 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x50, 0x4c, 0x49, 0x4e, - 0x4b, 0x5f, 0x4d, 0x49, 0x43, 0x10, 0x06, 0x12, 0x1f, 0x0a, 0x1b, 0x55, 0x50, 0x4c, 0x49, 0x4e, - 0x4b, 0x5f, 0x46, 0x5f, 0x43, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x4d, - 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x4f, 0x57, 0x4e, - 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x47, 0x41, 0x54, 0x45, 0x57, 0x41, 0x59, 0x10, 0x08, 0x12, 0x18, - 0x0a, 0x14, 0x52, 0x45, 0x4c, 0x41, 0x59, 0x5f, 0x4e, 0x45, 0x57, 0x5f, 0x45, 0x4e, 0x44, 0x5f, - 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x5f, 0x43, 0x4e, - 0x54, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x50, 0x49, - 0x52, 0x45, 0x44, 0x10, 0x0b, 0x42, 0xbf, 0x01, 0x0a, 0x1d, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, - 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x72, 0x6f, 0x63, 0x61, 0x61, 0x72, 0x2f, - 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, - 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0xaa, 0x02, 0x16, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x49, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x16, 0x43, 0x68, 0x69, 0x72, - 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0xe2, 0x02, 0x22, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x3a, 0x0a, 0x19, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x5f, 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x17, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, + 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x02, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x22, 0xd2, 0x01, 0x0a, 0x0d, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, + 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, + 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa2, 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, + 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xb4, 0x01, 0x0a, 0x0f, 0x44, + 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x65, 0x76, 0x5f, 0x65, 0x75, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x65, 0x76, 0x45, 0x75, 0x69, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x72, 0x6d, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x72, 0x6d, 0x65, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x66, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x2f, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x2a, 0x2c, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x08, 0x0a, + 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, + 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x2a, + 0xf7, 0x01, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, + 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x4f, 0x57, 0x4e, + 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x50, 0x41, 0x59, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x53, 0x49, 0x5a, + 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x43, 0x4f, + 0x44, 0x45, 0x43, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x49, 0x4e, + 0x4b, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x43, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x54, 0x41, + 0x41, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x50, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x46, 0x5f, + 0x43, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x55, + 0x50, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x4d, 0x49, 0x43, 0x10, 0x06, 0x12, 0x1f, 0x0a, 0x1b, 0x55, + 0x50, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x46, 0x5f, 0x43, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x54, 0x52, + 0x41, 0x4e, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, + 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x47, 0x41, 0x54, 0x45, 0x57, 0x41, 0x59, + 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x4c, 0x41, 0x59, 0x5f, 0x4e, 0x45, 0x57, 0x5f, + 0x45, 0x4e, 0x44, 0x5f, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, + 0x46, 0x5f, 0x43, 0x4e, 0x54, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07, + 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0b, 0x42, 0xbf, 0x01, 0x0a, 0x1d, 0x69, 0x6f, + 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x10, 0x49, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x72, 0x6f, 0x63, + 0x61, 0x61, 0x72, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x16, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, + 0x6b, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x16, + 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x49, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x22, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, + 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( diff --git a/api/grpc-web/package.json b/api/grpc-web/package.json index dec38fc3..5741f574 100644 --- a/api/grpc-web/package.json +++ b/api/grpc-web/package.json @@ -1,6 +1,6 @@ { "name": "@chirpstack/chirpstack-api-grpc-web", - "version": "4.10.2", + "version": "4.11.0-test.1", "description": "Chirpstack gRPC-web API", "license": "MIT", "devDependencies": { diff --git a/api/java/build.gradle.kts b/api/java/build.gradle.kts index 4a9c096c..043516e8 100644 --- a/api/java/build.gradle.kts +++ b/api/java/build.gradle.kts @@ -8,7 +8,7 @@ plugins { } group = "io.chirpstack" -version = "4.10.2" +version = "4.11.0-test.1" repositories { mavenCentral() diff --git a/api/js/package.json b/api/js/package.json index 545c26e9..188f25d4 100644 --- a/api/js/package.json +++ b/api/js/package.json @@ -1,6 +1,6 @@ { "name": "@chirpstack/chirpstack-api", - "version": "4.10.2", + "version": "4.11.0-test.1", "description": "Chirpstack JS and TS API", "license": "MIT", "devDependencies": { diff --git a/api/kotlin/build.gradle.kts b/api/kotlin/build.gradle.kts index 1bc05801..a8638de7 100644 --- a/api/kotlin/build.gradle.kts +++ b/api/kotlin/build.gradle.kts @@ -9,7 +9,7 @@ plugins { } group = "io.chirpstack" -version = "4.10.2" +version = "4.11.0-test.1" repositories { mavenCentral() diff --git a/api/php/composer.json b/api/php/composer.json index 90e8d78b..9d8d181f 100644 --- a/api/php/composer.json +++ b/api/php/composer.json @@ -3,7 +3,7 @@ "description": "Chirpstack PHP API", "license": "MIT", "type": "library", - "version": "4.10.2", + "version": "4.11.0-test.1", "require": { "php": ">=7.0.0", "grpc/grpc": "^v1.57.0", diff --git a/api/python/src/setup.py b/api/python/src/setup.py index 4ec6b584..cdc4bd62 100644 --- a/api/python/src/setup.py +++ b/api/python/src/setup.py @@ -18,7 +18,7 @@ CLASSIFIERS = [ setup( name='chirpstack-api', - version = "4.10.2", + version = "4.11.0-test.1", url='https://github.com/brocaar/chirpstack-api', author='Orne Brocaar', author_email='info@brocaar.com', diff --git a/api/rust/Cargo.toml b/api/rust/Cargo.toml index 5a3da94c..28312e2f 100644 --- a/api/rust/Cargo.toml +++ b/api/rust/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "chirpstack_api" description = "ChirpStack Protobuf / gRPC API definitions." - version = "4.10.2" + version = "4.11.0-test.1" authors = ["Orne Brocaar "] license = "MIT" homepage = "https://www.chirpstack.io" diff --git a/backend/Cargo.toml b/backend/Cargo.toml index dda7793a..c83f23c4 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "backend" - version = "4.10.2" + version = "4.11.0-test.1" authors = ["Orne Brocaar "] edition = "2018" publish = false diff --git a/chirpstack-integration/Cargo.toml b/chirpstack-integration/Cargo.toml index 4a74961e..689e385f 100644 --- a/chirpstack-integration/Cargo.toml +++ b/chirpstack-integration/Cargo.toml @@ -3,13 +3,13 @@ description = "Library for building external ChirpStack integrations" homepage = "https://www.chirpstack.io/" license = "MIT" - version = "4.10.2" + version = "4.11.0-test.1" authors = ["Orne Brocaar "] edition = "2021" repository = "https://github.com/chirpstack/chirpstack" [dependencies] - chirpstack_api = { path = "../api/rust", version = "4.10.2" } + chirpstack_api = { path = "../api/rust", version = "4.11.0-test.1" } redis = { version = "0.27", features = [ "cluster-async", "tokio-rustls-comp", diff --git a/chirpstack/Cargo.toml b/chirpstack/Cargo.toml index 2fb21466..a1482a51 100644 --- a/chirpstack/Cargo.toml +++ b/chirpstack/Cargo.toml @@ -3,7 +3,7 @@ description = "ChirpStack is an open-source LoRaWAN(TM) Network Server" repository = "https://github.com/chirpstack/chirpstack" homepage = "https://www.chirpstack.io/" - version = "4.10.2" + version = "4.11.0-test.1" authors = ["Orne Brocaar "] edition = "2021" publish = false diff --git a/lrwn-filters/Cargo.toml b/lrwn-filters/Cargo.toml index cc8c2e5a..92af327c 100644 --- a/lrwn-filters/Cargo.toml +++ b/lrwn-filters/Cargo.toml @@ -3,7 +3,7 @@ description = "Library for filtering LoRaWAN payloads on DevAddr and JoinEUIs prefixes" homepage = "https://www.chirpstack.io/" license = "MIT" - version = "4.10.2" + version = "4.11.0-test.1" authors = ["Orne Brocaar "] edition = "2021" repository = "https://github.com/chirpstack/chirpstack" diff --git a/lrwn/Cargo.toml b/lrwn/Cargo.toml index a267e0e3..b1984730 100644 --- a/lrwn/Cargo.toml +++ b/lrwn/Cargo.toml @@ -3,7 +3,7 @@ description = "Library for encoding / decoding LoRaWAN frames." homepage = "https://www.chirpstack.io" license = "MIT" - version = "4.10.2" + version = "4.11.0-test.1" authors = ["Orne Brocaar "] edition = "2018" repository = "https://github.com/chirpstack/chirpstack" diff --git a/ui/package.json b/ui/package.json index 7fb5d7ff..4d57f439 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "chirpstack-ui", - "version": "4.10.2", + "version": "4.11.0-test.1", "private": true, "type": "module", "scripts": {