mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-15 15:49:15 +00:00
Compare commits
18 Commits
v4.8.0-tes
...
v4.9.0-tes
Author | SHA1 | Date | |
---|---|---|---|
68473906c9 | |||
3f1a47e1e2 | |||
c0b148fecb | |||
6b9f7a9ea1 | |||
3b95a413a6 | |||
38d544a5f7 | |||
880b319bfd | |||
a0abd4a4bb | |||
52a08acf81 | |||
04ffcf88a1 | |||
c7f1367bf8 | |||
ae31e4d85f | |||
4968f5d792 | |||
36bbf8f153 | |||
c3de89a4a4 | |||
73ad79a356 | |||
a65ac0077e | |||
370b84cb09 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@
|
||||
!/chirpstack/.rpm
|
||||
!/.cargo
|
||||
!/.env
|
||||
!.npmignore
|
||||
|
||||
# Log files
|
||||
*.log
|
||||
|
844
Cargo.lock
generated
844
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
15
Makefile
15
Makefile
@ -8,25 +8,26 @@ dist:
|
||||
# Install dev dependencies
|
||||
dev-dependencies:
|
||||
cargo install cross --version 0.2.5
|
||||
cargo install diesel_cli --version 2.1.1 --no-default-features --features postgres
|
||||
cargo install diesel_cli --version 2.2.1 --no-default-features --features postgres
|
||||
cargo install cargo-deb --version 1.43.1
|
||||
cargo install cargo-generate-rpm --version 0.12.1
|
||||
|
||||
# Set the versions
|
||||
version:
|
||||
test -n "$(VERSION)"
|
||||
sed -i 's/^version.*/version = "$(VERSION)"/g' ./chirpstack/Cargo.toml
|
||||
sed -i 's/^version.*/version = "$(VERSION)"/g' ./backend/Cargo.toml
|
||||
sed -i 's/^version.*/version = "$(VERSION)"/g' ./lrwn/Cargo.toml
|
||||
sed -i 's/^version.*/version = "$(VERSION)"/g' ./lrwn-filters/Cargo.toml
|
||||
sed -i 's/^version.*/version = "$(VERSION)"/g' ./chirpstack-integration/Cargo.toml
|
||||
sed -i 's/^ version.*/ version = "$(VERSION)"/g' ./chirpstack/Cargo.toml
|
||||
sed -i 's/^ version.*/ version = "$(VERSION)"/g' ./backend/Cargo.toml
|
||||
sed -i 's/^ version.*/ version = "$(VERSION)"/g' ./lrwn/Cargo.toml
|
||||
sed -i 's/^ version.*/ version = "$(VERSION)"/g' ./lrwn-filters/Cargo.toml
|
||||
sed -i 's/^ version.*/ version = "$(VERSION)"/g' ./chirpstack-integration/Cargo.toml
|
||||
sed -i 's/"version.*/"version": "$(VERSION)",/g' ./ui/package.json
|
||||
sed -i 's/"version.*/"version": "$(VERSION)",/g' ./api/grpc-web/package.json
|
||||
sed -i 's/"version.*/"version": "$(VERSION)",/g' ./api/js/package.json
|
||||
sed -i 's/version.*/version = "$(VERSION)",/g' ./api/python/src/setup.py
|
||||
sed -i 's/^version.*/version = "$(VERSION)"/g' ./api/rust/Cargo.toml
|
||||
sed -i 's/^ version.*/ version = "$(VERSION)"/g' ./api/rust/Cargo.toml
|
||||
sed -i 's/^version.*/version = "$(VERSION)"/g' ./api/java/build.gradle.kts
|
||||
sed -i 's/^version.*/version = "$(VERSION)"/g' ./api/kotlin/build.gradle.kts
|
||||
sed -i 's/"version.*/"version": "$(VERSION)",/g' ./api/php/composer.json
|
||||
|
||||
cd api && make
|
||||
make build-ui
|
||||
|
9
api/Dockerfile-php
vendored
Normal file
9
api/Dockerfile-php
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
FROM php:8.1-bookworm
|
||||
|
||||
RUN apt update -y
|
||||
RUN apt install -y make protobuf-compiler protobuf-compiler-grpc
|
||||
|
||||
ENV PROJECT_PATH=/chirpstack/api
|
||||
|
||||
RUN mkdir -p PROJECT_PATH
|
||||
WORKDIR $PROJECT_PATH
|
7
api/Makefile
vendored
7
api/Makefile
vendored
@ -1,6 +1,6 @@
|
||||
.PHONY: rust grpc-web go js python md java kotlin csharp
|
||||
.PHONY: rust grpc-web go js python md java kotlin csharp php
|
||||
|
||||
all: rust grpc-web go js python md java kotlin csharp
|
||||
all: rust grpc-web go js python md java kotlin csharp php
|
||||
|
||||
rust:
|
||||
cd rust && make
|
||||
@ -28,3 +28,6 @@ kotlin:
|
||||
|
||||
csharp:
|
||||
docker compose run --rm chirpstack-csharp
|
||||
|
||||
php:
|
||||
docker compose run --rm chirpstack-api-php
|
7
api/docker-compose.yml
vendored
7
api/docker-compose.yml
vendored
@ -42,3 +42,10 @@ services:
|
||||
command: bash -c "cd csharp && make all"
|
||||
volumes:
|
||||
- ./:/chirpstack/api
|
||||
chirpstack-api-php:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile-php
|
||||
command: bash -c "cd php && make all"
|
||||
volumes:
|
||||
- ./:/chirpstack/api
|
||||
|
21
api/go/api/application.pb.go
vendored
21
api/go/api/application.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/application.proto
|
||||
|
||||
@ -5622,14 +5622,17 @@ var file_api_application_proto_rawDesc = []byte{
|
||||
0x73, 0x2f, 0x7b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
|
||||
0x64, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
|
||||
0x6d, 0x71, 0x74, 0x74, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65,
|
||||
0x42, 0x68, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63,
|
||||
0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x10, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75,
|
||||
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b,
|
||||
0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
||||
0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
0x42, 0x96, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61,
|
||||
0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x10, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68,
|
||||
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63,
|
||||
0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69,
|
||||
0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0xca, 0x02, 0x0e, 0x43, 0x68,
|
||||
0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0xe2, 0x02, 0x1a, 0x47,
|
||||
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
19
api/go/api/device.pb.go
vendored
19
api/go/api/device.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/device.proto
|
||||
|
||||
@ -2888,13 +2888,16 @@ var file_api_device_proto_rawDesc = []byte{
|
||||
0xe4, 0x93, 0x02, 0x2f, 0x3a, 0x01, 0x2a, 0x22, 0x2a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x65,
|
||||
0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x76, 0x5f, 0x65, 0x75, 0x69, 0x7d, 0x2f,
|
||||
0x67, 0x65, 0x74, 0x2d, 0x6e, 0x65, 0x78, 0x74, 0x2d, 0x66, 0x2d, 0x63, 0x6e, 0x74, 0x2d, 0x64,
|
||||
0x6f, 0x77, 0x6e, 0x42, 0x63, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
|
||||
0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x6f, 0x77, 0x6e, 0x42, 0x91, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0b, 0x44, 0x65, 0x76, 0x69, 0x63,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
|
||||
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f,
|
||||
0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67,
|
||||
0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0xca, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0xe2, 0x02, 0x1a, 0x47, 0x50, 0x42,
|
||||
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
21
api/go/api/device_profile.pb.go
vendored
21
api/go/api/device_profile.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/device_profile.proto
|
||||
|
||||
@ -2054,14 +2054,17 @@ var file_api_device_profile_proto_rawDesc = []byte{
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f,
|
||||
0x61, 0x70, 0x69, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x73, 0x2f, 0x61, 0x64, 0x72, 0x2d, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68,
|
||||
0x6d, 0x73, 0x42, 0x6a, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x12, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67,
|
||||
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f,
|
||||
0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e,
|
||||
0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0x62, 0x06,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x6d, 0x73, 0x42, 0x98, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x12, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e,
|
||||
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b,
|
||||
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02,
|
||||
0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0xca,
|
||||
0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69,
|
||||
0xe2, 0x02, 0x1a, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
21
api/go/api/device_profile_template.pb.go
vendored
21
api/go/api/device_profile_template.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/device_profile_template.proto
|
||||
|
||||
@ -1088,14 +1088,17 @@ var file_api_device_profile_template_proto_rawDesc = []byte{
|
||||
0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82,
|
||||
0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x65, 0x76, 0x69,
|
||||
0x63, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x74, 0x65, 0x6d, 0x70, 0x6c,
|
||||
0x61, 0x74, 0x65, 0x73, 0x42, 0x72, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x1a, 0x44, 0x65, 0x76, 0x69, 0x63,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
|
||||
0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x61, 0x74, 0x65, 0x73, 0x42, 0xa0, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x1a, 0x44, 0x65, 0x76, 0x69,
|
||||
0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
|
||||
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f,
|
||||
0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67,
|
||||
0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0xca, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0xe2, 0x02, 0x1a, 0x47, 0x50, 0x42,
|
||||
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
1074
api/go/api/gateway.pb.go
vendored
1074
api/go/api/gateway.pb.go
vendored
File diff suppressed because it is too large
Load Diff
156
api/go/api/gateway_grpc.pb.go
vendored
156
api/go/api/gateway_grpc.pb.go
vendored
@ -28,6 +28,10 @@ const (
|
||||
GatewayService_GenerateClientCertificate_FullMethodName = "/api.GatewayService/GenerateClientCertificate"
|
||||
GatewayService_GetMetrics_FullMethodName = "/api.GatewayService/GetMetrics"
|
||||
GatewayService_GetDutyCycleMetrics_FullMethodName = "/api.GatewayService/GetDutyCycleMetrics"
|
||||
GatewayService_GetRelayGateway_FullMethodName = "/api.GatewayService/GetRelayGateway"
|
||||
GatewayService_ListRelayGateways_FullMethodName = "/api.GatewayService/ListRelayGateways"
|
||||
GatewayService_UpdateRelayGateway_FullMethodName = "/api.GatewayService/UpdateRelayGateway"
|
||||
GatewayService_DeleteRelayGateway_FullMethodName = "/api.GatewayService/DeleteRelayGateway"
|
||||
)
|
||||
|
||||
// GatewayServiceClient is the client API for GatewayService service.
|
||||
@ -51,6 +55,14 @@ type GatewayServiceClient interface {
|
||||
// GetDutyCycleMetrics returns the duty-cycle metrics.
|
||||
// Note that only the last 2 hours of data are stored. Currently only per minute aggregation is available.
|
||||
GetDutyCycleMetrics(ctx context.Context, in *GetGatewayDutyCycleMetricsRequest, opts ...grpc.CallOption) (*GetGatewayDutyCycleMetricsResponse, error)
|
||||
// Get the given Relay Gateway.
|
||||
GetRelayGateway(ctx context.Context, in *GetRelayGatewayRequest, opts ...grpc.CallOption) (*GetRelayGatewayResponse, error)
|
||||
// List the detected Relay Gateways.
|
||||
ListRelayGateways(ctx context.Context, in *ListRelayGatewaysRequest, opts ...grpc.CallOption) (*ListRelayGatewaysResponse, error)
|
||||
// Update the given Relay Gateway.
|
||||
UpdateRelayGateway(ctx context.Context, in *UpdateRelayGatewayRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||
// Delete the given Relay Gateway.
|
||||
DeleteRelayGateway(ctx context.Context, in *DeleteRelayGatewayRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||
}
|
||||
|
||||
type gatewayServiceClient struct {
|
||||
@ -133,6 +145,42 @@ func (c *gatewayServiceClient) GetDutyCycleMetrics(ctx context.Context, in *GetG
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *gatewayServiceClient) GetRelayGateway(ctx context.Context, in *GetRelayGatewayRequest, opts ...grpc.CallOption) (*GetRelayGatewayResponse, error) {
|
||||
out := new(GetRelayGatewayResponse)
|
||||
err := c.cc.Invoke(ctx, GatewayService_GetRelayGateway_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *gatewayServiceClient) ListRelayGateways(ctx context.Context, in *ListRelayGatewaysRequest, opts ...grpc.CallOption) (*ListRelayGatewaysResponse, error) {
|
||||
out := new(ListRelayGatewaysResponse)
|
||||
err := c.cc.Invoke(ctx, GatewayService_ListRelayGateways_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *gatewayServiceClient) UpdateRelayGateway(ctx context.Context, in *UpdateRelayGatewayRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
||||
out := new(emptypb.Empty)
|
||||
err := c.cc.Invoke(ctx, GatewayService_UpdateRelayGateway_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *gatewayServiceClient) DeleteRelayGateway(ctx context.Context, in *DeleteRelayGatewayRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
||||
out := new(emptypb.Empty)
|
||||
err := c.cc.Invoke(ctx, GatewayService_DeleteRelayGateway_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// GatewayServiceServer is the server API for GatewayService service.
|
||||
// All implementations must embed UnimplementedGatewayServiceServer
|
||||
// for forward compatibility
|
||||
@ -154,6 +202,14 @@ type GatewayServiceServer interface {
|
||||
// GetDutyCycleMetrics returns the duty-cycle metrics.
|
||||
// Note that only the last 2 hours of data are stored. Currently only per minute aggregation is available.
|
||||
GetDutyCycleMetrics(context.Context, *GetGatewayDutyCycleMetricsRequest) (*GetGatewayDutyCycleMetricsResponse, error)
|
||||
// Get the given Relay Gateway.
|
||||
GetRelayGateway(context.Context, *GetRelayGatewayRequest) (*GetRelayGatewayResponse, error)
|
||||
// List the detected Relay Gateways.
|
||||
ListRelayGateways(context.Context, *ListRelayGatewaysRequest) (*ListRelayGatewaysResponse, error)
|
||||
// Update the given Relay Gateway.
|
||||
UpdateRelayGateway(context.Context, *UpdateRelayGatewayRequest) (*emptypb.Empty, error)
|
||||
// Delete the given Relay Gateway.
|
||||
DeleteRelayGateway(context.Context, *DeleteRelayGatewayRequest) (*emptypb.Empty, error)
|
||||
mustEmbedUnimplementedGatewayServiceServer()
|
||||
}
|
||||
|
||||
@ -185,6 +241,18 @@ func (UnimplementedGatewayServiceServer) GetMetrics(context.Context, *GetGateway
|
||||
func (UnimplementedGatewayServiceServer) GetDutyCycleMetrics(context.Context, *GetGatewayDutyCycleMetricsRequest) (*GetGatewayDutyCycleMetricsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetDutyCycleMetrics not implemented")
|
||||
}
|
||||
func (UnimplementedGatewayServiceServer) GetRelayGateway(context.Context, *GetRelayGatewayRequest) (*GetRelayGatewayResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetRelayGateway not implemented")
|
||||
}
|
||||
func (UnimplementedGatewayServiceServer) ListRelayGateways(context.Context, *ListRelayGatewaysRequest) (*ListRelayGatewaysResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListRelayGateways not implemented")
|
||||
}
|
||||
func (UnimplementedGatewayServiceServer) UpdateRelayGateway(context.Context, *UpdateRelayGatewayRequest) (*emptypb.Empty, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateRelayGateway not implemented")
|
||||
}
|
||||
func (UnimplementedGatewayServiceServer) DeleteRelayGateway(context.Context, *DeleteRelayGatewayRequest) (*emptypb.Empty, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteRelayGateway not implemented")
|
||||
}
|
||||
func (UnimplementedGatewayServiceServer) mustEmbedUnimplementedGatewayServiceServer() {}
|
||||
|
||||
// UnsafeGatewayServiceServer may be embedded to opt out of forward compatibility for this service.
|
||||
@ -342,6 +410,78 @@ func _GatewayService_GetDutyCycleMetrics_Handler(srv interface{}, ctx context.Co
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _GatewayService_GetRelayGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetRelayGatewayRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(GatewayServiceServer).GetRelayGateway(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: GatewayService_GetRelayGateway_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(GatewayServiceServer).GetRelayGateway(ctx, req.(*GetRelayGatewayRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _GatewayService_ListRelayGateways_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListRelayGatewaysRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(GatewayServiceServer).ListRelayGateways(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: GatewayService_ListRelayGateways_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(GatewayServiceServer).ListRelayGateways(ctx, req.(*ListRelayGatewaysRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _GatewayService_UpdateRelayGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateRelayGatewayRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(GatewayServiceServer).UpdateRelayGateway(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: GatewayService_UpdateRelayGateway_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(GatewayServiceServer).UpdateRelayGateway(ctx, req.(*UpdateRelayGatewayRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _GatewayService_DeleteRelayGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteRelayGatewayRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(GatewayServiceServer).DeleteRelayGateway(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: GatewayService_DeleteRelayGateway_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(GatewayServiceServer).DeleteRelayGateway(ctx, req.(*DeleteRelayGatewayRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// GatewayService_ServiceDesc is the grpc.ServiceDesc for GatewayService service.
|
||||
// It's only intended for direct use with grpc.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
@ -381,6 +521,22 @@ var GatewayService_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "GetDutyCycleMetrics",
|
||||
Handler: _GatewayService_GetDutyCycleMetrics_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetRelayGateway",
|
||||
Handler: _GatewayService_GetRelayGateway_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListRelayGateways",
|
||||
Handler: _GatewayService_ListRelayGateways_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateRelayGateway",
|
||||
Handler: _GatewayService_UpdateRelayGateway_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteRelayGateway",
|
||||
Handler: _GatewayService_DeleteRelayGateway_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "api/gateway.proto",
|
||||
|
19
api/go/api/internal.pb.go
vendored
19
api/go/api/internal.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/internal.proto
|
||||
|
||||
@ -2530,13 +2530,16 @@ var file_api_internal_proto_rawDesc = []byte{
|
||||
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
||||
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74,
|
||||
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
||||
0x00, 0x42, 0x65, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61,
|
||||
0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
|
||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
|
||||
0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x00, 0x42, 0x93, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61,
|
||||
0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
|
||||
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f,
|
||||
0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67,
|
||||
0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0xca, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0xe2, 0x02, 0x1a, 0x47, 0x50, 0x42,
|
||||
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
21
api/go/api/multicast_group.pb.go
vendored
21
api/go/api/multicast_group.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/multicast_group.proto
|
||||
|
||||
@ -1654,14 +1654,17 @@ var file_api_multicast_group_proto_rawDesc = []byte{
|
||||
0x32, 0x12, 0x30, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x61, 0x73,
|
||||
0x74, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63,
|
||||
0x61, 0x73, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x71, 0x75,
|
||||
0x65, 0x75, 0x65, 0x42, 0x6b, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x13, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x63,
|
||||
0x61, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
|
||||
0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63,
|
||||
0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa,
|
||||
0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x65, 0x75, 0x65, 0x42, 0x99, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x13, 0x4d, 0x75, 0x6c, 0x74, 0x69,
|
||||
0x63, 0x61, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
|
||||
0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61,
|
||||
0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69,
|
||||
0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70,
|
||||
0x69, 0xca, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41,
|
||||
0x70, 0x69, 0xe2, 0x02, 0x1a, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
||||
0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
21
api/go/api/relay.pb.go
vendored
21
api/go/api/relay.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/relay.proto
|
||||
|
||||
@ -595,14 +595,17 @@ var file_api_relay_proto_rawDesc = []byte{
|
||||
0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4,
|
||||
0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73,
|
||||
0x2f, 0x7b, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x64, 0x65, 0x76, 0x5f, 0x65, 0x75, 0x69, 0x7d,
|
||||
0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x62, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0a, 0x52,
|
||||
0x65, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74,
|
||||
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61,
|
||||
0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70,
|
||||
0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68,
|
||||
0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x90, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e,
|
||||
0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0a,
|
||||
0x52, 0x65, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69,
|
||||
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61,
|
||||
0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0xca, 0x02, 0x0e,
|
||||
0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0xe2, 0x02,
|
||||
0x1a, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
20
api/go/api/tenant.pb.go
vendored
20
api/go/api/tenant.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/tenant.proto
|
||||
|
||||
@ -1565,14 +1565,16 @@ var file_api_tenant_proto_rawDesc = []byte{
|
||||
0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3,
|
||||
0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x65, 0x6e, 0x61, 0x6e,
|
||||
0x74, 0x73, 0x2f, 0x7b, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x75,
|
||||
0x73, 0x65, 0x72, 0x73, 0x42, 0x63, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0b, 0x54, 0x65, 0x6e, 0x61, 0x6e,
|
||||
0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
|
||||
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f,
|
||||
0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67,
|
||||
0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
0x73, 0x65, 0x72, 0x73, 0x42, 0x91, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0b, 0x54, 0x65, 0x6e, 0x61,
|
||||
0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75,
|
||||
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b,
|
||||
0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
||||
0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69, 0xca, 0x02, 0x0e, 0x43, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0xe2, 0x02, 0x1a, 0x47, 0x50,
|
||||
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
21
api/go/api/user.pb.go
vendored
21
api/go/api/user.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: api/user.proto
|
||||
|
||||
@ -891,14 +891,17 @@ var file_api_user_proto_rawDesc = []byte{
|
||||
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
|
||||
0x70, 0x74, 0x79, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d,
|
||||
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72,
|
||||
0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x42, 0x61, 0x0a,
|
||||
0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61,
|
||||
0x70, 0x69, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
|
||||
0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63,
|
||||
0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69, 0xaa,
|
||||
0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70, 0x69,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x42, 0x8f, 0x01,
|
||||
0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e,
|
||||
0x61, 0x70, 0x69, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
|
||||
0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61,
|
||||
0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x69,
|
||||
0xaa, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x41, 0x70,
|
||||
0x69, 0xca, 0x02, 0x0e, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41,
|
||||
0x70, 0x69, 0xe2, 0x02, 0x1a, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
||||
0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x41, 0x70, 0x69, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
21
api/go/common/common.pb.go
vendored
21
api/go/common/common.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: common/common.proto
|
||||
|
||||
@ -1076,14 +1076,17 @@ var file_common_common_proto_rawDesc = []byte{
|
||||
0x01, 0x2a, 0x34, 0x0a, 0x0b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73,
|
||||
0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x41, 0x10, 0x00, 0x12, 0x0b, 0x0a,
|
||||
0x07, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x42, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c,
|
||||
0x41, 0x53, 0x53, 0x5f, 0x43, 0x10, 0x02, 0x42, 0x69, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63, 0x68,
|
||||
0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0b, 0x43, 0x6f,
|
||||
0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74,
|
||||
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61,
|
||||
0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70,
|
||||
0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xaa, 0x02,
|
||||
0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
|
||||
0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x41, 0x53, 0x53, 0x5f, 0x43, 0x10, 0x02, 0x42, 0x9d, 0x01, 0x0a, 0x11, 0x69, 0x6f, 0x2e, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0b, 0x43,
|
||||
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69,
|
||||
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61,
|
||||
0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xaa,
|
||||
0x02, 0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x43, 0x6f, 0x6d,
|
||||
0x6d, 0x6f, 0x6e, 0xca, 0x02, 0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b,
|
||||
0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xe2, 0x02, 0x1d, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
|
||||
0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b,
|
||||
0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
374
api/go/gw/gw.pb.go
vendored
374
api/go/gw/gw.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: gw/gw.proto
|
||||
|
||||
@ -3548,6 +3548,148 @@ func (x *ConnState) GetState() ConnState_State {
|
||||
return ConnState_OFFLINE
|
||||
}
|
||||
|
||||
// Gateway Mesh heartbeat (sent periodically by the Relay Gateways).
|
||||
type MeshHeartbeat struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Gateway ID (of the Border Gateway).
|
||||
GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
|
||||
// Relay ID.
|
||||
RelayId string `protobuf:"bytes,2,opt,name=relay_id,json=relayId,proto3" json:"relay_id,omitempty"`
|
||||
// Timestamp (second precision).
|
||||
Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
|
||||
// Relay path.
|
||||
RelayPath []*MeshHeartbeatRelayPath `protobuf:"bytes,4,rep,name=relay_path,json=relayPath,proto3" json:"relay_path,omitempty"`
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeat) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MeshHeartbeat) ProtoMessage() {}
|
||||
|
||||
func (x *MeshHeartbeat) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_gw_gw_proto_msgTypes[35]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MeshHeartbeat.ProtoReflect.Descriptor instead.
|
||||
func (*MeshHeartbeat) Descriptor() ([]byte, []int) {
|
||||
return file_gw_gw_proto_rawDescGZIP(), []int{35}
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeat) GetGatewayId() string {
|
||||
if x != nil {
|
||||
return x.GatewayId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeat) GetRelayId() string {
|
||||
if x != nil {
|
||||
return x.RelayId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeat) GetTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.Time
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeat) GetRelayPath() []*MeshHeartbeatRelayPath {
|
||||
if x != nil {
|
||||
return x.RelayPath
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MeshHeartbeatRelayPath struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Relay ID.
|
||||
RelayId string `protobuf:"bytes,1,opt,name=relay_id,json=relayId,proto3" json:"relay_id,omitempty"`
|
||||
// RSSI.
|
||||
Rssi int32 `protobuf:"varint,2,opt,name=rssi,proto3" json:"rssi,omitempty"`
|
||||
// SNR.
|
||||
Snr int32 `protobuf:"varint,3,opt,name=snr,proto3" json:"snr,omitempty"`
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeatRelayPath) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MeshHeartbeatRelayPath) ProtoMessage() {}
|
||||
|
||||
func (x *MeshHeartbeatRelayPath) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_gw_gw_proto_msgTypes[36]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MeshHeartbeatRelayPath.ProtoReflect.Descriptor instead.
|
||||
func (*MeshHeartbeatRelayPath) Descriptor() ([]byte, []int) {
|
||||
return file_gw_gw_proto_rawDescGZIP(), []int{36}
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeatRelayPath) GetRelayId() string {
|
||||
if x != nil {
|
||||
return x.RelayId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeatRelayPath) GetRssi() int32 {
|
||||
if x != nil {
|
||||
return x.Rssi
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MeshHeartbeatRelayPath) GetSnr() int32 {
|
||||
if x != nil {
|
||||
return x.Snr
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_gw_gw_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_gw_gw_proto_rawDesc = []byte{
|
||||
@ -4116,50 +4258,70 @@ var file_gw_gw_proto_rawDesc = []byte{
|
||||
0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74,
|
||||
0x61, 0x74, 0x65, 0x22, 0x20, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07,
|
||||
0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c,
|
||||
0x49, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0xb5, 0x01, 0x0a, 0x08, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x61,
|
||||
0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x52, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e,
|
||||
0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x35, 0x10, 0x01,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x36, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x43, 0x52, 0x5f, 0x34, 0x5f, 0x37, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34,
|
||||
0x5f, 0x38, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x33, 0x5f, 0x38, 0x10, 0x05,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x32, 0x5f, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x43, 0x52, 0x5f, 0x31, 0x5f, 0x34, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31,
|
||||
0x5f, 0x36, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x35, 0x5f, 0x36, 0x10, 0x09,
|
||||
0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c, 0x49, 0x5f, 0x34, 0x5f, 0x35, 0x10, 0x0a, 0x12,
|
||||
0x0d, 0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c, 0x49, 0x5f, 0x34, 0x5f, 0x36, 0x10, 0x0b, 0x12, 0x0d,
|
||||
0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c, 0x49, 0x5f, 0x34, 0x5f, 0x38, 0x10, 0x0c, 0x2a, 0x3b, 0x0a,
|
||||
0x0e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12,
|
||||
0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x4c, 0x59, 0x10, 0x00,
|
||||
0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x4c, 0x41, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x47,
|
||||
0x50, 0x53, 0x5f, 0x45, 0x50, 0x4f, 0x43, 0x48, 0x10, 0x02, 0x2a, 0x37, 0x0a, 0x11, 0x46, 0x69,
|
||||
0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12,
|
||||
0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4e, 0x43,
|
||||
0x52, 0x59, 0x50, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x4c, 0x41, 0x49,
|
||||
0x4e, 0x10, 0x02, 0x2a, 0x30, 0x0a, 0x09, 0x43, 0x52, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x5f, 0x43, 0x52, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
|
||||
0x42, 0x41, 0x44, 0x5f, 0x43, 0x52, 0x43, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x43,
|
||||
0x5f, 0x4f, 0x4b, 0x10, 0x02, 0x2a, 0xd5, 0x01, 0x0a, 0x0b, 0x54, 0x78, 0x41, 0x63, 0x6b, 0x53,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x44,
|
||||
0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x4f,
|
||||
0x4f, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f, 0x4f, 0x5f,
|
||||
0x45, 0x41, 0x52, 0x4c, 0x59, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49,
|
||||
0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a,
|
||||
0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x42, 0x45, 0x41, 0x43, 0x4f,
|
||||
0x4e, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x58, 0x5f, 0x46, 0x52, 0x45, 0x51, 0x10, 0x06,
|
||||
0x12, 0x0c, 0x0a, 0x08, 0x54, 0x58, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x07, 0x12, 0x10,
|
||||
0x0a, 0x0c, 0x47, 0x50, 0x53, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x08,
|
||||
0x12, 0x0e, 0x0a, 0x0a, 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x09,
|
||||
0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52,
|
||||
0x4f, 0x52, 0x10, 0x0a, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x55, 0x54, 0x59, 0x5f, 0x43, 0x59, 0x43,
|
||||
0x4c, 0x45, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x0b, 0x42, 0x6a, 0x0a,
|
||||
0x14, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61,
|
||||
0x70, 0x69, 0x2e, 0x67, 0x77, 0x42, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x50, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76,
|
||||
0x34, 0x2f, 0x67, 0x77, 0xaa, 0x02, 0x12, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63,
|
||||
0x6b, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
0x49, 0x4e, 0x45, 0x10, 0x01, 0x22, 0xb4, 0x01, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x68, 0x48, 0x65,
|
||||
0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77,
|
||||
0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74,
|
||||
0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x49,
|
||||
0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 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, 0x39, 0x0a, 0x0a, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
|
||||
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x77, 0x2e, 0x4d, 0x65, 0x73, 0x68, 0x48,
|
||||
0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x50, 0x61, 0x74,
|
||||
0x68, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x50, 0x61, 0x74, 0x68, 0x22, 0x59, 0x0a, 0x16,
|
||||
0x4d, 0x65, 0x73, 0x68, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x6c,
|
||||
0x61, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x49,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x73, 0x73, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x04, 0x72, 0x73, 0x73, 0x69, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x6e, 0x72, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x03, 0x73, 0x6e, 0x72, 0x2a, 0xb5, 0x01, 0x0a, 0x08, 0x43, 0x6f, 0x64, 0x65,
|
||||
0x52, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x52, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46,
|
||||
0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x35,
|
||||
0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x36, 0x10, 0x02, 0x12, 0x0a,
|
||||
0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x37, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52,
|
||||
0x5f, 0x34, 0x5f, 0x38, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x33, 0x5f, 0x38,
|
||||
0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x32, 0x5f, 0x36, 0x10, 0x06, 0x12, 0x0a,
|
||||
0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x34, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52,
|
||||
0x5f, 0x31, 0x5f, 0x36, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x35, 0x5f, 0x36,
|
||||
0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c, 0x49, 0x5f, 0x34, 0x5f, 0x35, 0x10,
|
||||
0x0a, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c, 0x49, 0x5f, 0x34, 0x5f, 0x36, 0x10, 0x0b,
|
||||
0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c, 0x49, 0x5f, 0x34, 0x5f, 0x38, 0x10, 0x0c, 0x2a,
|
||||
0x3b, 0x0a, 0x0e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x69, 0x6d, 0x69, 0x6e,
|
||||
0x67, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x4c, 0x59,
|
||||
0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x4c, 0x41, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a,
|
||||
0x09, 0x47, 0x50, 0x53, 0x5f, 0x45, 0x50, 0x4f, 0x43, 0x48, 0x10, 0x02, 0x2a, 0x37, 0x0a, 0x11,
|
||||
0x46, 0x69, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70,
|
||||
0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x45,
|
||||
0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x4c,
|
||||
0x41, 0x49, 0x4e, 0x10, 0x02, 0x2a, 0x30, 0x0a, 0x09, 0x43, 0x52, 0x43, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x5f, 0x43, 0x52, 0x43, 0x10, 0x00, 0x12, 0x0b,
|
||||
0x0a, 0x07, 0x42, 0x41, 0x44, 0x5f, 0x43, 0x52, 0x43, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43,
|
||||
0x52, 0x43, 0x5f, 0x4f, 0x4b, 0x10, 0x02, 0x2a, 0xd5, 0x01, 0x0a, 0x0b, 0x54, 0x78, 0x41, 0x63,
|
||||
0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x47, 0x4e, 0x4f, 0x52,
|
||||
0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
|
||||
0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f,
|
||||
0x4f, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x59, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c,
|
||||
0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x04, 0x12,
|
||||
0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x42, 0x45, 0x41,
|
||||
0x43, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x58, 0x5f, 0x46, 0x52, 0x45, 0x51,
|
||||
0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x58, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x07,
|
||||
0x12, 0x10, 0x0a, 0x0c, 0x47, 0x50, 0x53, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44,
|
||||
0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c,
|
||||
0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45,
|
||||
0x52, 0x52, 0x4f, 0x52, 0x10, 0x0a, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x55, 0x54, 0x59, 0x5f, 0x43,
|
||||
0x59, 0x43, 0x4c, 0x45, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x0b, 0x42,
|
||||
0xa0, 0x01, 0x0a, 0x14, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63,
|
||||
0x6b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x77, 0x42, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61,
|
||||
0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
|
||||
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f,
|
||||
0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67,
|
||||
0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x67, 0x77, 0xaa, 0x02, 0x12, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xca, 0x02, 0x12, 0x43,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61,
|
||||
0x79, 0xe2, 0x02, 0x1e, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c,
|
||||
0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77,
|
||||
0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -4175,7 +4337,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, 42)
|
||||
var file_gw_gw_proto_msgTypes = make([]protoimpl.MessageInfo, 44)
|
||||
var file_gw_gw_proto_goTypes = []interface{}{
|
||||
(CodeRate)(0), // 0: gw.CodeRate
|
||||
(DownlinkTiming)(0), // 1: gw.DownlinkTiming
|
||||
@ -4218,62 +4380,64 @@ var file_gw_gw_proto_goTypes = []interface{}{
|
||||
(*RawPacketForwarderEvent)(nil), // 38: gw.RawPacketForwarderEvent
|
||||
(*RawPacketForwarderCommand)(nil), // 39: gw.RawPacketForwarderCommand
|
||||
(*ConnState)(nil), // 40: gw.ConnState
|
||||
nil, // 41: gw.GatewayStats.MetadataEntry
|
||||
nil, // 42: gw.GatewayStats.TxPacketsPerFrequencyEntry
|
||||
nil, // 43: gw.GatewayStats.RxPacketsPerFrequencyEntry
|
||||
nil, // 44: gw.GatewayStats.TxPacketsPerStatusEntry
|
||||
nil, // 45: gw.UplinkRxInfoLegacy.MetadataEntry
|
||||
nil, // 46: gw.UplinkRxInfo.MetadataEntry
|
||||
nil, // 47: gw.GatewayCommandExecRequest.EnvironmentEntry
|
||||
(common.Modulation)(0), // 48: common.Modulation
|
||||
(*timestamppb.Timestamp)(nil), // 49: google.protobuf.Timestamp
|
||||
(*common.Location)(nil), // 50: common.Location
|
||||
(common.Regulation)(0), // 51: common.Regulation
|
||||
(*durationpb.Duration)(nil), // 52: google.protobuf.Duration
|
||||
(*MeshHeartbeat)(nil), // 41: gw.MeshHeartbeat
|
||||
(*MeshHeartbeatRelayPath)(nil), // 42: gw.MeshHeartbeatRelayPath
|
||||
nil, // 43: gw.GatewayStats.MetadataEntry
|
||||
nil, // 44: gw.GatewayStats.TxPacketsPerFrequencyEntry
|
||||
nil, // 45: gw.GatewayStats.RxPacketsPerFrequencyEntry
|
||||
nil, // 46: gw.GatewayStats.TxPacketsPerStatusEntry
|
||||
nil, // 47: gw.UplinkRxInfoLegacy.MetadataEntry
|
||||
nil, // 48: gw.UplinkRxInfo.MetadataEntry
|
||||
nil, // 49: gw.GatewayCommandExecRequest.EnvironmentEntry
|
||||
(common.Modulation)(0), // 50: common.Modulation
|
||||
(*timestamppb.Timestamp)(nil), // 51: google.protobuf.Timestamp
|
||||
(*common.Location)(nil), // 52: common.Location
|
||||
(common.Regulation)(0), // 53: common.Regulation
|
||||
(*durationpb.Duration)(nil), // 54: google.protobuf.Duration
|
||||
}
|
||||
var file_gw_gw_proto_depIdxs = []int32{
|
||||
9, // 0: gw.Modulation.lora:type_name -> gw.LoraModulationInfo
|
||||
10, // 1: gw.Modulation.fsk:type_name -> gw.FskModulationInfo
|
||||
11, // 2: gw.Modulation.lr_fhss:type_name -> gw.LrFhssModulationInfo
|
||||
48, // 3: gw.UplinkTxInfoLegacy.modulation:type_name -> common.Modulation
|
||||
50, // 3: gw.UplinkTxInfoLegacy.modulation:type_name -> common.Modulation
|
||||
9, // 4: gw.UplinkTxInfoLegacy.lora_modulation_info:type_name -> gw.LoraModulationInfo
|
||||
10, // 5: gw.UplinkTxInfoLegacy.fsk_modulation_info:type_name -> gw.FskModulationInfo
|
||||
11, // 6: gw.UplinkTxInfoLegacy.lr_fhss_modulation_info:type_name -> gw.LrFhssModulationInfo
|
||||
6, // 7: gw.UplinkTxInfo.modulation:type_name -> gw.Modulation
|
||||
0, // 8: gw.LoraModulationInfo.code_rate:type_name -> gw.CodeRate
|
||||
0, // 9: gw.LrFhssModulationInfo.code_rate:type_name -> gw.CodeRate
|
||||
49, // 10: gw.PlainFineTimestamp.time:type_name -> google.protobuf.Timestamp
|
||||
49, // 11: gw.GatewayStats.time:type_name -> google.protobuf.Timestamp
|
||||
50, // 12: gw.GatewayStats.location:type_name -> common.Location
|
||||
41, // 13: gw.GatewayStats.metadata:type_name -> gw.GatewayStats.MetadataEntry
|
||||
42, // 14: gw.GatewayStats.tx_packets_per_frequency:type_name -> gw.GatewayStats.TxPacketsPerFrequencyEntry
|
||||
43, // 15: gw.GatewayStats.rx_packets_per_frequency:type_name -> gw.GatewayStats.RxPacketsPerFrequencyEntry
|
||||
51, // 10: gw.PlainFineTimestamp.time:type_name -> google.protobuf.Timestamp
|
||||
51, // 11: gw.GatewayStats.time:type_name -> google.protobuf.Timestamp
|
||||
52, // 12: gw.GatewayStats.location:type_name -> common.Location
|
||||
43, // 13: gw.GatewayStats.metadata:type_name -> gw.GatewayStats.MetadataEntry
|
||||
44, // 14: gw.GatewayStats.tx_packets_per_frequency:type_name -> gw.GatewayStats.TxPacketsPerFrequencyEntry
|
||||
45, // 15: gw.GatewayStats.rx_packets_per_frequency:type_name -> gw.GatewayStats.RxPacketsPerFrequencyEntry
|
||||
15, // 16: gw.GatewayStats.tx_packets_per_modulation:type_name -> gw.PerModulationCount
|
||||
15, // 17: gw.GatewayStats.rx_packets_per_modulation:type_name -> gw.PerModulationCount
|
||||
44, // 18: gw.GatewayStats.tx_packets_per_status:type_name -> gw.GatewayStats.TxPacketsPerStatusEntry
|
||||
46, // 18: gw.GatewayStats.tx_packets_per_status:type_name -> gw.GatewayStats.TxPacketsPerStatusEntry
|
||||
16, // 19: gw.GatewayStats.duty_cycle_stats:type_name -> gw.DutyCycleStats
|
||||
6, // 20: gw.PerModulationCount.modulation:type_name -> gw.Modulation
|
||||
51, // 21: gw.DutyCycleStats.regulation:type_name -> common.Regulation
|
||||
52, // 22: gw.DutyCycleStats.window:type_name -> google.protobuf.Duration
|
||||
53, // 21: gw.DutyCycleStats.regulation:type_name -> common.Regulation
|
||||
54, // 22: gw.DutyCycleStats.window:type_name -> google.protobuf.Duration
|
||||
17, // 23: gw.DutyCycleStats.bands:type_name -> gw.DutyCycleBand
|
||||
52, // 24: gw.DutyCycleBand.load_max:type_name -> google.protobuf.Duration
|
||||
52, // 25: gw.DutyCycleBand.load_tracked:type_name -> google.protobuf.Duration
|
||||
49, // 26: gw.UplinkRxInfoLegacy.time:type_name -> google.protobuf.Timestamp
|
||||
52, // 27: gw.UplinkRxInfoLegacy.time_since_gps_epoch:type_name -> google.protobuf.Duration
|
||||
50, // 28: gw.UplinkRxInfoLegacy.location:type_name -> common.Location
|
||||
54, // 24: gw.DutyCycleBand.load_max:type_name -> google.protobuf.Duration
|
||||
54, // 25: gw.DutyCycleBand.load_tracked:type_name -> google.protobuf.Duration
|
||||
51, // 26: gw.UplinkRxInfoLegacy.time:type_name -> google.protobuf.Timestamp
|
||||
54, // 27: gw.UplinkRxInfoLegacy.time_since_gps_epoch:type_name -> google.protobuf.Duration
|
||||
52, // 28: gw.UplinkRxInfoLegacy.location:type_name -> common.Location
|
||||
2, // 29: gw.UplinkRxInfoLegacy.fine_timestamp_type:type_name -> gw.FineTimestampType
|
||||
12, // 30: gw.UplinkRxInfoLegacy.encrypted_fine_timestamp:type_name -> gw.EncryptedFineTimestamp
|
||||
13, // 31: gw.UplinkRxInfoLegacy.plain_fine_timestamp:type_name -> gw.PlainFineTimestamp
|
||||
3, // 32: gw.UplinkRxInfoLegacy.crc_status:type_name -> gw.CRCStatus
|
||||
45, // 33: gw.UplinkRxInfoLegacy.metadata:type_name -> gw.UplinkRxInfoLegacy.MetadataEntry
|
||||
49, // 34: gw.UplinkRxInfo.gw_time:type_name -> google.protobuf.Timestamp
|
||||
49, // 35: gw.UplinkRxInfo.ns_time:type_name -> google.protobuf.Timestamp
|
||||
52, // 36: gw.UplinkRxInfo.time_since_gps_epoch:type_name -> google.protobuf.Duration
|
||||
52, // 37: gw.UplinkRxInfo.fine_time_since_gps_epoch:type_name -> google.protobuf.Duration
|
||||
50, // 38: gw.UplinkRxInfo.location:type_name -> common.Location
|
||||
46, // 39: gw.UplinkRxInfo.metadata:type_name -> gw.UplinkRxInfo.MetadataEntry
|
||||
47, // 33: gw.UplinkRxInfoLegacy.metadata:type_name -> gw.UplinkRxInfoLegacy.MetadataEntry
|
||||
51, // 34: gw.UplinkRxInfo.gw_time:type_name -> google.protobuf.Timestamp
|
||||
51, // 35: gw.UplinkRxInfo.ns_time:type_name -> google.protobuf.Timestamp
|
||||
54, // 36: gw.UplinkRxInfo.time_since_gps_epoch:type_name -> google.protobuf.Duration
|
||||
54, // 37: gw.UplinkRxInfo.fine_time_since_gps_epoch:type_name -> google.protobuf.Duration
|
||||
52, // 38: gw.UplinkRxInfo.location:type_name -> common.Location
|
||||
48, // 39: gw.UplinkRxInfo.metadata:type_name -> gw.UplinkRxInfo.MetadataEntry
|
||||
3, // 40: gw.UplinkRxInfo.crc_status:type_name -> gw.CRCStatus
|
||||
48, // 41: gw.DownlinkTxInfoLegacy.modulation:type_name -> common.Modulation
|
||||
50, // 41: gw.DownlinkTxInfoLegacy.modulation:type_name -> common.Modulation
|
||||
9, // 42: gw.DownlinkTxInfoLegacy.lora_modulation_info:type_name -> gw.LoraModulationInfo
|
||||
10, // 43: gw.DownlinkTxInfoLegacy.fsk_modulation_info:type_name -> gw.FskModulationInfo
|
||||
1, // 44: gw.DownlinkTxInfoLegacy.timing:type_name -> gw.DownlinkTiming
|
||||
@ -4285,8 +4449,8 @@ var file_gw_gw_proto_depIdxs = []int32{
|
||||
23, // 50: gw.Timing.immediately:type_name -> gw.ImmediatelyTimingInfo
|
||||
24, // 51: gw.Timing.delay:type_name -> gw.DelayTimingInfo
|
||||
25, // 52: gw.Timing.gps_epoch:type_name -> gw.GPSEpochTimingInfo
|
||||
52, // 53: gw.DelayTimingInfo.delay:type_name -> google.protobuf.Duration
|
||||
52, // 54: gw.GPSEpochTimingInfo.time_since_gps_epoch:type_name -> google.protobuf.Duration
|
||||
54, // 53: gw.DelayTimingInfo.delay:type_name -> google.protobuf.Duration
|
||||
54, // 54: gw.GPSEpochTimingInfo.time_since_gps_epoch:type_name -> google.protobuf.Duration
|
||||
7, // 55: gw.UplinkFrame.tx_info_legacy:type_name -> gw.UplinkTxInfoLegacy
|
||||
18, // 56: gw.UplinkFrame.rx_info_legacy:type_name -> gw.UplinkRxInfoLegacy
|
||||
8, // 57: gw.UplinkFrame.tx_info:type_name -> gw.UplinkTxInfo
|
||||
@ -4299,17 +4463,19 @@ var file_gw_gw_proto_depIdxs = []int32{
|
||||
31, // 64: gw.DownlinkTxAck.items:type_name -> gw.DownlinkTxAckItem
|
||||
4, // 65: gw.DownlinkTxAckItem.status:type_name -> gw.TxAckStatus
|
||||
33, // 66: gw.GatewayConfiguration.channels:type_name -> gw.ChannelConfiguration
|
||||
52, // 67: gw.GatewayConfiguration.stats_interval:type_name -> google.protobuf.Duration
|
||||
48, // 68: gw.ChannelConfiguration.modulation_legacy:type_name -> common.Modulation
|
||||
54, // 67: gw.GatewayConfiguration.stats_interval:type_name -> google.protobuf.Duration
|
||||
50, // 68: gw.ChannelConfiguration.modulation_legacy:type_name -> common.Modulation
|
||||
34, // 69: gw.ChannelConfiguration.lora_modulation_config:type_name -> gw.LoraModulationConfig
|
||||
35, // 70: gw.ChannelConfiguration.fsk_modulation_config:type_name -> gw.FskModulationConfig
|
||||
47, // 71: gw.GatewayCommandExecRequest.environment:type_name -> gw.GatewayCommandExecRequest.EnvironmentEntry
|
||||
49, // 71: gw.GatewayCommandExecRequest.environment:type_name -> gw.GatewayCommandExecRequest.EnvironmentEntry
|
||||
5, // 72: gw.ConnState.state:type_name -> gw.ConnState.State
|
||||
73, // [73:73] is the sub-list for method output_type
|
||||
73, // [73:73] is the sub-list for method input_type
|
||||
73, // [73:73] is the sub-list for extension type_name
|
||||
73, // [73:73] is the sub-list for extension extendee
|
||||
0, // [0:73] is the sub-list for field type_name
|
||||
51, // 73: gw.MeshHeartbeat.time:type_name -> google.protobuf.Timestamp
|
||||
42, // 74: gw.MeshHeartbeat.relay_path:type_name -> gw.MeshHeartbeatRelayPath
|
||||
75, // [75:75] is the sub-list for method output_type
|
||||
75, // [75:75] is the sub-list for method input_type
|
||||
75, // [75:75] is the sub-list for extension type_name
|
||||
75, // [75:75] is the sub-list for extension extendee
|
||||
0, // [0:75] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_gw_gw_proto_init() }
|
||||
@ -4738,6 +4904,30 @@ func file_gw_gw_proto_init() {
|
||||
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{}{
|
||||
(*Modulation_Lora)(nil),
|
||||
@ -4775,7 +4965,7 @@ func file_gw_gw_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_gw_gw_proto_rawDesc,
|
||||
NumEnums: 6,
|
||||
NumMessages: 42,
|
||||
NumMessages: 44,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
12
api/go/integration/integration.pb.go
vendored
12
api/go/integration/integration.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: integration/integration.proto
|
||||
|
||||
@ -1581,7 +1581,7 @@ var file_integration_integration_proto_rawDesc = []byte{
|
||||
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, 0x42, 0x81, 0x01, 0x0a, 0x1d, 0x69, 0x6f, 0x2e,
|
||||
0x54, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x0a, 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,
|
||||
@ -1589,8 +1589,12 @@ var file_integration_integration_proto_rawDesc = []byte{
|
||||
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, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
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 (
|
||||
|
23
api/go/stream/api_request.pb.go
vendored
23
api/go/stream/api_request.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: stream/api_request.proto
|
||||
|
||||
@ -110,15 +110,18 @@ var file_stream_api_request_proto_rawDesc = []byte{
|
||||
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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, 0x42, 0x74, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x63, 0x68,
|
||||
0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x72,
|
||||
0x65, 0x61, 0x6d, 0x42, 0x0f, 0x41, 0x70, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
||||
0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68,
|
||||
0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f,
|
||||
0x76, 0x34, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xaa, 0x02, 0x11, 0x43, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xa8, 0x01, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74,
|
||||
0x72, 0x65, 0x61, 0x6d, 0x42, 0x0f, 0x41, 0x70, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
|
||||
0x2f, 0x76, 0x34, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xaa, 0x02, 0x11, 0x43, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xca, 0x02,
|
||||
0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x53, 0x74, 0x72, 0x65,
|
||||
0x61, 0x6d, 0xe2, 0x02, 0x1d, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
||||
0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x53, 0x74, 0x72, 0x65,
|
||||
0x61, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
25
api/go/stream/backend_interfaces.pb.go
vendored
25
api/go/stream/backend_interfaces.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: stream/backend_interfaces.proto
|
||||
|
||||
@ -170,16 +170,19 @@ var file_stream_backend_interfaces_proto_rawDesc = []byte{
|
||||
0x72, 0x72, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x42, 0x7b, 0x0a,
|
||||
0x18, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61,
|
||||
0x70, 0x69, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x16, 0x42, 0x61, 0x63, 0x6b, 0x65,
|
||||
0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
|
||||
0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70,
|
||||
0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f,
|
||||
0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xaa, 0x02, 0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x42, 0xaf, 0x01,
|
||||
0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e,
|
||||
0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x16, 0x42, 0x61, 0x63, 0x6b,
|
||||
0x65, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
||||
0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34,
|
||||
0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xaa, 0x02, 0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73,
|
||||
0x74, 0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xca, 0x02, 0x11, 0x43, 0x68,
|
||||
0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xe2,
|
||||
0x02, 0x1d, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68,
|
||||
0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
23
api/go/stream/frame.pb.go
vendored
23
api/go/stream/frame.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: stream/frame.proto
|
||||
|
||||
@ -328,15 +328,18 @@ var file_stream_frame_proto_rawDesc = []byte{
|
||||
0x65, 0x78, 0x74, 0x46, 0x4f, 0x70, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x6c, 0x61, 0x69,
|
||||
0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x72, 0x6d, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61,
|
||||
0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x74, 0x65,
|
||||
0x78, 0x74, 0x46, 0x72, 0x6d, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x6f, 0x0a, 0x18,
|
||||
0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70,
|
||||
0x69, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x0a, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
||||
0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68,
|
||||
0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f,
|
||||
0x76, 0x34, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xaa, 0x02, 0x11, 0x43, 0x68, 0x69, 0x72,
|
||||
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x78, 0x74, 0x46, 0x72, 0x6d, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0xa3, 0x01, 0x0a,
|
||||
0x18, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61,
|
||||
0x70, 0x69, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x0a, 0x46, 0x72, 0x61, 0x6d, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
|
||||
0x2f, 0x76, 0x34, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xaa, 0x02, 0x11, 0x43, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xca, 0x02,
|
||||
0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x53, 0x74, 0x72, 0x65,
|
||||
0x61, 0x6d, 0xe2, 0x02, 0x1d, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
||||
0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c, 0x53, 0x74, 0x72, 0x65,
|
||||
0x61, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
21
api/go/stream/meta.pb.go
vendored
21
api/go/stream/meta.pb.go
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc v4.24.4
|
||||
// source: stream/meta.proto
|
||||
|
||||
@ -288,14 +288,17 @@ var file_stream_meta_proto_rawDesc = []byte{
|
||||
0x4d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79,
|
||||
0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49,
|
||||
0x64, 0x42, 0x6e, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61,
|
||||
0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x09, 0x4d,
|
||||
0x65, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68,
|
||||
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63,
|
||||
0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69,
|
||||
0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xaa, 0x02, 0x11,
|
||||
0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,
|
||||
0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x64, 0x42, 0xa2, 0x01, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74,
|
||||
0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x09,
|
||||
0x4d, 0x65, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74,
|
||||
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61,
|
||||
0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70,
|
||||
0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xaa, 0x02,
|
||||
0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65,
|
||||
0x61, 0x6d, 0xca, 0x02, 0x11, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c,
|
||||
0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xe2, 0x02, 0x1d, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61,
|
||||
0x64, 0x61, 0x74, 0x61, 0x5c, 0x43, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5c,
|
||||
0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
0
api/grpc-web/.npmignore
vendored
Normal file
0
api/grpc-web/.npmignore
vendored
Normal file
2
api/grpc-web/package.json
vendored
2
api/grpc-web/package.json
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@chirpstack/chirpstack-api-grpc-web",
|
||||
"version": "4.8.0-test.4",
|
||||
"version": "4.9.0-test.2",
|
||||
"description": "Chirpstack gRPC-web API",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
2
api/java/build.gradle.kts
vendored
2
api/java/build.gradle.kts
vendored
@ -8,7 +8,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "io.chirpstack"
|
||||
version = "4.8.0-test.4"
|
||||
version = "4.9.0-test.2"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
0
api/js/.npmignore
vendored
Normal file
0
api/js/.npmignore
vendored
Normal file
2
api/js/package.json
vendored
2
api/js/package.json
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@chirpstack/chirpstack-api",
|
||||
"version": "4.8.0-test.4",
|
||||
"version": "4.9.0-test.2",
|
||||
"description": "Chirpstack JS and TS API",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
2
api/kotlin/build.gradle.kts
vendored
2
api/kotlin/build.gradle.kts
vendored
@ -9,7 +9,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "io.chirpstack"
|
||||
version = "4.8.0-test.4"
|
||||
version = "4.9.0-test.2"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
40
api/php/Makefile
vendored
Normal file
40
api/php/Makefile
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
.PHONY: requirements common gw api integration stream google
|
||||
|
||||
PROTOC_ARGS := -I=../proto --grpc_out=./generated --plugin=protoc-gen-grpc=/usr/bin/grpc_php_plugin --php_out=./generated
|
||||
|
||||
all: requirements common gw api integration stream google
|
||||
|
||||
requirements:
|
||||
rm -rf generated
|
||||
mkdir generated
|
||||
|
||||
common:
|
||||
protoc ${PROTOC_ARGS} common/common.proto
|
||||
|
||||
gw:
|
||||
protoc ${PROTOC_ARGS} gw/gw.proto
|
||||
|
||||
api:
|
||||
protoc ${PROTOC_ARGS} api/internal.proto
|
||||
protoc ${PROTOC_ARGS} api/user.proto
|
||||
protoc ${PROTOC_ARGS} api/tenant.proto
|
||||
protoc ${PROTOC_ARGS} api/application.proto
|
||||
protoc ${PROTOC_ARGS} api/device_profile.proto
|
||||
protoc ${PROTOC_ARGS} api/device_profile_template.proto
|
||||
protoc ${PROTOC_ARGS} api/device.proto
|
||||
protoc ${PROTOC_ARGS} api/gateway.proto
|
||||
protoc ${PROTOC_ARGS} api/multicast_group.proto
|
||||
protoc ${PROTOC_ARGS} api/relay.proto
|
||||
|
||||
integration:
|
||||
protoc ${PROTOC_ARGS} integration/integration.proto
|
||||
|
||||
stream:
|
||||
protoc ${PROTOC_ARGS} stream/meta.proto
|
||||
protoc ${PROTOC_ARGS} stream/frame.proto
|
||||
protoc ${PROTOC_ARGS} stream/api_request.proto
|
||||
protoc ${PROTOC_ARGS} stream/backend_interfaces.proto
|
||||
|
||||
google:
|
||||
protoc ${PROTOC_ARGS} google/api/annotations.proto
|
||||
protoc ${PROTOC_ARGS} google/api/http.proto
|
44
api/php/README.md
vendored
Normal file
44
api/php/README.md
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
# chirpstack-api
|
||||
|
||||
ChirpStack gRPC API message and service wrappers for PHP.
|
||||
|
||||
## Install
|
||||
|
||||
With composer:
|
||||
|
||||
```sh
|
||||
composer require chirpstack/chirpstack-api
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
All messages, services, constants, etc. are auto-generated from the ChirpStack protobuf definitions. The result is that
|
||||
this package structure matches that of the protobuf definitions.
|
||||
|
||||
The protobuf definitions can be found here: https://github.com/chirpstack/chirpstack/tree/master/api/proto
|
||||
|
||||
## Example
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
namespace Test;
|
||||
|
||||
use Chirpstack\API\ApplicationServiceClient;
|
||||
use Chirpstack\API\ListApplicationsRequest;
|
||||
use Grpc\Channel;
|
||||
use Grpc\ChannelCredentials;
|
||||
|
||||
require dirname(__FILE__) . '/vendor/autoload.php';
|
||||
|
||||
function main() {
|
||||
$channel = new Channel('url', ['credentials' => ChannelCredentials::createInsecure()]);
|
||||
$client = new ApplicationServiceClient('url', [], $channel);
|
||||
$request = new ListApplicationsRequest();
|
||||
$response = $client->List($request);
|
||||
$data = $response->wait();
|
||||
print_r($data);
|
||||
}
|
||||
|
||||
main();
|
||||
```
|
23
api/php/composer.json
vendored
Normal file
23
api/php/composer.json
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "chirpstack/chirpstack-api",
|
||||
"description": "Chirpstack PHP API",
|
||||
"license": "MIT",
|
||||
"type": "library",
|
||||
"version": "4.9.0-test.2",
|
||||
"require": {
|
||||
"php": ">=7.0.0",
|
||||
"grpc/grpc": "^v1.57.0",
|
||||
"google/protobuf": "^v4.27.1"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-grpc": "To make it all work"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Chirpstack\\": "generated/Chirpstack/",
|
||||
"Google\\": "generated/Google/",
|
||||
"GPBMetadata\\Chirpstack\\": "generated/GPBMetadata/Chirpstack/",
|
||||
"GPBMetadata\\Google\\": "generated/GPBMetadata/Google/"
|
||||
}
|
||||
}
|
||||
}
|
75
api/php/generated/Chirpstack/Api/ActivateDeviceRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/ActivateDeviceRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.ActivateDeviceRequest</code>
|
||||
*/
|
||||
class ActivateDeviceRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Device activation object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceActivation device_activation = 1;</code>
|
||||
*/
|
||||
protected $device_activation = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\DeviceActivation $device_activation
|
||||
* Device activation object.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Device activation object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceActivation device_activation = 1;</code>
|
||||
* @return \Chirpstack\Api\DeviceActivation|null
|
||||
*/
|
||||
public function getDeviceActivation()
|
||||
{
|
||||
return $this->device_activation;
|
||||
}
|
||||
|
||||
public function hasDeviceActivation()
|
||||
{
|
||||
return isset($this->device_activation);
|
||||
}
|
||||
|
||||
public function clearDeviceActivation()
|
||||
{
|
||||
unset($this->device_activation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Device activation object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceActivation device_activation = 1;</code>
|
||||
* @param \Chirpstack\Api\DeviceActivation $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceActivation($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\DeviceActivation::class);
|
||||
$this->device_activation = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
99
api/php/generated/Chirpstack/Api/AddDeviceToMulticastGroupRequest.php
vendored
Normal file
99
api/php/generated/Chirpstack/Api/AddDeviceToMulticastGroupRequest.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/multicast_group.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.AddDeviceToMulticastGroupRequest</code>
|
||||
*/
|
||||
class AddDeviceToMulticastGroupRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Multicast group ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string multicast_group_id = 1;</code>
|
||||
*/
|
||||
protected $multicast_group_id = '';
|
||||
/**
|
||||
* Device EUI (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 2;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $multicast_group_id
|
||||
* Multicast group ID.
|
||||
* @type string $dev_eui
|
||||
* Device EUI (HEX encoded).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\MulticastGroup::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Multicast group ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string multicast_group_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getMulticastGroupId()
|
||||
{
|
||||
return $this->multicast_group_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Multicast group ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string multicast_group_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMulticastGroupId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->multicast_group_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device EUI (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device EUI (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
99
api/php/generated/Chirpstack/Api/AddGatewayToMulticastGroupRequest.php
vendored
Normal file
99
api/php/generated/Chirpstack/Api/AddGatewayToMulticastGroupRequest.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/multicast_group.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.AddGatewayToMulticastGroupRequest</code>
|
||||
*/
|
||||
class AddGatewayToMulticastGroupRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Multicast group ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string multicast_group_id = 1;</code>
|
||||
*/
|
||||
protected $multicast_group_id = '';
|
||||
/**
|
||||
* Gateway ID (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 2;</code>
|
||||
*/
|
||||
protected $gateway_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $multicast_group_id
|
||||
* Multicast group ID.
|
||||
* @type string $gateway_id
|
||||
* Gateway ID (HEX encoded).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\MulticastGroup::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Multicast group ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string multicast_group_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getMulticastGroupId()
|
||||
{
|
||||
return $this->multicast_group_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Multicast group ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string multicast_group_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMulticastGroupId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->multicast_group_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway ID (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getGatewayId()
|
||||
{
|
||||
return $this->gateway_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway ID (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setGatewayId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->gateway_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
99
api/php/generated/Chirpstack/Api/AddRelayDeviceRequest.php
vendored
Normal file
99
api/php/generated/Chirpstack/Api/AddRelayDeviceRequest.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/relay.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.AddRelayDeviceRequest</code>
|
||||
*/
|
||||
class AddRelayDeviceRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Relay DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string relay_dev_eui = 1;</code>
|
||||
*/
|
||||
protected $relay_dev_eui = '';
|
||||
/**
|
||||
* Device DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_dev_eui = 2;</code>
|
||||
*/
|
||||
protected $device_dev_eui = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $relay_dev_eui
|
||||
* Relay DevEUI (EUI64).
|
||||
* @type string $device_dev_eui
|
||||
* Device DevEUI (EUI64).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Relay::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Relay DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string relay_dev_eui = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getRelayDevEui()
|
||||
{
|
||||
return $this->relay_dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* Relay DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string relay_dev_eui = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRelayDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->relay_dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_dev_eui = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDeviceDevEui()
|
||||
{
|
||||
return $this->device_dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_dev_eui = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->device_dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/AddTenantUserRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/AddTenantUserRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/tenant.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.AddTenantUserRequest</code>
|
||||
*/
|
||||
class AddTenantUserRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Tenant user object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.TenantUser tenant_user = 1;</code>
|
||||
*/
|
||||
protected $tenant_user = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\TenantUser $tenant_user
|
||||
* Tenant user object.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Tenant::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant user object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.TenantUser tenant_user = 1;</code>
|
||||
* @return \Chirpstack\Api\TenantUser|null
|
||||
*/
|
||||
public function getTenantUser()
|
||||
{
|
||||
return $this->tenant_user;
|
||||
}
|
||||
|
||||
public function hasTenantUser()
|
||||
{
|
||||
return isset($this->tenant_user);
|
||||
}
|
||||
|
||||
public function clearTenantUser()
|
||||
{
|
||||
unset($this->tenant_user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant user object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.TenantUser tenant_user = 1;</code>
|
||||
* @param \Chirpstack\Api\TenantUser $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTenantUser($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\TenantUser::class);
|
||||
$this->tenant_user = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
99
api/php/generated/Chirpstack/Api/AdrAlgorithmListItem.php
vendored
Normal file
99
api/php/generated/Chirpstack/Api/AdrAlgorithmListItem.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device_profile.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.AdrAlgorithmListItem</code>
|
||||
*/
|
||||
class AdrAlgorithmListItem extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Algorithm ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
/**
|
||||
* Algorithm name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
*/
|
||||
protected $name = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* Algorithm ID.
|
||||
* @type string $name
|
||||
* Algorithm name.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\DeviceProfile::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Algorithm ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Algorithm ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Algorithm name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Algorithm name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
175
api/php/generated/Chirpstack/Api/ApiKey.php
vendored
Normal file
175
api/php/generated/Chirpstack/Api/ApiKey.php
vendored
Normal file
@ -0,0 +1,175 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/internal.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.ApiKey</code>
|
||||
*/
|
||||
class ApiKey extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* API key ID.
|
||||
* This value will be automatically generated on create.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
*/
|
||||
protected $name = '';
|
||||
/**
|
||||
* Is global admin key.
|
||||
*
|
||||
* Generated from protobuf field <code>bool is_admin = 3;</code>
|
||||
*/
|
||||
protected $is_admin = false;
|
||||
/**
|
||||
* Tenant ID.
|
||||
* In case the API key is intended to manage resources under a single tenant.
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 4;</code>
|
||||
*/
|
||||
protected $tenant_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* API key ID.
|
||||
* This value will be automatically generated on create.
|
||||
* @type string $name
|
||||
* Name.
|
||||
* @type bool $is_admin
|
||||
* Is global admin key.
|
||||
* @type string $tenant_id
|
||||
* Tenant ID.
|
||||
* In case the API key is intended to manage resources under a single tenant.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* API key ID.
|
||||
* This value will be automatically generated on create.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* API key ID.
|
||||
* This value will be automatically generated on create.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is global admin key.
|
||||
*
|
||||
* Generated from protobuf field <code>bool is_admin = 3;</code>
|
||||
* @return bool
|
||||
*/
|
||||
public function getIsAdmin()
|
||||
{
|
||||
return $this->is_admin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is global admin key.
|
||||
*
|
||||
* Generated from protobuf field <code>bool is_admin = 3;</code>
|
||||
* @param bool $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIsAdmin($var)
|
||||
{
|
||||
GPBUtil::checkBool($var);
|
||||
$this->is_admin = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID.
|
||||
* In case the API key is intended to manage resources under a single tenant.
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getTenantId()
|
||||
{
|
||||
return $this->tenant_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID.
|
||||
* In case the API key is intended to manage resources under a single tenant.
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTenantId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->tenant_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
217
api/php/generated/Chirpstack/Api/Application.php
vendored
Normal file
217
api/php/generated/Chirpstack/Api/Application.php
vendored
Normal file
@ -0,0 +1,217 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.Application</code>
|
||||
*/
|
||||
class Application extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
* Note: on create this will be automatically generated.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
/**
|
||||
* Application name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
*/
|
||||
protected $name = '';
|
||||
/**
|
||||
* Application description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 3;</code>
|
||||
*/
|
||||
protected $description = '';
|
||||
/**
|
||||
* Tenant ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 4;</code>
|
||||
*/
|
||||
protected $tenant_id = '';
|
||||
/**
|
||||
* Tags (user defined).
|
||||
* These tags can be used to add additional information to the application.
|
||||
* These tags are exposed in all the integration events of devices under
|
||||
* this application.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> tags = 5;</code>
|
||||
*/
|
||||
private $tags;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* Application ID (UUID).
|
||||
* Note: on create this will be automatically generated.
|
||||
* @type string $name
|
||||
* Application name.
|
||||
* @type string $description
|
||||
* Application description.
|
||||
* @type string $tenant_id
|
||||
* Tenant ID (UUID).
|
||||
* @type array|\Google\Protobuf\Internal\MapField $tags
|
||||
* Tags (user defined).
|
||||
* These tags can be used to add additional information to the application.
|
||||
* These tags are exposed in all the integration events of devices under
|
||||
* this application.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
* Note: on create this will be automatically generated.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
* Note: on create this will be automatically generated.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->description = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getTenantId()
|
||||
{
|
||||
return $this->tenant_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTenantId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->tenant_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tags (user defined).
|
||||
* These tags can be used to add additional information to the application.
|
||||
* These tags are exposed in all the integration events of devices under
|
||||
* this application.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> tags = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getTags()
|
||||
{
|
||||
return $this->tags;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tags (user defined).
|
||||
* These tags can be used to add additional information to the application.
|
||||
* These tags are exposed in all the integration events of devices under
|
||||
* this application.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> tags = 5;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTags($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->tags = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
221
api/php/generated/Chirpstack/Api/ApplicationListItem.php
vendored
Normal file
221
api/php/generated/Chirpstack/Api/ApplicationListItem.php
vendored
Normal file
@ -0,0 +1,221 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.ApplicationListItem</code>
|
||||
*/
|
||||
class ApplicationListItem extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
*/
|
||||
protected $created_at = null;
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
*/
|
||||
protected $updated_at = null;
|
||||
/**
|
||||
* Application name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 4;</code>
|
||||
*/
|
||||
protected $name = '';
|
||||
/**
|
||||
* Application description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 5;</code>
|
||||
*/
|
||||
protected $description = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* Application ID (UUID).
|
||||
* @type \Google\Protobuf\Timestamp $created_at
|
||||
* Created at timestamp.
|
||||
* @type \Google\Protobuf\Timestamp $updated_at
|
||||
* Last update timestamp.
|
||||
* @type string $name
|
||||
* Application name.
|
||||
* @type string $description
|
||||
* Application description.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getCreatedAt()
|
||||
{
|
||||
return $this->created_at;
|
||||
}
|
||||
|
||||
public function hasCreatedAt()
|
||||
{
|
||||
return isset($this->created_at);
|
||||
}
|
||||
|
||||
public function clearCreatedAt()
|
||||
{
|
||||
unset($this->created_at);
|
||||
}
|
||||
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCreatedAt($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
||||
$this->created_at = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getUpdatedAt()
|
||||
{
|
||||
return $this->updated_at;
|
||||
}
|
||||
|
||||
public function hasUpdatedAt()
|
||||
{
|
||||
return isset($this->updated_at);
|
||||
}
|
||||
|
||||
public function clearUpdatedAt()
|
||||
{
|
||||
unset($this->updated_at);
|
||||
}
|
||||
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setUpdatedAt($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
||||
$this->updated_at = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 5;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 5;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->description = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
726
api/php/generated/Chirpstack/Api/ApplicationServiceClient.php
vendored
Normal file
726
api/php/generated/Chirpstack/Api/ApplicationServiceClient.php
vendored
Normal file
@ -0,0 +1,726 @@
|
||||
<?php
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
/**
|
||||
* ApplicationService is the service providing API methods for managing
|
||||
* applications.
|
||||
*/
|
||||
class ApplicationServiceClient extends \Grpc\BaseStub {
|
||||
|
||||
/**
|
||||
* @param string $hostname hostname
|
||||
* @param array $opts channel options
|
||||
* @param \Grpc\Channel $channel (optional) re-use channel object
|
||||
*/
|
||||
public function __construct($hostname, $opts, $channel = null) {
|
||||
parent::__construct($hostname, $opts, $channel);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create creates the given application.
|
||||
* @param \Chirpstack\Api\CreateApplicationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function Create(\Chirpstack\Api\CreateApplicationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/Create',
|
||||
$argument,
|
||||
['\Chirpstack\Api\CreateApplicationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the application for the given ID.
|
||||
* @param \Chirpstack\Api\GetApplicationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function Get(\Chirpstack\Api\GetApplicationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/Get',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetApplicationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update updates the given application.
|
||||
* @param \Chirpstack\Api\UpdateApplicationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function Update(\Chirpstack\Api\UpdateApplicationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/Update',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete the application for the given ID.
|
||||
* @param \Chirpstack\Api\DeleteApplicationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function Delete(\Chirpstack\Api\DeleteApplicationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/Delete',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the list of applications.
|
||||
* @param \Chirpstack\Api\ListApplicationsRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function List(\Chirpstack\Api\ListApplicationsRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/List',
|
||||
$argument,
|
||||
['\Chirpstack\Api\ListApplicationsResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* List all configured integrations.
|
||||
* @param \Chirpstack\Api\ListIntegrationsRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function ListIntegrations(\Chirpstack\Api\ListIntegrationsRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/ListIntegrations',
|
||||
$argument,
|
||||
['\Chirpstack\Api\ListIntegrationsResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create HTTP integration.
|
||||
* @param \Chirpstack\Api\CreateHttpIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateHttpIntegration(\Chirpstack\Api\CreateHttpIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateHttpIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the configured HTTP integration.
|
||||
* @param \Chirpstack\Api\GetHttpIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetHttpIntegration(\Chirpstack\Api\GetHttpIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetHttpIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetHttpIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the HTTP integration.
|
||||
* @param \Chirpstack\Api\UpdateHttpIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateHttpIntegration(\Chirpstack\Api\UpdateHttpIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateHttpIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete the HTTP integration.
|
||||
* @param \Chirpstack\Api\DeleteHttpIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteHttpIntegration(\Chirpstack\Api\DeleteHttpIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteHttpIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create InfluxDb integration.
|
||||
* @param \Chirpstack\Api\CreateInfluxDbIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateInfluxDbIntegration(\Chirpstack\Api\CreateInfluxDbIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateInfluxDbIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get InfluxDb integration.
|
||||
* @param \Chirpstack\Api\GetInfluxDbIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetInfluxDbIntegration(\Chirpstack\Api\GetInfluxDbIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetInfluxDbIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetInfluxDbIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update InfluxDb integration.
|
||||
* @param \Chirpstack\Api\UpdateInfluxDbIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateInfluxDbIntegration(\Chirpstack\Api\UpdateInfluxDbIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateInfluxDbIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete InfluxDb integration.
|
||||
* @param \Chirpstack\Api\DeleteInfluxDbIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteInfluxDbIntegration(\Chirpstack\Api\DeleteInfluxDbIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteInfluxDbIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create ThingsBoard integration.
|
||||
* @param \Chirpstack\Api\CreateThingsBoardIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateThingsBoardIntegration(\Chirpstack\Api\CreateThingsBoardIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateThingsBoardIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get ThingsBoard integration.
|
||||
* @param \Chirpstack\Api\GetThingsBoardIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetThingsBoardIntegration(\Chirpstack\Api\GetThingsBoardIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetThingsBoardIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetThingsBoardIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update ThingsBoard integration.
|
||||
* @param \Chirpstack\Api\UpdateThingsBoardIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateThingsBoardIntegration(\Chirpstack\Api\UpdateThingsBoardIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateThingsBoardIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete ThingsBoard integration.
|
||||
* @param \Chirpstack\Api\DeleteThingsBoardIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteThingsBoardIntegration(\Chirpstack\Api\DeleteThingsBoardIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteThingsBoardIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create myDevices integration.
|
||||
* @param \Chirpstack\Api\CreateMyDevicesIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateMyDevicesIntegration(\Chirpstack\Api\CreateMyDevicesIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateMyDevicesIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get myDevices integration.
|
||||
* @param \Chirpstack\Api\GetMyDevicesIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetMyDevicesIntegration(\Chirpstack\Api\GetMyDevicesIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetMyDevicesIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetMyDevicesIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update myDevices integration.
|
||||
* @param \Chirpstack\Api\UpdateMyDevicesIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateMyDevicesIntegration(\Chirpstack\Api\UpdateMyDevicesIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateMyDevicesIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete myDevices integration.
|
||||
* @param \Chirpstack\Api\DeleteMyDevicesIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteMyDevicesIntegration(\Chirpstack\Api\DeleteMyDevicesIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteMyDevicesIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create LoRaCloud integration.
|
||||
* @param \Chirpstack\Api\CreateLoraCloudIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateLoraCloudIntegration(\Chirpstack\Api\CreateLoraCloudIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateLoraCloudIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get LoRaCloud integration.
|
||||
* @param \Chirpstack\Api\GetLoraCloudIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetLoraCloudIntegration(\Chirpstack\Api\GetLoraCloudIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetLoraCloudIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetLoraCloudIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update LoRaCloud integration.
|
||||
* @param \Chirpstack\Api\UpdateLoraCloudIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateLoraCloudIntegration(\Chirpstack\Api\UpdateLoraCloudIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateLoraCloudIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete LoRaCloud integration.
|
||||
* @param \Chirpstack\Api\DeleteLoraCloudIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteLoraCloudIntegration(\Chirpstack\Api\DeleteLoraCloudIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteLoraCloudIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create GCP Pub/Sub integration.
|
||||
* @param \Chirpstack\Api\CreateGcpPubSubIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateGcpPubSubIntegration(\Chirpstack\Api\CreateGcpPubSubIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateGcpPubSubIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get GCP Pub/Sub integration.
|
||||
* @param \Chirpstack\Api\GetGcpPubSubIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetGcpPubSubIntegration(\Chirpstack\Api\GetGcpPubSubIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetGcpPubSubIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetGcpPubSubIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update GCP Pub/Sub integration.
|
||||
* @param \Chirpstack\Api\UpdateGcpPubSubIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateGcpPubSubIntegration(\Chirpstack\Api\UpdateGcpPubSubIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateGcpPubSubIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete GCP Pub/Sub integration.
|
||||
* @param \Chirpstack\Api\DeleteGcpPubSubIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteGcpPubSubIntegration(\Chirpstack\Api\DeleteGcpPubSubIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteGcpPubSubIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create AWS SNS integration.
|
||||
* @param \Chirpstack\Api\CreateAwsSnsIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateAwsSnsIntegration(\Chirpstack\Api\CreateAwsSnsIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateAwsSnsIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get AWS SNS integration.
|
||||
* @param \Chirpstack\Api\GetAwsSnsIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetAwsSnsIntegration(\Chirpstack\Api\GetAwsSnsIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetAwsSnsIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetAwsSnsIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update AWS SNS integration.
|
||||
* @param \Chirpstack\Api\UpdateAwsSnsIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateAwsSnsIntegration(\Chirpstack\Api\UpdateAwsSnsIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateAwsSnsIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete AWS SNS integration.
|
||||
* @param \Chirpstack\Api\DeleteAwsSnsIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteAwsSnsIntegration(\Chirpstack\Api\DeleteAwsSnsIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteAwsSnsIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create Azure Service-Bus integration.
|
||||
* @param \Chirpstack\Api\CreateAzureServiceBusIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateAzureServiceBusIntegration(\Chirpstack\Api\CreateAzureServiceBusIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateAzureServiceBusIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Azure Service-Bus integration.
|
||||
* @param \Chirpstack\Api\GetAzureServiceBusIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetAzureServiceBusIntegration(\Chirpstack\Api\GetAzureServiceBusIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetAzureServiceBusIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetAzureServiceBusIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update Azure Service-Bus integration.
|
||||
* @param \Chirpstack\Api\UpdateAzureServiceBusIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateAzureServiceBusIntegration(\Chirpstack\Api\UpdateAzureServiceBusIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateAzureServiceBusIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete Azure Service-Bus integration.
|
||||
* @param \Chirpstack\Api\DeleteAzureServiceBusIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteAzureServiceBusIntegration(\Chirpstack\Api\DeleteAzureServiceBusIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteAzureServiceBusIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create Pilot Things integration.
|
||||
* @param \Chirpstack\Api\CreatePilotThingsIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreatePilotThingsIntegration(\Chirpstack\Api\CreatePilotThingsIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreatePilotThingsIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Pilot Things integration.
|
||||
* @param \Chirpstack\Api\GetPilotThingsIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetPilotThingsIntegration(\Chirpstack\Api\GetPilotThingsIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetPilotThingsIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetPilotThingsIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update Pilot Things integration.
|
||||
* @param \Chirpstack\Api\UpdatePilotThingsIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdatePilotThingsIntegration(\Chirpstack\Api\UpdatePilotThingsIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdatePilotThingsIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete Pilot Things integration.
|
||||
* @param \Chirpstack\Api\DeletePilotThingsIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeletePilotThingsIntegration(\Chirpstack\Api\DeletePilotThingsIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeletePilotThingsIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create IFTTT integration.
|
||||
* @param \Chirpstack\Api\CreateIftttIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function CreateIftttIntegration(\Chirpstack\Api\CreateIftttIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/CreateIftttIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get IFTTT integration.
|
||||
* @param \Chirpstack\Api\GetIftttIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GetIftttIntegration(\Chirpstack\Api\GetIftttIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GetIftttIntegration',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GetIftttIntegrationResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update IFTTT integration.
|
||||
* @param \Chirpstack\Api\UpdateIftttIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function UpdateIftttIntegration(\Chirpstack\Api\UpdateIftttIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/UpdateIftttIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete IFTTT integration.
|
||||
* @param \Chirpstack\Api\DeleteIftttIntegrationRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function DeleteIftttIntegration(\Chirpstack\Api\DeleteIftttIntegrationRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/DeleteIftttIntegration',
|
||||
$argument,
|
||||
['\Google\Protobuf\GPBEmpty', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates application ID specific client-certificate.
|
||||
* @param \Chirpstack\Api\GenerateMqttIntegrationClientCertificateRequest $argument input argument
|
||||
* @param array $metadata metadata
|
||||
* @param array $options call options
|
||||
* @return \Grpc\UnaryCall
|
||||
*/
|
||||
public function GenerateMqttIntegrationClientCertificate(\Chirpstack\Api\GenerateMqttIntegrationClientCertificateRequest $argument,
|
||||
$metadata = [], $options = []) {
|
||||
return $this->_simpleRequest('/api.ApplicationService/GenerateMqttIntegrationClientCertificate',
|
||||
$argument,
|
||||
['\Chirpstack\Api\GenerateMqttIntegrationClientCertificateResponse', 'decode'],
|
||||
$metadata, $options);
|
||||
}
|
||||
|
||||
}
|
235
api/php/generated/Chirpstack/Api/AwsSnsIntegration.php
vendored
Normal file
235
api/php/generated/Chirpstack/Api/AwsSnsIntegration.php
vendored
Normal file
@ -0,0 +1,235 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.AwsSnsIntegration</code>
|
||||
*/
|
||||
class AwsSnsIntegration extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
/**
|
||||
* Encoding.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
||||
*/
|
||||
protected $encoding = 0;
|
||||
/**
|
||||
* AWS region.
|
||||
*
|
||||
* Generated from protobuf field <code>string region = 3;</code>
|
||||
*/
|
||||
protected $region = '';
|
||||
/**
|
||||
* AWS Access Key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string access_key_id = 4;</code>
|
||||
*/
|
||||
protected $access_key_id = '';
|
||||
/**
|
||||
* AWS Secret Access Key.
|
||||
*
|
||||
* Generated from protobuf field <code>string secret_access_key = 5;</code>
|
||||
*/
|
||||
protected $secret_access_key = '';
|
||||
/**
|
||||
* Topic ARN.
|
||||
*
|
||||
* Generated from protobuf field <code>string topic_arn = 6;</code>
|
||||
*/
|
||||
protected $topic_arn = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* @type int $encoding
|
||||
* Encoding.
|
||||
* @type string $region
|
||||
* AWS region.
|
||||
* @type string $access_key_id
|
||||
* AWS Access Key ID.
|
||||
* @type string $secret_access_key
|
||||
* AWS Secret Access Key.
|
||||
* @type string $topic_arn
|
||||
* Topic ARN.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Encoding.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getEncoding()
|
||||
{
|
||||
return $this->encoding;
|
||||
}
|
||||
|
||||
/**
|
||||
* Encoding.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setEncoding($var)
|
||||
{
|
||||
GPBUtil::checkEnum($var, \Chirpstack\Api\Encoding::class);
|
||||
$this->encoding = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* AWS region.
|
||||
*
|
||||
* Generated from protobuf field <code>string region = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getRegion()
|
||||
{
|
||||
return $this->region;
|
||||
}
|
||||
|
||||
/**
|
||||
* AWS region.
|
||||
*
|
||||
* Generated from protobuf field <code>string region = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRegion($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->region = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* AWS Access Key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string access_key_id = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getAccessKeyId()
|
||||
{
|
||||
return $this->access_key_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* AWS Access Key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string access_key_id = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccessKeyId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->access_key_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* AWS Secret Access Key.
|
||||
*
|
||||
* Generated from protobuf field <code>string secret_access_key = 5;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getSecretAccessKey()
|
||||
{
|
||||
return $this->secret_access_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* AWS Secret Access Key.
|
||||
*
|
||||
* Generated from protobuf field <code>string secret_access_key = 5;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecretAccessKey($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->secret_access_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Topic ARN.
|
||||
*
|
||||
* Generated from protobuf field <code>string topic_arn = 6;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getTopicArn()
|
||||
{
|
||||
return $this->topic_arn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Topic ARN.
|
||||
*
|
||||
* Generated from protobuf field <code>string topic_arn = 6;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopicArn($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->topic_arn = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
171
api/php/generated/Chirpstack/Api/AzureServiceBusIntegration.php
vendored
Normal file
171
api/php/generated/Chirpstack/Api/AzureServiceBusIntegration.php
vendored
Normal file
@ -0,0 +1,171 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.AzureServiceBusIntegration</code>
|
||||
*/
|
||||
class AzureServiceBusIntegration extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
/**
|
||||
* Encoding.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
||||
*/
|
||||
protected $encoding = 0;
|
||||
/**
|
||||
* Connection string.
|
||||
*
|
||||
* Generated from protobuf field <code>string connection_string = 3;</code>
|
||||
*/
|
||||
protected $connection_string = '';
|
||||
/**
|
||||
* Publish name.
|
||||
* This is the name of the topic or queue.
|
||||
*
|
||||
* Generated from protobuf field <code>string publish_name = 4;</code>
|
||||
*/
|
||||
protected $publish_name = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* @type int $encoding
|
||||
* Encoding.
|
||||
* @type string $connection_string
|
||||
* Connection string.
|
||||
* @type string $publish_name
|
||||
* Publish name.
|
||||
* This is the name of the topic or queue.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Encoding.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getEncoding()
|
||||
{
|
||||
return $this->encoding;
|
||||
}
|
||||
|
||||
/**
|
||||
* Encoding.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setEncoding($var)
|
||||
{
|
||||
GPBUtil::checkEnum($var, \Chirpstack\Api\Encoding::class);
|
||||
$this->encoding = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Connection string.
|
||||
*
|
||||
* Generated from protobuf field <code>string connection_string = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getConnectionString()
|
||||
{
|
||||
return $this->connection_string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Connection string.
|
||||
*
|
||||
* Generated from protobuf field <code>string connection_string = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setConnectionString($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->connection_string = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Publish name.
|
||||
* This is the name of the topic or queue.
|
||||
*
|
||||
* Generated from protobuf field <code>string publish_name = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getPublishName()
|
||||
{
|
||||
return $this->publish_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Publish name.
|
||||
* This is the name of the topic or queue.
|
||||
*
|
||||
* Generated from protobuf field <code>string publish_name = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPublishName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->publish_name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
80
api/php/generated/Chirpstack/Api/CadPeriodicity.php
vendored
Normal file
80
api/php/generated/Chirpstack/Api/CadPeriodicity.php
vendored
Normal file
@ -0,0 +1,80 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device_profile.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use UnexpectedValueException;
|
||||
|
||||
/**
|
||||
* Protobuf type <code>api.CadPeriodicity</code>
|
||||
*/
|
||||
class CadPeriodicity
|
||||
{
|
||||
/**
|
||||
* 1 second.
|
||||
*
|
||||
* Generated from protobuf enum <code>SEC_1 = 0;</code>
|
||||
*/
|
||||
const SEC_1 = 0;
|
||||
/**
|
||||
* 500 milliseconds
|
||||
*
|
||||
* Generated from protobuf enum <code>MS_500 = 1;</code>
|
||||
*/
|
||||
const MS_500 = 1;
|
||||
/**
|
||||
* 250 milliseconds
|
||||
*
|
||||
* Generated from protobuf enum <code>MS_250 = 2;</code>
|
||||
*/
|
||||
const MS_250 = 2;
|
||||
/**
|
||||
* 100 milliseconds
|
||||
*
|
||||
* Generated from protobuf enum <code>MS_100 = 3;</code>
|
||||
*/
|
||||
const MS_100 = 3;
|
||||
/**
|
||||
* 50 milliseconds
|
||||
*
|
||||
* Generated from protobuf enum <code>MS_50 = 4;</code>
|
||||
*/
|
||||
const MS_50 = 4;
|
||||
/**
|
||||
* 20 milliseconds
|
||||
*
|
||||
* Generated from protobuf enum <code>MS_20 = 5;</code>
|
||||
*/
|
||||
const MS_20 = 5;
|
||||
|
||||
private static $valueToName = [
|
||||
self::SEC_1 => 'SEC_1',
|
||||
self::MS_500 => 'MS_500',
|
||||
self::MS_250 => 'MS_250',
|
||||
self::MS_100 => 'MS_100',
|
||||
self::MS_50 => 'MS_50',
|
||||
self::MS_20 => 'MS_20',
|
||||
];
|
||||
|
||||
public static function name($value)
|
||||
{
|
||||
if (!isset(self::$valueToName[$value])) {
|
||||
throw new UnexpectedValueException(sprintf(
|
||||
'Enum %s has no name defined for value %s', __CLASS__, $value));
|
||||
}
|
||||
return self::$valueToName[$value];
|
||||
}
|
||||
|
||||
|
||||
public static function value($name)
|
||||
{
|
||||
$const = __CLASS__ . '::' . strtoupper($name);
|
||||
if (!defined($const)) {
|
||||
throw new UnexpectedValueException(sprintf(
|
||||
'Enum %s has no value defined for name %s', __CLASS__, $name));
|
||||
}
|
||||
return constant($const);
|
||||
}
|
||||
}
|
||||
|
59
api/php/generated/Chirpstack/Api/CodecRuntime.php
vendored
Normal file
59
api/php/generated/Chirpstack/Api/CodecRuntime.php
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device_profile.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use UnexpectedValueException;
|
||||
|
||||
/**
|
||||
* Protobuf type <code>api.CodecRuntime</code>
|
||||
*/
|
||||
class CodecRuntime
|
||||
{
|
||||
/**
|
||||
* None.
|
||||
*
|
||||
* Generated from protobuf enum <code>NONE = 0;</code>
|
||||
*/
|
||||
const NONE = 0;
|
||||
/**
|
||||
* Cayenne LPP.
|
||||
*
|
||||
* Generated from protobuf enum <code>CAYENNE_LPP = 1;</code>
|
||||
*/
|
||||
const CAYENNE_LPP = 1;
|
||||
/**
|
||||
* JavaScript.
|
||||
*
|
||||
* Generated from protobuf enum <code>JS = 2;</code>
|
||||
*/
|
||||
const JS = 2;
|
||||
|
||||
private static $valueToName = [
|
||||
self::NONE => 'NONE',
|
||||
self::CAYENNE_LPP => 'CAYENNE_LPP',
|
||||
self::JS => 'JS',
|
||||
];
|
||||
|
||||
public static function name($value)
|
||||
{
|
||||
if (!isset(self::$valueToName[$value])) {
|
||||
throw new UnexpectedValueException(sprintf(
|
||||
'Enum %s has no name defined for value %s', __CLASS__, $value));
|
||||
}
|
||||
return self::$valueToName[$value];
|
||||
}
|
||||
|
||||
|
||||
public static function value($name)
|
||||
{
|
||||
$const = __CLASS__ . '::' . strtoupper($name);
|
||||
if (!defined($const)) {
|
||||
throw new UnexpectedValueException(sprintf(
|
||||
'Enum %s has no value defined for name %s', __CLASS__, $name));
|
||||
}
|
||||
return constant($const);
|
||||
}
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateApiKeyRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateApiKeyRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/internal.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateApiKeyRequest</code>
|
||||
*/
|
||||
class CreateApiKeyRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The API key to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ApiKey api_key = 1;</code>
|
||||
*/
|
||||
protected $api_key = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\ApiKey $api_key
|
||||
* The API key to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* The API key to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ApiKey api_key = 1;</code>
|
||||
* @return \Chirpstack\Api\ApiKey|null
|
||||
*/
|
||||
public function getApiKey()
|
||||
{
|
||||
return $this->api_key;
|
||||
}
|
||||
|
||||
public function hasApiKey()
|
||||
{
|
||||
return isset($this->api_key);
|
||||
}
|
||||
|
||||
public function clearApiKey()
|
||||
{
|
||||
unset($this->api_key);
|
||||
}
|
||||
|
||||
/**
|
||||
* The API key to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ApiKey api_key = 1;</code>
|
||||
* @param \Chirpstack\Api\ApiKey $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApiKey($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\ApiKey::class);
|
||||
$this->api_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
99
api/php/generated/Chirpstack/Api/CreateApiKeyResponse.php
vendored
Normal file
99
api/php/generated/Chirpstack/Api/CreateApiKeyResponse.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/internal.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateApiKeyResponse</code>
|
||||
*/
|
||||
class CreateApiKeyResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
/**
|
||||
* API token for authentication API requests.
|
||||
*
|
||||
* Generated from protobuf field <code>string token = 2;</code>
|
||||
*/
|
||||
protected $token = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* API key ID.
|
||||
* @type string $token
|
||||
* API token for authentication API requests.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* API token for authentication API requests.
|
||||
*
|
||||
* Generated from protobuf field <code>string token = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getToken()
|
||||
{
|
||||
return $this->token;
|
||||
}
|
||||
|
||||
/**
|
||||
* API token for authentication API requests.
|
||||
*
|
||||
* Generated from protobuf field <code>string token = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setToken($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->token = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateApplicationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateApplicationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateApplicationRequest</code>
|
||||
*/
|
||||
class CreateApplicationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Application application = 1;</code>
|
||||
*/
|
||||
protected $application = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\Application $application
|
||||
* Application object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Application application = 1;</code>
|
||||
* @return \Chirpstack\Api\Application|null
|
||||
*/
|
||||
public function getApplication()
|
||||
{
|
||||
return $this->application;
|
||||
}
|
||||
|
||||
public function hasApplication()
|
||||
{
|
||||
return isset($this->application);
|
||||
}
|
||||
|
||||
public function clearApplication()
|
||||
{
|
||||
unset($this->application);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Application application = 1;</code>
|
||||
* @param \Chirpstack\Api\Application $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplication($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\Application::class);
|
||||
$this->application = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/CreateApplicationResponse.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/CreateApplicationResponse.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateApplicationResponse</code>
|
||||
*/
|
||||
class CreateApplicationResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateAwsSnsIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateAwsSnsIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateAwsSnsIntegrationRequest</code>
|
||||
*/
|
||||
class CreateAwsSnsIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.AwsSnsIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\AwsSnsIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.AwsSnsIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\AwsSnsIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.AwsSnsIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\AwsSnsIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\AwsSnsIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateAzureServiceBusIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateAzureServiceBusIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateAzureServiceBusIntegrationRequest</code>
|
||||
*/
|
||||
class CreateAzureServiceBusIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.AzureServiceBusIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\AzureServiceBusIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.AzureServiceBusIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\AzureServiceBusIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.AzureServiceBusIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\AzureServiceBusIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\AzureServiceBusIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateDeviceKeysRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateDeviceKeysRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateDeviceKeysRequest</code>
|
||||
*/
|
||||
class CreateDeviceKeysRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Device-keys object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceKeys device_keys = 1;</code>
|
||||
*/
|
||||
protected $device_keys = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\DeviceKeys $device_keys
|
||||
* Device-keys object.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Device-keys object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceKeys device_keys = 1;</code>
|
||||
* @return \Chirpstack\Api\DeviceKeys|null
|
||||
*/
|
||||
public function getDeviceKeys()
|
||||
{
|
||||
return $this->device_keys;
|
||||
}
|
||||
|
||||
public function hasDeviceKeys()
|
||||
{
|
||||
return isset($this->device_keys);
|
||||
}
|
||||
|
||||
public function clearDeviceKeys()
|
||||
{
|
||||
unset($this->device_keys);
|
||||
}
|
||||
|
||||
/**
|
||||
* Device-keys object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceKeys device_keys = 1;</code>
|
||||
* @param \Chirpstack\Api\DeviceKeys $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceKeys($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\DeviceKeys::class);
|
||||
$this->device_keys = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateDeviceProfileRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateDeviceProfileRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device_profile.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateDeviceProfileRequest</code>
|
||||
*/
|
||||
class CreateDeviceProfileRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceProfile device_profile = 1;</code>
|
||||
*/
|
||||
protected $device_profile = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\DeviceProfile $device_profile
|
||||
* Object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\DeviceProfile::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceProfile device_profile = 1;</code>
|
||||
* @return \Chirpstack\Api\DeviceProfile|null
|
||||
*/
|
||||
public function getDeviceProfile()
|
||||
{
|
||||
return $this->device_profile;
|
||||
}
|
||||
|
||||
public function hasDeviceProfile()
|
||||
{
|
||||
return isset($this->device_profile);
|
||||
}
|
||||
|
||||
public function clearDeviceProfile()
|
||||
{
|
||||
unset($this->device_profile);
|
||||
}
|
||||
|
||||
/**
|
||||
* Object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceProfile device_profile = 1;</code>
|
||||
* @param \Chirpstack\Api\DeviceProfile $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceProfile($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\DeviceProfile::class);
|
||||
$this->device_profile = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/CreateDeviceProfileResponse.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/CreateDeviceProfileResponse.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device_profile.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateDeviceProfileResponse</code>
|
||||
*/
|
||||
class CreateDeviceProfileResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\DeviceProfile::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateDeviceProfileTemplateRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateDeviceProfileTemplateRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device_profile_template.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateDeviceProfileTemplateRequest</code>
|
||||
*/
|
||||
class CreateDeviceProfileTemplateRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceProfileTemplate device_profile_template = 1;</code>
|
||||
*/
|
||||
protected $device_profile_template = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\DeviceProfileTemplate $device_profile_template
|
||||
* Object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\DeviceProfileTemplate::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceProfileTemplate device_profile_template = 1;</code>
|
||||
* @return \Chirpstack\Api\DeviceProfileTemplate|null
|
||||
*/
|
||||
public function getDeviceProfileTemplate()
|
||||
{
|
||||
return $this->device_profile_template;
|
||||
}
|
||||
|
||||
public function hasDeviceProfileTemplate()
|
||||
{
|
||||
return isset($this->device_profile_template);
|
||||
}
|
||||
|
||||
public function clearDeviceProfileTemplate()
|
||||
{
|
||||
unset($this->device_profile_template);
|
||||
}
|
||||
|
||||
/**
|
||||
* Object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceProfileTemplate device_profile_template = 1;</code>
|
||||
* @param \Chirpstack\Api\DeviceProfileTemplate $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceProfileTemplate($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\DeviceProfileTemplate::class);
|
||||
$this->device_profile_template = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateDeviceRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateDeviceRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateDeviceRequest</code>
|
||||
*/
|
||||
class CreateDeviceRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Device object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Device device = 1;</code>
|
||||
*/
|
||||
protected $device = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\Device $device
|
||||
* Device object.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Device object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Device device = 1;</code>
|
||||
* @return \Chirpstack\Api\Device|null
|
||||
*/
|
||||
public function getDevice()
|
||||
{
|
||||
return $this->device;
|
||||
}
|
||||
|
||||
public function hasDevice()
|
||||
{
|
||||
return isset($this->device);
|
||||
}
|
||||
|
||||
public function clearDevice()
|
||||
{
|
||||
unset($this->device);
|
||||
}
|
||||
|
||||
/**
|
||||
* Device object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Device device = 1;</code>
|
||||
* @param \Chirpstack\Api\Device $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevice($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\Device::class);
|
||||
$this->device = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateGatewayRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateGatewayRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/gateway.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateGatewayRequest</code>
|
||||
*/
|
||||
class CreateGatewayRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Gateway object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
||||
*/
|
||||
protected $gateway = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\Gateway $gateway
|
||||
* Gateway object.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Gateway::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
||||
* @return \Chirpstack\Api\Gateway|null
|
||||
*/
|
||||
public function getGateway()
|
||||
{
|
||||
return $this->gateway;
|
||||
}
|
||||
|
||||
public function hasGateway()
|
||||
{
|
||||
return isset($this->gateway);
|
||||
}
|
||||
|
||||
public function clearGateway()
|
||||
{
|
||||
unset($this->gateway);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Gateway gateway = 1;</code>
|
||||
* @param \Chirpstack\Api\Gateway $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setGateway($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\Gateway::class);
|
||||
$this->gateway = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateGcpPubSubIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateGcpPubSubIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateGcpPubSubIntegrationRequest</code>
|
||||
*/
|
||||
class CreateGcpPubSubIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.GcpPubSubIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\GcpPubSubIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.GcpPubSubIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\GcpPubSubIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.GcpPubSubIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\GcpPubSubIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\GcpPubSubIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateHttpIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateHttpIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateHttpIntegrationRequest</code>
|
||||
*/
|
||||
class CreateHttpIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.HttpIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\HttpIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.HttpIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\HttpIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.HttpIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\HttpIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\HttpIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateIftttIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateIftttIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateIftttIntegrationRequest</code>
|
||||
*/
|
||||
class CreateIftttIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.IftttIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\IftttIntegration $integration
|
||||
* Integration object.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.IftttIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\IftttIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.IftttIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\IftttIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\IftttIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateInfluxDbIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateInfluxDbIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateInfluxDbIntegrationRequest</code>
|
||||
*/
|
||||
class CreateInfluxDbIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.InfluxDbIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\InfluxDbIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.InfluxDbIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\InfluxDbIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.InfluxDbIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\InfluxDbIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\InfluxDbIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateLoraCloudIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateLoraCloudIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateLoraCloudIntegrationRequest</code>
|
||||
*/
|
||||
class CreateLoraCloudIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.LoraCloudIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\LoraCloudIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.LoraCloudIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\LoraCloudIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.LoraCloudIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\LoraCloudIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\LoraCloudIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateMulticastGroupRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateMulticastGroupRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/multicast_group.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateMulticastGroupRequest</code>
|
||||
*/
|
||||
class CreateMulticastGroupRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Multicast group to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.MulticastGroup multicast_group = 1;</code>
|
||||
*/
|
||||
protected $multicast_group = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\MulticastGroup $multicast_group
|
||||
* Multicast group to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\MulticastGroup::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Multicast group to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.MulticastGroup multicast_group = 1;</code>
|
||||
* @return \Chirpstack\Api\MulticastGroup|null
|
||||
*/
|
||||
public function getMulticastGroup()
|
||||
{
|
||||
return $this->multicast_group;
|
||||
}
|
||||
|
||||
public function hasMulticastGroup()
|
||||
{
|
||||
return isset($this->multicast_group);
|
||||
}
|
||||
|
||||
public function clearMulticastGroup()
|
||||
{
|
||||
unset($this->multicast_group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Multicast group to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.MulticastGroup multicast_group = 1;</code>
|
||||
* @param \Chirpstack\Api\MulticastGroup $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMulticastGroup($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\MulticastGroup::class);
|
||||
$this->multicast_group = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/CreateMulticastGroupResponse.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/CreateMulticastGroupResponse.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/multicast_group.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateMulticastGroupResponse</code>
|
||||
*/
|
||||
class CreateMulticastGroupResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* ID of created multicast group (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* ID of created multicast group (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\MulticastGroup::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* ID of created multicast group (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID of created multicast group (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateMyDevicesIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateMyDevicesIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateMyDevicesIntegrationRequest</code>
|
||||
*/
|
||||
class CreateMyDevicesIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.MyDevicesIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\MyDevicesIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.MyDevicesIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\MyDevicesIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.MyDevicesIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\MyDevicesIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\MyDevicesIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreatePilotThingsIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreatePilotThingsIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreatePilotThingsIntegrationRequest</code>
|
||||
*/
|
||||
class CreatePilotThingsIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.PilotThingsIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\PilotThingsIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.PilotThingsIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\PilotThingsIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.PilotThingsIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\PilotThingsIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\PilotThingsIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateTenantRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateTenantRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/tenant.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateTenantRequest</code>
|
||||
*/
|
||||
class CreateTenantRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Tenant object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Tenant tenant = 1;</code>
|
||||
*/
|
||||
protected $tenant = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\Tenant $tenant
|
||||
* Tenant object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Tenant::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Tenant tenant = 1;</code>
|
||||
* @return \Chirpstack\Api\Tenant|null
|
||||
*/
|
||||
public function getTenant()
|
||||
{
|
||||
return $this->tenant;
|
||||
}
|
||||
|
||||
public function hasTenant()
|
||||
{
|
||||
return isset($this->tenant);
|
||||
}
|
||||
|
||||
public function clearTenant()
|
||||
{
|
||||
unset($this->tenant);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.Tenant tenant = 1;</code>
|
||||
* @param \Chirpstack\Api\Tenant $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTenant($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\Tenant::class);
|
||||
$this->tenant = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/CreateTenantResponse.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/CreateTenantResponse.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/tenant.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateTenantResponse</code>
|
||||
*/
|
||||
class CreateTenantResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* Tenant ID.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Tenant::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
75
api/php/generated/Chirpstack/Api/CreateThingsBoardIntegrationRequest.php
vendored
Normal file
75
api/php/generated/Chirpstack/Api/CreateThingsBoardIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateThingsBoardIntegrationRequest</code>
|
||||
*/
|
||||
class CreateThingsBoardIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ThingsBoardIntegration integration = 1;</code>
|
||||
*/
|
||||
protected $integration = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\ThingsBoardIntegration $integration
|
||||
* Integration object to create.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ThingsBoardIntegration integration = 1;</code>
|
||||
* @return \Chirpstack\Api\ThingsBoardIntegration|null
|
||||
*/
|
||||
public function getIntegration()
|
||||
{
|
||||
return $this->integration;
|
||||
}
|
||||
|
||||
public function hasIntegration()
|
||||
{
|
||||
return isset($this->integration);
|
||||
}
|
||||
|
||||
public function clearIntegration()
|
||||
{
|
||||
unset($this->integration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Integration object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.ThingsBoardIntegration integration = 1;</code>
|
||||
* @param \Chirpstack\Api\ThingsBoardIntegration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIntegration($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\ThingsBoardIntegration::class);
|
||||
$this->integration = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
143
api/php/generated/Chirpstack/Api/CreateUserRequest.php
vendored
Normal file
143
api/php/generated/Chirpstack/Api/CreateUserRequest.php
vendored
Normal file
@ -0,0 +1,143 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/user.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateUserRequest</code>
|
||||
*/
|
||||
class CreateUserRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* User object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.User user = 1;</code>
|
||||
*/
|
||||
protected $user = null;
|
||||
/**
|
||||
* Password to set for the user.
|
||||
*
|
||||
* Generated from protobuf field <code>string password = 2;</code>
|
||||
*/
|
||||
protected $password = '';
|
||||
/**
|
||||
* Add the user to the following tenants.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .api.UserTenant tenants = 3;</code>
|
||||
*/
|
||||
private $tenants;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Api\User $user
|
||||
* User object to create.
|
||||
* @type string $password
|
||||
* Password to set for the user.
|
||||
* @type array<\Chirpstack\Api\UserTenant>|\Google\Protobuf\Internal\RepeatedField $tenants
|
||||
* Add the user to the following tenants.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\User::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* User object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.User user = 1;</code>
|
||||
* @return \Chirpstack\Api\User|null
|
||||
*/
|
||||
public function getUser()
|
||||
{
|
||||
return $this->user;
|
||||
}
|
||||
|
||||
public function hasUser()
|
||||
{
|
||||
return isset($this->user);
|
||||
}
|
||||
|
||||
public function clearUser()
|
||||
{
|
||||
unset($this->user);
|
||||
}
|
||||
|
||||
/**
|
||||
* User object to create.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.User user = 1;</code>
|
||||
* @param \Chirpstack\Api\User $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setUser($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\User::class);
|
||||
$this->user = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Password to set for the user.
|
||||
*
|
||||
* Generated from protobuf field <code>string password = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getPassword()
|
||||
{
|
||||
return $this->password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Password to set for the user.
|
||||
*
|
||||
* Generated from protobuf field <code>string password = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPassword($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->password = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the user to the following tenants.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .api.UserTenant tenants = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getTenants()
|
||||
{
|
||||
return $this->tenants;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the user to the following tenants.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .api.UserTenant tenants = 3;</code>
|
||||
* @param array<\Chirpstack\Api\UserTenant>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTenants($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Chirpstack\Api\UserTenant::class);
|
||||
$this->tenants = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/CreateUserResponse.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/CreateUserResponse.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/user.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.CreateUserResponse</code>
|
||||
*/
|
||||
class CreateUserResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* User ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* User ID.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\User::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* User ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* User ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeactivateDeviceRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeactivateDeviceRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeactivateDeviceRequest</code>
|
||||
*/
|
||||
class DeactivateDeviceRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $dev_eui
|
||||
* DevEUI (EUI64).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteApiKeyRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteApiKeyRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/internal.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteApiKeyRequest</code>
|
||||
*/
|
||||
class DeleteApiKeyRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* API key ID.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* API key ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteApplicationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteApplicationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteApplicationRequest</code>
|
||||
*/
|
||||
class DeleteApplicationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteAwsSnsIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteAwsSnsIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteAwsSnsIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteAwsSnsIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteAzureServiceBusIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteAzureServiceBusIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteAzureServiceBusIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteAzureServiceBusIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteDeviceKeysRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteDeviceKeysRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteDeviceKeysRequest</code>
|
||||
*/
|
||||
class DeleteDeviceKeysRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $dev_eui
|
||||
* DevEUI (EUI64).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteDeviceProfileRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteDeviceProfileRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device_profile.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteDeviceProfileRequest</code>
|
||||
*/
|
||||
class DeleteDeviceProfileRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\DeviceProfile::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteDeviceProfileTemplateRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteDeviceProfileTemplateRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device_profile_template.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteDeviceProfileTemplateRequest</code>
|
||||
*/
|
||||
class DeleteDeviceProfileTemplateRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* ID.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\DeviceProfileTemplate::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteDeviceRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteDeviceRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteDeviceRequest</code>
|
||||
*/
|
||||
class DeleteDeviceRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $dev_eui
|
||||
* DevEUI (EUI64).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteGatewayRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteGatewayRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/gateway.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteGatewayRequest</code>
|
||||
*/
|
||||
class DeleteGatewayRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Gateway ID (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 1;</code>
|
||||
*/
|
||||
protected $gateway_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $gateway_id
|
||||
* Gateway ID (EUI64).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Gateway::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway ID (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getGatewayId()
|
||||
{
|
||||
return $this->gateway_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway ID (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setGatewayId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->gateway_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteGcpPubSubIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteGcpPubSubIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteGcpPubSubIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteGcpPubSubIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteHttpIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteHttpIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteHttpIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteHttpIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteIftttIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteIftttIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteIftttIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteIftttIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteInfluxDbIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteInfluxDbIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteInfluxDbIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteInfluxDbIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteLoraCloudIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteLoraCloudIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteLoraCloudIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteLoraCloudIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteMulticastGroupRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteMulticastGroupRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/multicast_group.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteMulticastGroupRequest</code>
|
||||
*/
|
||||
class DeleteMulticastGroupRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Multicast group iD.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* Multicast group iD.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\MulticastGroup::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Multicast group iD.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Multicast group iD.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteMyDevicesIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteMyDevicesIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteMyDevicesIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteMyDevicesIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeletePilotThingsIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeletePilotThingsIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeletePilotThingsIntegrationRequest</code>
|
||||
*/
|
||||
class DeletePilotThingsIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
99
api/php/generated/Chirpstack/Api/DeleteRelayGatewayRequest.php
vendored
Normal file
99
api/php/generated/Chirpstack/Api/DeleteRelayGatewayRequest.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/gateway.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteRelayGatewayRequest</code>
|
||||
*/
|
||||
class DeleteRelayGatewayRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 1;</code>
|
||||
*/
|
||||
protected $tenant_id = '';
|
||||
/**
|
||||
* Relay ID (4 byte HEX).
|
||||
*
|
||||
* Generated from protobuf field <code>string relay_id = 2;</code>
|
||||
*/
|
||||
protected $relay_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $tenant_id
|
||||
* Tenant ID.
|
||||
* @type string $relay_id
|
||||
* Relay ID (4 byte HEX).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Gateway::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getTenantId()
|
||||
{
|
||||
return $this->tenant_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTenantId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->tenant_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Relay ID (4 byte HEX).
|
||||
*
|
||||
* Generated from protobuf field <code>string relay_id = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getRelayId()
|
||||
{
|
||||
return $this->relay_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Relay ID (4 byte HEX).
|
||||
*
|
||||
* Generated from protobuf field <code>string relay_id = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRelayId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->relay_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteTenantRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteTenantRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/tenant.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteTenantRequest</code>
|
||||
*/
|
||||
class DeleteTenantRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* Tenant ID.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Tenant::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
99
api/php/generated/Chirpstack/Api/DeleteTenantUserRequest.php
vendored
Normal file
99
api/php/generated/Chirpstack/Api/DeleteTenantUserRequest.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/tenant.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteTenantUserRequest</code>
|
||||
*/
|
||||
class DeleteTenantUserRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Tenant ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 1;</code>
|
||||
*/
|
||||
protected $tenant_id = '';
|
||||
/**
|
||||
* User ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string user_id = 2;</code>
|
||||
*/
|
||||
protected $user_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $tenant_id
|
||||
* Tenant ID (UUID).
|
||||
* @type string $user_id
|
||||
* User ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Tenant::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getTenantId()
|
||||
{
|
||||
return $this->tenant_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tenant ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string tenant_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTenantId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->tenant_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* User ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string user_id = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getUserId()
|
||||
{
|
||||
return $this->user_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* User ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string user_id = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setUserId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->user_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteThingsBoardIntegrationRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteThingsBoardIntegrationRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/application.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteThingsBoardIntegrationRequest</code>
|
||||
*/
|
||||
class DeleteThingsBoardIntegrationRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
65
api/php/generated/Chirpstack/Api/DeleteUserRequest.php
vendored
Normal file
65
api/php/generated/Chirpstack/Api/DeleteUserRequest.php
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/user.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeleteUserRequest</code>
|
||||
*/
|
||||
class DeleteUserRequest extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* User ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* User ID.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\User::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* User ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* User ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
411
api/php/generated/Chirpstack/Api/Device.php
vendored
Normal file
411
api/php/generated/Chirpstack/Api/Device.php
vendored
Normal file
@ -0,0 +1,411 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.Device</code>
|
||||
*/
|
||||
class Device extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
*/
|
||||
protected $name = '';
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 3;</code>
|
||||
*/
|
||||
protected $description = '';
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 4;</code>
|
||||
*/
|
||||
protected $application_id = '';
|
||||
/**
|
||||
* Device-profile ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_id = 5;</code>
|
||||
*/
|
||||
protected $device_profile_id = '';
|
||||
/**
|
||||
* Skip frame-counter checks (this is insecure, but could be helpful for
|
||||
* debugging).
|
||||
*
|
||||
* Generated from protobuf field <code>bool skip_fcnt_check = 6;</code>
|
||||
*/
|
||||
protected $skip_fcnt_check = false;
|
||||
/**
|
||||
* Device is disabled.
|
||||
*
|
||||
* Generated from protobuf field <code>bool is_disabled = 7;</code>
|
||||
*/
|
||||
protected $is_disabled = false;
|
||||
/**
|
||||
* Variables (user defined).
|
||||
* These variables can be used together with integrations to store tokens /
|
||||
* secrets that must be configured per device. These variables are not
|
||||
* exposed in the event payloads.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> variables = 8;</code>
|
||||
*/
|
||||
private $variables;
|
||||
/**
|
||||
* Tags (user defined).
|
||||
* These tags can be used to add additional information to the device.
|
||||
* These tags are exposed in all the integration events.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> tags = 9;</code>
|
||||
*/
|
||||
private $tags;
|
||||
/**
|
||||
* JoinEUI (optional, EUI64).
|
||||
* This field will be automatically set / updated on OTAA. However, in some
|
||||
* cases it must be pre-configured. For example to allow OTAA using a Relay.
|
||||
* In this case the Relay needs to know the JoinEUI + DevEUI combinations
|
||||
* of the devices for which it needs to forward uplinks.
|
||||
*
|
||||
* Generated from protobuf field <code>string join_eui = 10;</code>
|
||||
*/
|
||||
protected $join_eui = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $dev_eui
|
||||
* DevEUI (EUI64).
|
||||
* @type string $name
|
||||
* Name.
|
||||
* @type string $description
|
||||
* Description.
|
||||
* @type string $application_id
|
||||
* Application ID (UUID).
|
||||
* @type string $device_profile_id
|
||||
* Device-profile ID (UUID).
|
||||
* @type bool $skip_fcnt_check
|
||||
* Skip frame-counter checks (this is insecure, but could be helpful for
|
||||
* debugging).
|
||||
* @type bool $is_disabled
|
||||
* Device is disabled.
|
||||
* @type array|\Google\Protobuf\Internal\MapField $variables
|
||||
* Variables (user defined).
|
||||
* These variables can be used together with integrations to store tokens /
|
||||
* secrets that must be configured per device. These variables are not
|
||||
* exposed in the event payloads.
|
||||
* @type array|\Google\Protobuf\Internal\MapField $tags
|
||||
* Tags (user defined).
|
||||
* These tags can be used to add additional information to the device.
|
||||
* These tags are exposed in all the integration events.
|
||||
* @type string $join_eui
|
||||
* JoinEUI (optional, EUI64).
|
||||
* This field will be automatically set / updated on OTAA. However, in some
|
||||
* cases it must be pre-configured. For example to allow OTAA using a Relay.
|
||||
* In this case the Relay needs to know the JoinEUI + DevEUI combinations
|
||||
* of the devices for which it needs to forward uplinks.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->description = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->application_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string application_id = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApplicationId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->application_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device-profile ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_id = 5;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDeviceProfileId()
|
||||
{
|
||||
return $this->device_profile_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device-profile ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_id = 5;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceProfileId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->device_profile_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Skip frame-counter checks (this is insecure, but could be helpful for
|
||||
* debugging).
|
||||
*
|
||||
* Generated from protobuf field <code>bool skip_fcnt_check = 6;</code>
|
||||
* @return bool
|
||||
*/
|
||||
public function getSkipFcntCheck()
|
||||
{
|
||||
return $this->skip_fcnt_check;
|
||||
}
|
||||
|
||||
/**
|
||||
* Skip frame-counter checks (this is insecure, but could be helpful for
|
||||
* debugging).
|
||||
*
|
||||
* Generated from protobuf field <code>bool skip_fcnt_check = 6;</code>
|
||||
* @param bool $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSkipFcntCheck($var)
|
||||
{
|
||||
GPBUtil::checkBool($var);
|
||||
$this->skip_fcnt_check = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device is disabled.
|
||||
*
|
||||
* Generated from protobuf field <code>bool is_disabled = 7;</code>
|
||||
* @return bool
|
||||
*/
|
||||
public function getIsDisabled()
|
||||
{
|
||||
return $this->is_disabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device is disabled.
|
||||
*
|
||||
* Generated from protobuf field <code>bool is_disabled = 7;</code>
|
||||
* @param bool $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIsDisabled($var)
|
||||
{
|
||||
GPBUtil::checkBool($var);
|
||||
$this->is_disabled = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Variables (user defined).
|
||||
* These variables can be used together with integrations to store tokens /
|
||||
* secrets that must be configured per device. These variables are not
|
||||
* exposed in the event payloads.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> variables = 8;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getVariables()
|
||||
{
|
||||
return $this->variables;
|
||||
}
|
||||
|
||||
/**
|
||||
* Variables (user defined).
|
||||
* These variables can be used together with integrations to store tokens /
|
||||
* secrets that must be configured per device. These variables are not
|
||||
* exposed in the event payloads.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> variables = 8;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setVariables($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->variables = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tags (user defined).
|
||||
* These tags can be used to add additional information to the device.
|
||||
* These tags are exposed in all the integration events.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> tags = 9;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getTags()
|
||||
{
|
||||
return $this->tags;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tags (user defined).
|
||||
* These tags can be used to add additional information to the device.
|
||||
* These tags are exposed in all the integration events.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> tags = 9;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTags($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->tags = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* JoinEUI (optional, EUI64).
|
||||
* This field will be automatically set / updated on OTAA. However, in some
|
||||
* cases it must be pre-configured. For example to allow OTAA using a Relay.
|
||||
* In this case the Relay needs to know the JoinEUI + DevEUI combinations
|
||||
* of the devices for which it needs to forward uplinks.
|
||||
*
|
||||
* Generated from protobuf field <code>string join_eui = 10;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getJoinEui()
|
||||
{
|
||||
return $this->join_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* JoinEUI (optional, EUI64).
|
||||
* This field will be automatically set / updated on OTAA. However, in some
|
||||
* cases it must be pre-configured. For example to allow OTAA using a Relay.
|
||||
* In this case the Relay needs to know the JoinEUI + DevEUI combinations
|
||||
* of the devices for which it needs to forward uplinks.
|
||||
*
|
||||
* Generated from protobuf field <code>string join_eui = 10;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setJoinEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->join_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
337
api/php/generated/Chirpstack/Api/DeviceActivation.php
vendored
Normal file
337
api/php/generated/Chirpstack/Api/DeviceActivation.php
vendored
Normal file
@ -0,0 +1,337 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeviceActivation</code>
|
||||
*/
|
||||
class DeviceActivation extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Device EUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
/**
|
||||
* Device address (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_addr = 2;</code>
|
||||
*/
|
||||
protected $dev_addr = '';
|
||||
/**
|
||||
* Application session key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string app_s_key = 3;</code>
|
||||
*/
|
||||
protected $app_s_key = '';
|
||||
/**
|
||||
* Network session encryption key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string nwk_s_enc_key = 4;</code>
|
||||
*/
|
||||
protected $nwk_s_enc_key = '';
|
||||
/**
|
||||
* Serving network session integrity key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string s_nwk_s_int_key = 8;</code>
|
||||
*/
|
||||
protected $s_nwk_s_int_key = '';
|
||||
/**
|
||||
* Forwarding network session integrity key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string f_nwk_s_int_key = 9;</code>
|
||||
*/
|
||||
protected $f_nwk_s_int_key = '';
|
||||
/**
|
||||
* Uplink frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 f_cnt_up = 5;</code>
|
||||
*/
|
||||
protected $f_cnt_up = 0;
|
||||
/**
|
||||
* Downlink network frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 n_f_cnt_down = 6;</code>
|
||||
*/
|
||||
protected $n_f_cnt_down = 0;
|
||||
/**
|
||||
* Downlink application frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 a_f_cnt_down = 10;</code>
|
||||
*/
|
||||
protected $a_f_cnt_down = 0;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $dev_eui
|
||||
* Device EUI (EUI64).
|
||||
* @type string $dev_addr
|
||||
* Device address (HEX encoded).
|
||||
* @type string $app_s_key
|
||||
* Application session key (HEX encoded).
|
||||
* @type string $nwk_s_enc_key
|
||||
* Network session encryption key (HEX encoded).
|
||||
* @type string $s_nwk_s_int_key
|
||||
* Serving network session integrity key (HEX encoded).
|
||||
* @type string $f_nwk_s_int_key
|
||||
* Forwarding network session integrity key (HEX encoded).
|
||||
* @type int $f_cnt_up
|
||||
* Uplink frame-counter.
|
||||
* @type int $n_f_cnt_down
|
||||
* Downlink network frame-counter.
|
||||
* @type int $a_f_cnt_down
|
||||
* Downlink application frame-counter.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Device EUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device EUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device address (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_addr = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevAddr()
|
||||
{
|
||||
return $this->dev_addr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device address (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_addr = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevAddr($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_addr = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application session key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string app_s_key = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getAppSKey()
|
||||
{
|
||||
return $this->app_s_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application session key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string app_s_key = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAppSKey($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->app_s_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Network session encryption key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string nwk_s_enc_key = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getNwkSEncKey()
|
||||
{
|
||||
return $this->nwk_s_enc_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Network session encryption key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string nwk_s_enc_key = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setNwkSEncKey($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->nwk_s_enc_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Serving network session integrity key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string s_nwk_s_int_key = 8;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getSNwkSIntKey()
|
||||
{
|
||||
return $this->s_nwk_s_int_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Serving network session integrity key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string s_nwk_s_int_key = 8;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSNwkSIntKey($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->s_nwk_s_int_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Forwarding network session integrity key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string f_nwk_s_int_key = 9;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getFNwkSIntKey()
|
||||
{
|
||||
return $this->f_nwk_s_int_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Forwarding network session integrity key (HEX encoded).
|
||||
*
|
||||
* Generated from protobuf field <code>string f_nwk_s_int_key = 9;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setFNwkSIntKey($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->f_nwk_s_int_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Uplink frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 f_cnt_up = 5;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getFCntUp()
|
||||
{
|
||||
return $this->f_cnt_up;
|
||||
}
|
||||
|
||||
/**
|
||||
* Uplink frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 f_cnt_up = 5;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setFCntUp($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->f_cnt_up = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink network frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 n_f_cnt_down = 6;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getNFCntDown()
|
||||
{
|
||||
return $this->n_f_cnt_down;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink network frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 n_f_cnt_down = 6;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setNFCntDown($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->n_f_cnt_down = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink application frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 a_f_cnt_down = 10;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getAFCntDown()
|
||||
{
|
||||
return $this->a_f_cnt_down;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink application frame-counter.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 a_f_cnt_down = 10;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAFCntDown($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->a_f_cnt_down = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
141
api/php/generated/Chirpstack/Api/DeviceKeys.php
vendored
Normal file
141
api/php/generated/Chirpstack/Api/DeviceKeys.php
vendored
Normal file
@ -0,0 +1,141 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeviceKeys</code>
|
||||
*/
|
||||
class DeviceKeys extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
/**
|
||||
* Network root key (128 bit).
|
||||
* Note: For LoRaWAN 1.0.x, use this field for the LoRaWAN 1.0.x 'AppKey`!
|
||||
*
|
||||
* Generated from protobuf field <code>string nwk_key = 2;</code>
|
||||
*/
|
||||
protected $nwk_key = '';
|
||||
/**
|
||||
* Application root key (128 bit).
|
||||
* Note: This field only needs to be set for LoRaWAN 1.1.x devices!
|
||||
*
|
||||
* Generated from protobuf field <code>string app_key = 3;</code>
|
||||
*/
|
||||
protected $app_key = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $dev_eui
|
||||
* DevEUI (EUI64).
|
||||
* @type string $nwk_key
|
||||
* Network root key (128 bit).
|
||||
* Note: For LoRaWAN 1.0.x, use this field for the LoRaWAN 1.0.x 'AppKey`!
|
||||
* @type string $app_key
|
||||
* Application root key (128 bit).
|
||||
* Note: This field only needs to be set for LoRaWAN 1.1.x devices!
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Network root key (128 bit).
|
||||
* Note: For LoRaWAN 1.0.x, use this field for the LoRaWAN 1.0.x 'AppKey`!
|
||||
*
|
||||
* Generated from protobuf field <code>string nwk_key = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getNwkKey()
|
||||
{
|
||||
return $this->nwk_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Network root key (128 bit).
|
||||
* Note: For LoRaWAN 1.0.x, use this field for the LoRaWAN 1.0.x 'AppKey`!
|
||||
*
|
||||
* Generated from protobuf field <code>string nwk_key = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setNwkKey($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->nwk_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application root key (128 bit).
|
||||
* Note: This field only needs to be set for LoRaWAN 1.1.x devices!
|
||||
*
|
||||
* Generated from protobuf field <code>string app_key = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getAppKey()
|
||||
{
|
||||
return $this->app_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Application root key (128 bit).
|
||||
* Note: This field only needs to be set for LoRaWAN 1.1.x devices!
|
||||
*
|
||||
* Generated from protobuf field <code>string app_key = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAppKey($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->app_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
377
api/php/generated/Chirpstack/Api/DeviceListItem.php
vendored
Normal file
377
api/php/generated/Chirpstack/Api/DeviceListItem.php
vendored
Normal file
@ -0,0 +1,377 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.proto
|
||||
|
||||
namespace Chirpstack\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>api.DeviceListItem</code>
|
||||
*/
|
||||
class DeviceListItem extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
*/
|
||||
protected $created_at = null;
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
*/
|
||||
protected $updated_at = null;
|
||||
/**
|
||||
* Last seen at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp last_seen_at = 4;</code>
|
||||
*/
|
||||
protected $last_seen_at = null;
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 5;</code>
|
||||
*/
|
||||
protected $name = '';
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 6;</code>
|
||||
*/
|
||||
protected $description = '';
|
||||
/**
|
||||
* Device-profile ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_id = 7;</code>
|
||||
*/
|
||||
protected $device_profile_id = '';
|
||||
/**
|
||||
* Device-profile name.
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_name = 8;</code>
|
||||
*/
|
||||
protected $device_profile_name = '';
|
||||
/**
|
||||
* Device status.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceStatus device_status = 9;</code>
|
||||
*/
|
||||
protected $device_status = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $dev_eui
|
||||
* DevEUI (EUI64).
|
||||
* @type \Google\Protobuf\Timestamp $created_at
|
||||
* Created at timestamp.
|
||||
* @type \Google\Protobuf\Timestamp $updated_at
|
||||
* Last update timestamp.
|
||||
* @type \Google\Protobuf\Timestamp $last_seen_at
|
||||
* Last seen at timestamp.
|
||||
* @type string $name
|
||||
* Name.
|
||||
* @type string $description
|
||||
* Description.
|
||||
* @type string $device_profile_id
|
||||
* Device-profile ID (UUID).
|
||||
* @type string $device_profile_name
|
||||
* Device-profile name.
|
||||
* @type \Chirpstack\Api\DeviceStatus $device_status
|
||||
* Device status.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* DevEUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getCreatedAt()
|
||||
{
|
||||
return $this->created_at;
|
||||
}
|
||||
|
||||
public function hasCreatedAt()
|
||||
{
|
||||
return isset($this->created_at);
|
||||
}
|
||||
|
||||
public function clearCreatedAt()
|
||||
{
|
||||
unset($this->created_at);
|
||||
}
|
||||
|
||||
/**
|
||||
* Created at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCreatedAt($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
||||
$this->created_at = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getUpdatedAt()
|
||||
{
|
||||
return $this->updated_at;
|
||||
}
|
||||
|
||||
public function hasUpdatedAt()
|
||||
{
|
||||
return isset($this->updated_at);
|
||||
}
|
||||
|
||||
public function clearUpdatedAt()
|
||||
{
|
||||
unset($this->updated_at);
|
||||
}
|
||||
|
||||
/**
|
||||
* Last update timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setUpdatedAt($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
||||
$this->updated_at = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last seen at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp last_seen_at = 4;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getLastSeenAt()
|
||||
{
|
||||
return $this->last_seen_at;
|
||||
}
|
||||
|
||||
public function hasLastSeenAt()
|
||||
{
|
||||
return isset($this->last_seen_at);
|
||||
}
|
||||
|
||||
public function clearLastSeenAt()
|
||||
{
|
||||
unset($this->last_seen_at);
|
||||
}
|
||||
|
||||
/**
|
||||
* Last seen at timestamp.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp last_seen_at = 4;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLastSeenAt($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
||||
$this->last_seen_at = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 5;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 5;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 6;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 6;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->description = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device-profile ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_id = 7;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDeviceProfileId()
|
||||
{
|
||||
return $this->device_profile_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device-profile ID (UUID).
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_id = 7;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceProfileId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->device_profile_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device-profile name.
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_name = 8;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDeviceProfileName()
|
||||
{
|
||||
return $this->device_profile_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device-profile name.
|
||||
*
|
||||
* Generated from protobuf field <code>string device_profile_name = 8;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceProfileName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->device_profile_name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device status.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceStatus device_status = 9;</code>
|
||||
* @return \Chirpstack\Api\DeviceStatus|null
|
||||
*/
|
||||
public function getDeviceStatus()
|
||||
{
|
||||
return $this->device_status;
|
||||
}
|
||||
|
||||
public function hasDeviceStatus()
|
||||
{
|
||||
return isset($this->device_status);
|
||||
}
|
||||
|
||||
public function clearDeviceStatus()
|
||||
{
|
||||
unset($this->device_status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Device status.
|
||||
*
|
||||
* Generated from protobuf field <code>.api.DeviceStatus device_status = 9;</code>
|
||||
* @param \Chirpstack\Api\DeviceStatus $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceStatus($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Api\DeviceStatus::class);
|
||||
$this->device_status = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user