diff --git a/Dockerfile-csharp b/Dockerfile-csharp
new file mode 100644
index 00000000..1075f88f
--- /dev/null
+++ b/Dockerfile-csharp
@@ -0,0 +1,14 @@
+FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
+
+RUN apt update && apt install -y make git
+RUN git clone --depth=1 --branch=master https://github.com/googleapis/googleapis.git /googleapis
+RUN mkdir -p /src/protobuf/google/api
+RUN cp -r /googleapis/google/api/*.proto /src/protobuf/google/api/
+
+WORKDIR /src
+COPY csharp .
+COPY protobuf /src/protobuf/
+
+
+#RUN dotnet restore "Chirpstack.Api.csproj"
+#RUN dotnet build "Chirpstack.Api.csproj" -c Release -o /app/build
\ No newline at end of file
diff --git a/csharp/Chirpstack.Api.csproj b/csharp/Chirpstack.Api.csproj
new file mode 100644
index 00000000..b6afbe9b
--- /dev/null
+++ b/csharp/Chirpstack.Api.csproj
@@ -0,0 +1,20 @@
+
+
+
+ net6.0
+ enable
+ enable
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
diff --git a/csharp/Makefile b/csharp/Makefile
new file mode 100644
index 00000000..3171dab2
--- /dev/null
+++ b/csharp/Makefile
@@ -0,0 +1,14 @@
+.PHONY: requirements
+
+all: requirements install
+
+requirements:
+ rm -rf /src/obj
+ dotnet clean "/src/Chirpstack.Api.csproj"
+
+install:
+ dotnet build "/src/Chirpstack.Api.csproj" -c Release -o /app/build
+
+copy:
+ mkdir -p /chirpstack-api/c-sharp/protobuf/
+ cp -r .. /chirpstack-api/c-sharp/protobuf/
diff --git a/csharp/Readme.md b/csharp/Readme.md
new file mode 100644
index 00000000..4e8116e8
--- /dev/null
+++ b/csharp/Readme.md
@@ -0,0 +1,123 @@
+# How to use gRPC with C#
+
+There are two ways to use the proto files
+
+## Create gRPC Client with proto files
+The standard practice in C# is to build the proto files each time you build your application. All you need is the proto files.
+
+Assuming you are in the root of this repository:
+
+```commandline
+dotnet new console -o GrpcChirpstackClient
+cp -r protobuf GrpcChirpstackClient/protobuf/
+cd GrpcChirpstackClient
+dotnet add package Grpc.Net.Client
+dotnet add package Google.Protobuf
+dotnet add package Grpc.Tools
+```
+To make this work we also need some google api proto references:
+
+Unix/Linux
+
+```commandline
+git clone --depth=1 --branch=master https://github.com/googleapis/googleapis.git googleapis
+mkdir -p protobuf/google/api
+cp -r googleapis/google/api/*.proto protobuf/google/api/
+rm -rf googleapis
+```
+
+
+
+Windows (PowerShell)
+
+```commandline
+git clone --depth=1 --branch=master https://github.com/googleapis/googleapis.git googleapis
+mkdir protobuf\google\api
+copy -r googleapis\google\api\*.proto protobuf\google\api\
+rm -r -force googleapis
+```
+
+
+Then edit your `GrpcChirpstackClient.csproj` and add an `` item group within the `` element
+
+GrpcChirpstackClient.csproj
+
+```xml
+
+
+
+
+
+
+```
+
+
+[Now continue on "For both ways"](#for-both-ways)
+
+## Use pre generate files
+Use the pre generated .cs files you'll find in `csharp/protobuf`.
+An example (assuming you are in the root of this repository)
+```
+cd csharp
+dotnet new console -o GrpcChirpstackClient
+cp -r protobuf GrpcChirpstackClient/ChirpstackApi/
+cd GrpcChirpstackClient
+dotnet add package Grpc.Net.Client
+dotnet add package Google.Protobuf
+```
+[Now continue on "For both ways"](#for-both-ways)
+
+
+## For both ways
+
+Edit the `Program.cs` file (don't forget to change the `chirpstackApiUrl` and the `chirpstackJwt`!)
+
+ Program.cs
+
+```csharp
+using System.Net.Http.Headers;
+using Grpc.Net.Client;
+using Chirpstack.ApplicationServer.External.Api;
+
+
+// The port number must match the port of the Chirpstack gRPC server.
+const string chirpstackApiUrl = "http://localhost:8080";
+//In order to use the gRPC API methods, you must provide per-RPC credentials.
+//Add the API TOKEN obtained using the web-interface here:
+const string chirpstackJwt = "ey......";
+
+
+//Creates http client for authentication
+var httpClient = new HttpClient();
+httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("bearer", chirpstackJwt);
+var channelOptions = new GrpcChannelOptions { HttpClient = httpClient };
+//Creates GrpcChannel and Client
+using var channel = GrpcChannel.ForAddress(chirpstackApiUrl, channelOptions);
+var client = new OrganizationService.OrganizationServiceClient(channel);
+
+//List all organizations...
+
+var reply = await client.ListAsync(new ListOrganizationRequest { Limit = 10 });
+//... and print them
+Console.WriteLine($"Found {reply.TotalCount} organizations:");
+foreach (var org in reply.Result)
+{
+ Console.WriteLine($"\t'{org.Name}' with Id {org.Id}");
+}
+
+Console.WriteLine("Press any key to exit...");
+Console.ReadKey();
+```
+
+
+When done just run the executable:
+```commandline
+dotnet run
+```
+You should see something like this if everything worked:
+```commandline
+Found 1 organizations:
+ 'chirpstack' with Id 1
+Press any key to exit...
+```
+
diff --git a/csharp/protobuf/as/As.cs b/csharp/protobuf/as/As.cs
new file mode 100644
index 00000000..8a72f824
--- /dev/null
+++ b/csharp/protobuf/as/As.cs
@@ -0,0 +1,4676 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: as/as.proto
+//
+#pragma warning disable 1591, 0612, 3021, 8981
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Chirpstack.ApplicationServer {
+
+ /// Holder for reflection information generated from as/as.proto
+ public static partial class AsReflection {
+
+ #region Descriptor
+ /// File descriptor for as/as.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static AsReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Cgthcy9hcy5wcm90bxICYXMaG2dvb2dsZS9wcm90b2J1Zi9lbXB0eS5wcm90",
+ "bxofZ29vZ2xlL3Byb3RvYnVmL3RpbWVzdGFtcC5wcm90bxoTY29tbW9uL2Nv",
+ "bW1vbi5wcm90bxoLZ3cvZ3cucHJvdG8iUwoXRGV2aWNlQWN0aXZhdGlvbkNv",
+ "bnRleHQSEAoIZGV2X2FkZHIYASABKAwSJgoJYXBw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::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Chirpstack.Common.CommonReflection.Descriptor, global::Chirpstack.Gateway.GwReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Chirpstack.ApplicationServer.RXWindow), typeof(global::Chirpstack.ApplicationServer.ErrorType), }, null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.DeviceActivationContext), global::Chirpstack.ApplicationServer.DeviceActivationContext.Parser, new[]{ "DevAddr", "AppSKey" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.HandleUplinkDataRequest), global::Chirpstack.ApplicationServer.HandleUplinkDataRequest.Parser, new[]{ "DevEui", "JoinEui", "FCnt", "FPort", "Adr", "Dr", "TxInfo", "RxInfo", "Data", "DeviceActivationContext", "ConfirmedUplink" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.HandleProprietaryUplinkRequest), global::Chirpstack.ApplicationServer.HandleProprietaryUplinkRequest.Parser, new[]{ "MacPayload", "Mic", "TxInfo", "RxInfo" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.HandleErrorRequest), global::Chirpstack.ApplicationServer.HandleErrorRequest.Parser, new[]{ "DevEui", "Type", "Error", "FCnt" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.HandleDownlinkACKRequest), global::Chirpstack.ApplicationServer.HandleDownlinkACKRequest.Parser, new[]{ "DevEui", "FCnt", "Acknowledged" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.SetDeviceStatusRequest), global::Chirpstack.ApplicationServer.SetDeviceStatusRequest.Parser, new[]{ "DevEui", "Battery", "Margin", "ExternalPowerSource", "BatteryLevelUnavailable", "BatteryLevel" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.SetDeviceLocationRequest), global::Chirpstack.ApplicationServer.SetDeviceLocationRequest.Parser, new[]{ "DevEui", "Location", "UplinkIds" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.HandleGatewayStatsRequest), global::Chirpstack.ApplicationServer.HandleGatewayStatsRequest.Parser, new[]{ "GatewayId", "StatsId", "Time", "Location", "RxPacketsReceived", "RxPacketsReceivedOk", "TxPacketsReceived", "TxPacketsEmitted", "Metadata", "TxPacketsPerFrequency", "RxPacketsPerFrequency", "TxPacketsPerDr", "RxPacketsPerDr", "TxPacketsPerStatus" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, null, null, null, }),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.HandleTxAckRequest), global::Chirpstack.ApplicationServer.HandleTxAckRequest.Parser, new[]{ "DevEui", "FCnt", "GatewayId", "TxInfo" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsRequest), global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsRequest.Parser, new[]{ "DevEui", "DevAddr", "FCntStart", "Items" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsResponse), global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsResponse.Parser, new[]{ "Items" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItem), global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItem.Parser, new[]{ "FrmPayload", "FCnt", "FPort", "Confirmed" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.ReEncryptedDeviceQueueItem), global::Chirpstack.ApplicationServer.ReEncryptedDeviceQueueItem.Parser, new[]{ "FrmPayload", "FCnt", "FPort", "Confirmed" }, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Enums
+ public enum RXWindow {
+ [pbr::OriginalName("RX1")] Rx1 = 0,
+ [pbr::OriginalName("RX2")] Rx2 = 1,
+ }
+
+ public enum ErrorType {
+ ///
+ /// Generic error type.
+ ///
+ [pbr::OriginalName("GENERIC")] Generic = 0,
+ ///
+ /// OTAA error.
+ ///
+ [pbr::OriginalName("OTAA")] Otaa = 1,
+ ///
+ /// Uplink frame-counter was reset.
+ ///
+ [pbr::OriginalName("DATA_UP_FCNT_RESET")] DataUpFcntReset = 2,
+ ///
+ /// Uplink MIC error.
+ ///
+ [pbr::OriginalName("DATA_UP_MIC")] DataUpMic = 3,
+ ///
+ /// Downlink payload size error.
+ ///
+ [pbr::OriginalName("DEVICE_QUEUE_ITEM_SIZE")] DeviceQueueItemSize = 4,
+ ///
+ /// Downlink frame-counter error.
+ ///
+ [pbr::OriginalName("DEVICE_QUEUE_ITEM_FCNT")] DeviceQueueItemFcnt = 5,
+ ///
+ /// Uplink frame-counter retransmission.
+ ///
+ [pbr::OriginalName("DATA_UP_FCNT_RETRANSMISSION")] DataUpFcntRetransmission = 6,
+ ///
+ /// Downlink gateway error.
+ ///
+ [pbr::OriginalName("DATA_DOWN_GATEWAY")] DataDownGateway = 7,
+ }
+
+ #endregion
+
+ #region Messages
+ public sealed partial class DeviceActivationContext : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeviceActivationContext());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeviceActivationContext() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeviceActivationContext(DeviceActivationContext other) : this() {
+ devAddr_ = other.devAddr_;
+ appSKey_ = other.appSKey_ != null ? other.appSKey_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeviceActivationContext Clone() {
+ return new DeviceActivationContext(this);
+ }
+
+ /// Field number for the "dev_addr" field.
+ public const int DevAddrFieldNumber = 1;
+ private pb::ByteString devAddr_ = pb::ByteString.Empty;
+ ///
+ /// Assigned Device Address.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevAddr {
+ get { return devAddr_; }
+ set {
+ devAddr_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "app_s_key" field.
+ public const int AppSKeyFieldNumber = 2;
+ private global::Chirpstack.Common.KeyEnvelope appSKey_;
+ ///
+ /// Application session key (envelope).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.Common.KeyEnvelope AppSKey {
+ get { return appSKey_; }
+ set {
+ appSKey_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeviceActivationContext);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeviceActivationContext other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DevAddr != other.DevAddr) return false;
+ if (!object.Equals(AppSKey, other.AppSKey)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DevAddr.Length != 0) hash ^= DevAddr.GetHashCode();
+ if (appSKey_ != null) hash ^= AppSKey.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (DevAddr.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevAddr);
+ }
+ if (appSKey_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AppSKey);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (DevAddr.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevAddr);
+ }
+ if (appSKey_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(AppSKey);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (DevAddr.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevAddr);
+ }
+ if (appSKey_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AppSKey);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeviceActivationContext other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DevAddr.Length != 0) {
+ DevAddr = other.DevAddr;
+ }
+ if (other.appSKey_ != null) {
+ if (appSKey_ == null) {
+ AppSKey = new global::Chirpstack.Common.KeyEnvelope();
+ }
+ AppSKey.MergeFrom(other.AppSKey);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ DevAddr = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ if (appSKey_ == null) {
+ AppSKey = new global::Chirpstack.Common.KeyEnvelope();
+ }
+ input.ReadMessage(AppSKey);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ DevAddr = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ if (appSKey_ == null) {
+ AppSKey = new global::Chirpstack.Common.KeyEnvelope();
+ }
+ input.ReadMessage(AppSKey);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class HandleUplinkDataRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HandleUplinkDataRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleUplinkDataRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleUplinkDataRequest(HandleUplinkDataRequest other) : this() {
+ devEui_ = other.devEui_;
+ joinEui_ = other.joinEui_;
+ fCnt_ = other.fCnt_;
+ fPort_ = other.fPort_;
+ adr_ = other.adr_;
+ dr_ = other.dr_;
+ txInfo_ = other.txInfo_ != null ? other.txInfo_.Clone() : null;
+ rxInfo_ = other.rxInfo_.Clone();
+ data_ = other.data_;
+ deviceActivationContext_ = other.deviceActivationContext_ != null ? other.deviceActivationContext_.Clone() : null;
+ confirmedUplink_ = other.confirmedUplink_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleUplinkDataRequest Clone() {
+ return new HandleUplinkDataRequest(this);
+ }
+
+ /// Field number for the "dev_eui" field.
+ public const int DevEuiFieldNumber = 1;
+ private pb::ByteString devEui_ = pb::ByteString.Empty;
+ ///
+ /// DevEUI EUI (8 bytes).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevEui {
+ get { return devEui_; }
+ set {
+ devEui_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "join_eui" field.
+ public const int JoinEuiFieldNumber = 2;
+ private pb::ByteString joinEui_ = pb::ByteString.Empty;
+ ///
+ /// Join EUI used for OTAA activation (8 bytes).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString JoinEui {
+ get { return joinEui_; }
+ set {
+ joinEui_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "f_cnt" field.
+ public const int FCntFieldNumber = 3;
+ private uint fCnt_;
+ ///
+ /// Frame-counter.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FCnt {
+ get { return fCnt_; }
+ set {
+ fCnt_ = value;
+ }
+ }
+
+ /// Field number for the "f_port" field.
+ public const int FPortFieldNumber = 4;
+ private uint fPort_;
+ ///
+ /// Frame port.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FPort {
+ get { return fPort_; }
+ set {
+ fPort_ = value;
+ }
+ }
+
+ /// Field number for the "adr" field.
+ public const int AdrFieldNumber = 5;
+ private bool adr_;
+ ///
+ /// ADR enabled.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Adr {
+ get { return adr_; }
+ set {
+ adr_ = value;
+ }
+ }
+
+ /// Field number for the "dr" field.
+ public const int DrFieldNumber = 6;
+ private uint dr_;
+ ///
+ /// Data-rate.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint Dr {
+ get { return dr_; }
+ set {
+ dr_ = value;
+ }
+ }
+
+ /// Field number for the "tx_info" field.
+ public const int TxInfoFieldNumber = 7;
+ private global::Chirpstack.Gateway.UplinkTXInfo txInfo_;
+ ///
+ /// TX meta-data.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.Gateway.UplinkTXInfo TxInfo {
+ get { return txInfo_; }
+ set {
+ txInfo_ = value;
+ }
+ }
+
+ /// Field number for the "rx_info" field.
+ public const int RxInfoFieldNumber = 8;
+ private static readonly pb::FieldCodec _repeated_rxInfo_codec
+ = pb::FieldCodec.ForMessage(66, global::Chirpstack.Gateway.UplinkRXInfo.Parser);
+ private readonly pbc::RepeatedField rxInfo_ = new pbc::RepeatedField();
+ ///
+ /// RX meta-data.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField RxInfo {
+ get { return rxInfo_; }
+ }
+
+ /// Field number for the "data" field.
+ public const int DataFieldNumber = 9;
+ private pb::ByteString data_ = pb::ByteString.Empty;
+ ///
+ /// Received data (encrypted).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString Data {
+ get { return data_; }
+ set {
+ data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "device_activation_context" field.
+ public const int DeviceActivationContextFieldNumber = 10;
+ private global::Chirpstack.ApplicationServer.DeviceActivationContext deviceActivationContext_;
+ ///
+ /// Device activation context.
+ ///
+ /// This field is only set on the first uplink frame when the security
+ /// context has changed (e.g. a new OTAA (re)activation).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.DeviceActivationContext DeviceActivationContext {
+ get { return deviceActivationContext_; }
+ set {
+ deviceActivationContext_ = value;
+ }
+ }
+
+ /// Field number for the "confirmed_uplink" field.
+ public const int ConfirmedUplinkFieldNumber = 11;
+ private bool confirmedUplink_;
+ ///
+ /// Uplink was of type confirmed.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool ConfirmedUplink {
+ get { return confirmedUplink_; }
+ set {
+ confirmedUplink_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as HandleUplinkDataRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(HandleUplinkDataRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DevEui != other.DevEui) return false;
+ if (JoinEui != other.JoinEui) return false;
+ if (FCnt != other.FCnt) return false;
+ if (FPort != other.FPort) return false;
+ if (Adr != other.Adr) return false;
+ if (Dr != other.Dr) return false;
+ if (!object.Equals(TxInfo, other.TxInfo)) return false;
+ if(!rxInfo_.Equals(other.rxInfo_)) return false;
+ if (Data != other.Data) return false;
+ if (!object.Equals(DeviceActivationContext, other.DeviceActivationContext)) return false;
+ if (ConfirmedUplink != other.ConfirmedUplink) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DevEui.Length != 0) hash ^= DevEui.GetHashCode();
+ if (JoinEui.Length != 0) hash ^= JoinEui.GetHashCode();
+ if (FCnt != 0) hash ^= FCnt.GetHashCode();
+ if (FPort != 0) hash ^= FPort.GetHashCode();
+ if (Adr != false) hash ^= Adr.GetHashCode();
+ if (Dr != 0) hash ^= Dr.GetHashCode();
+ if (txInfo_ != null) hash ^= TxInfo.GetHashCode();
+ hash ^= rxInfo_.GetHashCode();
+ if (Data.Length != 0) hash ^= Data.GetHashCode();
+ if (deviceActivationContext_ != null) hash ^= DeviceActivationContext.GetHashCode();
+ if (ConfirmedUplink != false) hash ^= ConfirmedUplink.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (JoinEui.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(JoinEui);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(FCnt);
+ }
+ if (FPort != 0) {
+ output.WriteRawTag(32);
+ output.WriteUInt32(FPort);
+ }
+ if (Adr != false) {
+ output.WriteRawTag(40);
+ output.WriteBool(Adr);
+ }
+ if (Dr != 0) {
+ output.WriteRawTag(48);
+ output.WriteUInt32(Dr);
+ }
+ if (txInfo_ != null) {
+ output.WriteRawTag(58);
+ output.WriteMessage(TxInfo);
+ }
+ rxInfo_.WriteTo(output, _repeated_rxInfo_codec);
+ if (Data.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteBytes(Data);
+ }
+ if (deviceActivationContext_ != null) {
+ output.WriteRawTag(82);
+ output.WriteMessage(DeviceActivationContext);
+ }
+ if (ConfirmedUplink != false) {
+ output.WriteRawTag(88);
+ output.WriteBool(ConfirmedUplink);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (JoinEui.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(JoinEui);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(FCnt);
+ }
+ if (FPort != 0) {
+ output.WriteRawTag(32);
+ output.WriteUInt32(FPort);
+ }
+ if (Adr != false) {
+ output.WriteRawTag(40);
+ output.WriteBool(Adr);
+ }
+ if (Dr != 0) {
+ output.WriteRawTag(48);
+ output.WriteUInt32(Dr);
+ }
+ if (txInfo_ != null) {
+ output.WriteRawTag(58);
+ output.WriteMessage(TxInfo);
+ }
+ rxInfo_.WriteTo(ref output, _repeated_rxInfo_codec);
+ if (Data.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteBytes(Data);
+ }
+ if (deviceActivationContext_ != null) {
+ output.WriteRawTag(82);
+ output.WriteMessage(DeviceActivationContext);
+ }
+ if (ConfirmedUplink != false) {
+ output.WriteRawTag(88);
+ output.WriteBool(ConfirmedUplink);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (DevEui.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevEui);
+ }
+ if (JoinEui.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(JoinEui);
+ }
+ if (FCnt != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FCnt);
+ }
+ if (FPort != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FPort);
+ }
+ if (Adr != false) {
+ size += 1 + 1;
+ }
+ if (Dr != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Dr);
+ }
+ if (txInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(TxInfo);
+ }
+ size += rxInfo_.CalculateSize(_repeated_rxInfo_codec);
+ if (Data.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
+ }
+ if (deviceActivationContext_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(DeviceActivationContext);
+ }
+ if (ConfirmedUplink != false) {
+ size += 1 + 1;
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(HandleUplinkDataRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DevEui.Length != 0) {
+ DevEui = other.DevEui;
+ }
+ if (other.JoinEui.Length != 0) {
+ JoinEui = other.JoinEui;
+ }
+ if (other.FCnt != 0) {
+ FCnt = other.FCnt;
+ }
+ if (other.FPort != 0) {
+ FPort = other.FPort;
+ }
+ if (other.Adr != false) {
+ Adr = other.Adr;
+ }
+ if (other.Dr != 0) {
+ Dr = other.Dr;
+ }
+ if (other.txInfo_ != null) {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.UplinkTXInfo();
+ }
+ TxInfo.MergeFrom(other.TxInfo);
+ }
+ rxInfo_.Add(other.rxInfo_);
+ if (other.Data.Length != 0) {
+ Data = other.Data;
+ }
+ if (other.deviceActivationContext_ != null) {
+ if (deviceActivationContext_ == null) {
+ DeviceActivationContext = new global::Chirpstack.ApplicationServer.DeviceActivationContext();
+ }
+ DeviceActivationContext.MergeFrom(other.DeviceActivationContext);
+ }
+ if (other.ConfirmedUplink != false) {
+ ConfirmedUplink = other.ConfirmedUplink;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ JoinEui = input.ReadBytes();
+ break;
+ }
+ case 24: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 32: {
+ FPort = input.ReadUInt32();
+ break;
+ }
+ case 40: {
+ Adr = input.ReadBool();
+ break;
+ }
+ case 48: {
+ Dr = input.ReadUInt32();
+ break;
+ }
+ case 58: {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.UplinkTXInfo();
+ }
+ input.ReadMessage(TxInfo);
+ break;
+ }
+ case 66: {
+ rxInfo_.AddEntriesFrom(input, _repeated_rxInfo_codec);
+ break;
+ }
+ case 74: {
+ Data = input.ReadBytes();
+ break;
+ }
+ case 82: {
+ if (deviceActivationContext_ == null) {
+ DeviceActivationContext = new global::Chirpstack.ApplicationServer.DeviceActivationContext();
+ }
+ input.ReadMessage(DeviceActivationContext);
+ break;
+ }
+ case 88: {
+ ConfirmedUplink = input.ReadBool();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ JoinEui = input.ReadBytes();
+ break;
+ }
+ case 24: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 32: {
+ FPort = input.ReadUInt32();
+ break;
+ }
+ case 40: {
+ Adr = input.ReadBool();
+ break;
+ }
+ case 48: {
+ Dr = input.ReadUInt32();
+ break;
+ }
+ case 58: {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.UplinkTXInfo();
+ }
+ input.ReadMessage(TxInfo);
+ break;
+ }
+ case 66: {
+ rxInfo_.AddEntriesFrom(ref input, _repeated_rxInfo_codec);
+ break;
+ }
+ case 74: {
+ Data = input.ReadBytes();
+ break;
+ }
+ case 82: {
+ if (deviceActivationContext_ == null) {
+ DeviceActivationContext = new global::Chirpstack.ApplicationServer.DeviceActivationContext();
+ }
+ input.ReadMessage(DeviceActivationContext);
+ break;
+ }
+ case 88: {
+ ConfirmedUplink = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class HandleProprietaryUplinkRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HandleProprietaryUplinkRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[2]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleProprietaryUplinkRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleProprietaryUplinkRequest(HandleProprietaryUplinkRequest other) : this() {
+ macPayload_ = other.macPayload_;
+ mic_ = other.mic_;
+ txInfo_ = other.txInfo_ != null ? other.txInfo_.Clone() : null;
+ rxInfo_ = other.rxInfo_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleProprietaryUplinkRequest Clone() {
+ return new HandleProprietaryUplinkRequest(this);
+ }
+
+ /// Field number for the "mac_payload" field.
+ public const int MacPayloadFieldNumber = 1;
+ private pb::ByteString macPayload_ = pb::ByteString.Empty;
+ ///
+ /// MACPayload of the proprietary LoRaWAN frame.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString MacPayload {
+ get { return macPayload_; }
+ set {
+ macPayload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "mic" field.
+ public const int MicFieldNumber = 2;
+ private pb::ByteString mic_ = pb::ByteString.Empty;
+ ///
+ /// MIC of the proprietary LoRaWAN frame.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString Mic {
+ get { return mic_; }
+ set {
+ mic_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "tx_info" field.
+ public const int TxInfoFieldNumber = 3;
+ private global::Chirpstack.Gateway.UplinkTXInfo txInfo_;
+ ///
+ /// TXInfo contains the TX related meta-data.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.Gateway.UplinkTXInfo TxInfo {
+ get { return txInfo_; }
+ set {
+ txInfo_ = value;
+ }
+ }
+
+ /// Field number for the "rx_info" field.
+ public const int RxInfoFieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_rxInfo_codec
+ = pb::FieldCodec.ForMessage(34, global::Chirpstack.Gateway.UplinkRXInfo.Parser);
+ private readonly pbc::RepeatedField rxInfo_ = new pbc::RepeatedField();
+ ///
+ /// RXInfo contains the RX related meta-data.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField RxInfo {
+ get { return rxInfo_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as HandleProprietaryUplinkRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(HandleProprietaryUplinkRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (MacPayload != other.MacPayload) return false;
+ if (Mic != other.Mic) return false;
+ if (!object.Equals(TxInfo, other.TxInfo)) return false;
+ if(!rxInfo_.Equals(other.rxInfo_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (MacPayload.Length != 0) hash ^= MacPayload.GetHashCode();
+ if (Mic.Length != 0) hash ^= Mic.GetHashCode();
+ if (txInfo_ != null) hash ^= TxInfo.GetHashCode();
+ hash ^= rxInfo_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (MacPayload.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(MacPayload);
+ }
+ if (Mic.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(Mic);
+ }
+ if (txInfo_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(TxInfo);
+ }
+ rxInfo_.WriteTo(output, _repeated_rxInfo_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (MacPayload.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(MacPayload);
+ }
+ if (Mic.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(Mic);
+ }
+ if (txInfo_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(TxInfo);
+ }
+ rxInfo_.WriteTo(ref output, _repeated_rxInfo_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (MacPayload.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(MacPayload);
+ }
+ if (Mic.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Mic);
+ }
+ if (txInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(TxInfo);
+ }
+ size += rxInfo_.CalculateSize(_repeated_rxInfo_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(HandleProprietaryUplinkRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.MacPayload.Length != 0) {
+ MacPayload = other.MacPayload;
+ }
+ if (other.Mic.Length != 0) {
+ Mic = other.Mic;
+ }
+ if (other.txInfo_ != null) {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.UplinkTXInfo();
+ }
+ TxInfo.MergeFrom(other.TxInfo);
+ }
+ rxInfo_.Add(other.rxInfo_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ MacPayload = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ Mic = input.ReadBytes();
+ break;
+ }
+ case 26: {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.UplinkTXInfo();
+ }
+ input.ReadMessage(TxInfo);
+ break;
+ }
+ case 34: {
+ rxInfo_.AddEntriesFrom(input, _repeated_rxInfo_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ MacPayload = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ Mic = input.ReadBytes();
+ break;
+ }
+ case 26: {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.UplinkTXInfo();
+ }
+ input.ReadMessage(TxInfo);
+ break;
+ }
+ case 34: {
+ rxInfo_.AddEntriesFrom(ref input, _repeated_rxInfo_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class HandleErrorRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HandleErrorRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[3]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleErrorRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleErrorRequest(HandleErrorRequest other) : this() {
+ devEui_ = other.devEui_;
+ type_ = other.type_;
+ error_ = other.error_;
+ fCnt_ = other.fCnt_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleErrorRequest Clone() {
+ return new HandleErrorRequest(this);
+ }
+
+ /// Field number for the "dev_eui" field.
+ public const int DevEuiFieldNumber = 1;
+ private pb::ByteString devEui_ = pb::ByteString.Empty;
+ ///
+ /// Device EUI (8 bytes).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevEui {
+ get { return devEui_; }
+ set {
+ devEui_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "type" field.
+ public const int TypeFieldNumber = 3;
+ private global::Chirpstack.ApplicationServer.ErrorType type_ = global::Chirpstack.ApplicationServer.ErrorType.Generic;
+ ///
+ /// Type of the error.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.ErrorType Type {
+ get { return type_; }
+ set {
+ type_ = value;
+ }
+ }
+
+ /// Field number for the "error" field.
+ public const int ErrorFieldNumber = 4;
+ private string error_ = "";
+ ///
+ /// Error string describing the error.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Error {
+ get { return error_; }
+ set {
+ error_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "f_cnt" field.
+ public const int FCntFieldNumber = 5;
+ private uint fCnt_;
+ ///
+ /// Frame-counter (if applicable) related to the error.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FCnt {
+ get { return fCnt_; }
+ set {
+ fCnt_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as HandleErrorRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(HandleErrorRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DevEui != other.DevEui) return false;
+ if (Type != other.Type) return false;
+ if (Error != other.Error) return false;
+ if (FCnt != other.FCnt) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DevEui.Length != 0) hash ^= DevEui.GetHashCode();
+ if (Type != global::Chirpstack.ApplicationServer.ErrorType.Generic) hash ^= Type.GetHashCode();
+ if (Error.Length != 0) hash ^= Error.GetHashCode();
+ if (FCnt != 0) hash ^= FCnt.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (Type != global::Chirpstack.ApplicationServer.ErrorType.Generic) {
+ output.WriteRawTag(24);
+ output.WriteEnum((int) Type);
+ }
+ if (Error.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Error);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(40);
+ output.WriteUInt32(FCnt);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (Type != global::Chirpstack.ApplicationServer.ErrorType.Generic) {
+ output.WriteRawTag(24);
+ output.WriteEnum((int) Type);
+ }
+ if (Error.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Error);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(40);
+ output.WriteUInt32(FCnt);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (DevEui.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevEui);
+ }
+ if (Type != global::Chirpstack.ApplicationServer.ErrorType.Generic) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
+ }
+ if (Error.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Error);
+ }
+ if (FCnt != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FCnt);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(HandleErrorRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DevEui.Length != 0) {
+ DevEui = other.DevEui;
+ }
+ if (other.Type != global::Chirpstack.ApplicationServer.ErrorType.Generic) {
+ Type = other.Type;
+ }
+ if (other.Error.Length != 0) {
+ Error = other.Error;
+ }
+ if (other.FCnt != 0) {
+ FCnt = other.FCnt;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 24: {
+ Type = (global::Chirpstack.ApplicationServer.ErrorType) input.ReadEnum();
+ break;
+ }
+ case 34: {
+ Error = input.ReadString();
+ break;
+ }
+ case 40: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 24: {
+ Type = (global::Chirpstack.ApplicationServer.ErrorType) input.ReadEnum();
+ break;
+ }
+ case 34: {
+ Error = input.ReadString();
+ break;
+ }
+ case 40: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class HandleDownlinkACKRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HandleDownlinkACKRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[4]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleDownlinkACKRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleDownlinkACKRequest(HandleDownlinkACKRequest other) : this() {
+ devEui_ = other.devEui_;
+ fCnt_ = other.fCnt_;
+ acknowledged_ = other.acknowledged_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleDownlinkACKRequest Clone() {
+ return new HandleDownlinkACKRequest(this);
+ }
+
+ /// Field number for the "dev_eui" field.
+ public const int DevEuiFieldNumber = 1;
+ private pb::ByteString devEui_ = pb::ByteString.Empty;
+ ///
+ /// Device EUI (8 bytes).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevEui {
+ get { return devEui_; }
+ set {
+ devEui_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "f_cnt" field.
+ public const int FCntFieldNumber = 2;
+ private uint fCnt_;
+ ///
+ /// Downlink frame-counter.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FCnt {
+ get { return fCnt_; }
+ set {
+ fCnt_ = value;
+ }
+ }
+
+ /// Field number for the "acknowledged" field.
+ public const int AcknowledgedFieldNumber = 3;
+ private bool acknowledged_;
+ ///
+ /// Frame was acknowledged?
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Acknowledged {
+ get { return acknowledged_; }
+ set {
+ acknowledged_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as HandleDownlinkACKRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(HandleDownlinkACKRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DevEui != other.DevEui) return false;
+ if (FCnt != other.FCnt) return false;
+ if (Acknowledged != other.Acknowledged) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DevEui.Length != 0) hash ^= DevEui.GetHashCode();
+ if (FCnt != 0) hash ^= FCnt.GetHashCode();
+ if (Acknowledged != false) hash ^= Acknowledged.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(FCnt);
+ }
+ if (Acknowledged != false) {
+ output.WriteRawTag(24);
+ output.WriteBool(Acknowledged);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(FCnt);
+ }
+ if (Acknowledged != false) {
+ output.WriteRawTag(24);
+ output.WriteBool(Acknowledged);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (DevEui.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevEui);
+ }
+ if (FCnt != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FCnt);
+ }
+ if (Acknowledged != false) {
+ size += 1 + 1;
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(HandleDownlinkACKRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DevEui.Length != 0) {
+ DevEui = other.DevEui;
+ }
+ if (other.FCnt != 0) {
+ FCnt = other.FCnt;
+ }
+ if (other.Acknowledged != false) {
+ Acknowledged = other.Acknowledged;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ Acknowledged = input.ReadBool();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ Acknowledged = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class SetDeviceStatusRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDeviceStatusRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[5]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetDeviceStatusRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetDeviceStatusRequest(SetDeviceStatusRequest other) : this() {
+ devEui_ = other.devEui_;
+ battery_ = other.battery_;
+ margin_ = other.margin_;
+ externalPowerSource_ = other.externalPowerSource_;
+ batteryLevelUnavailable_ = other.batteryLevelUnavailable_;
+ batteryLevel_ = other.batteryLevel_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetDeviceStatusRequest Clone() {
+ return new SetDeviceStatusRequest(this);
+ }
+
+ /// Field number for the "dev_eui" field.
+ public const int DevEuiFieldNumber = 1;
+ private pb::ByteString devEui_ = pb::ByteString.Empty;
+ ///
+ /// Device EUI (8 bytes).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevEui {
+ get { return devEui_; }
+ set {
+ devEui_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "battery" field.
+ public const int BatteryFieldNumber = 2;
+ private uint battery_;
+ ///
+ /// Battery level (deprecated, use battery_level).
+ /// 0: The end-device is connected to an external power source
+ /// 1..254: The battery level, 1 being at minimum and 254 being at maximum
+ /// 255: The end-device was not able to measure the battery level
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint Battery {
+ get { return battery_; }
+ set {
+ battery_ = value;
+ }
+ }
+
+ /// Field number for the "margin" field.
+ public const int MarginFieldNumber = 3;
+ private int margin_;
+ ///
+ /// The device margin status
+ /// -32..32: The demodulation SNR ration in dB
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int Margin {
+ get { return margin_; }
+ set {
+ margin_ = value;
+ }
+ }
+
+ /// Field number for the "external_power_source" field.
+ public const int ExternalPowerSourceFieldNumber = 4;
+ private bool externalPowerSource_;
+ ///
+ /// Device is connected to an external power source.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool ExternalPowerSource {
+ get { return externalPowerSource_; }
+ set {
+ externalPowerSource_ = value;
+ }
+ }
+
+ /// Field number for the "battery_level_unavailable" field.
+ public const int BatteryLevelUnavailableFieldNumber = 5;
+ private bool batteryLevelUnavailable_;
+ ///
+ /// Device battery status is not available.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool BatteryLevelUnavailable {
+ get { return batteryLevelUnavailable_; }
+ set {
+ batteryLevelUnavailable_ = value;
+ }
+ }
+
+ /// Field number for the "battery_level" field.
+ public const int BatteryLevelFieldNumber = 6;
+ private float batteryLevel_;
+ ///
+ /// Battery level as a percentage.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public float BatteryLevel {
+ get { return batteryLevel_; }
+ set {
+ batteryLevel_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SetDeviceStatusRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SetDeviceStatusRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DevEui != other.DevEui) return false;
+ if (Battery != other.Battery) return false;
+ if (Margin != other.Margin) return false;
+ if (ExternalPowerSource != other.ExternalPowerSource) return false;
+ if (BatteryLevelUnavailable != other.BatteryLevelUnavailable) return false;
+ if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BatteryLevel, other.BatteryLevel)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DevEui.Length != 0) hash ^= DevEui.GetHashCode();
+ if (Battery != 0) hash ^= Battery.GetHashCode();
+ if (Margin != 0) hash ^= Margin.GetHashCode();
+ if (ExternalPowerSource != false) hash ^= ExternalPowerSource.GetHashCode();
+ if (BatteryLevelUnavailable != false) hash ^= BatteryLevelUnavailable.GetHashCode();
+ if (BatteryLevel != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BatteryLevel);
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (Battery != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(Battery);
+ }
+ if (Margin != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(Margin);
+ }
+ if (ExternalPowerSource != false) {
+ output.WriteRawTag(32);
+ output.WriteBool(ExternalPowerSource);
+ }
+ if (BatteryLevelUnavailable != false) {
+ output.WriteRawTag(40);
+ output.WriteBool(BatteryLevelUnavailable);
+ }
+ if (BatteryLevel != 0F) {
+ output.WriteRawTag(53);
+ output.WriteFloat(BatteryLevel);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (Battery != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(Battery);
+ }
+ if (Margin != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(Margin);
+ }
+ if (ExternalPowerSource != false) {
+ output.WriteRawTag(32);
+ output.WriteBool(ExternalPowerSource);
+ }
+ if (BatteryLevelUnavailable != false) {
+ output.WriteRawTag(40);
+ output.WriteBool(BatteryLevelUnavailable);
+ }
+ if (BatteryLevel != 0F) {
+ output.WriteRawTag(53);
+ output.WriteFloat(BatteryLevel);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (DevEui.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevEui);
+ }
+ if (Battery != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Battery);
+ }
+ if (Margin != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Margin);
+ }
+ if (ExternalPowerSource != false) {
+ size += 1 + 1;
+ }
+ if (BatteryLevelUnavailable != false) {
+ size += 1 + 1;
+ }
+ if (BatteryLevel != 0F) {
+ size += 1 + 4;
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SetDeviceStatusRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DevEui.Length != 0) {
+ DevEui = other.DevEui;
+ }
+ if (other.Battery != 0) {
+ Battery = other.Battery;
+ }
+ if (other.Margin != 0) {
+ Margin = other.Margin;
+ }
+ if (other.ExternalPowerSource != false) {
+ ExternalPowerSource = other.ExternalPowerSource;
+ }
+ if (other.BatteryLevelUnavailable != false) {
+ BatteryLevelUnavailable = other.BatteryLevelUnavailable;
+ }
+ if (other.BatteryLevel != 0F) {
+ BatteryLevel = other.BatteryLevel;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ Battery = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ Margin = input.ReadInt32();
+ break;
+ }
+ case 32: {
+ ExternalPowerSource = input.ReadBool();
+ break;
+ }
+ case 40: {
+ BatteryLevelUnavailable = input.ReadBool();
+ break;
+ }
+ case 53: {
+ BatteryLevel = input.ReadFloat();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ Battery = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ Margin = input.ReadInt32();
+ break;
+ }
+ case 32: {
+ ExternalPowerSource = input.ReadBool();
+ break;
+ }
+ case 40: {
+ BatteryLevelUnavailable = input.ReadBool();
+ break;
+ }
+ case 53: {
+ BatteryLevel = input.ReadFloat();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class SetDeviceLocationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDeviceLocationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[6]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetDeviceLocationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetDeviceLocationRequest(SetDeviceLocationRequest other) : this() {
+ devEui_ = other.devEui_;
+ location_ = other.location_ != null ? other.location_.Clone() : null;
+ uplinkIds_ = other.uplinkIds_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public SetDeviceLocationRequest Clone() {
+ return new SetDeviceLocationRequest(this);
+ }
+
+ /// Field number for the "dev_eui" field.
+ public const int DevEuiFieldNumber = 1;
+ private pb::ByteString devEui_ = pb::ByteString.Empty;
+ ///
+ /// Device EUI (8 bytes).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevEui {
+ get { return devEui_; }
+ set {
+ devEui_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "location" field.
+ public const int LocationFieldNumber = 2;
+ private global::Chirpstack.Common.Location location_;
+ ///
+ /// The location of the device.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.Common.Location Location {
+ get { return location_; }
+ set {
+ location_ = value;
+ }
+ }
+
+ /// Field number for the "uplink_ids" field.
+ public const int UplinkIdsFieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_uplinkIds_codec
+ = pb::FieldCodec.ForBytes(26);
+ private readonly pbc::RepeatedField uplinkIds_ = new pbc::RepeatedField();
+ ///
+ /// Uplink IDs used for geolocation.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField UplinkIds {
+ get { return uplinkIds_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as SetDeviceLocationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(SetDeviceLocationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DevEui != other.DevEui) return false;
+ if (!object.Equals(Location, other.Location)) return false;
+ if(!uplinkIds_.Equals(other.uplinkIds_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DevEui.Length != 0) hash ^= DevEui.GetHashCode();
+ if (location_ != null) hash ^= Location.GetHashCode();
+ hash ^= uplinkIds_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (location_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Location);
+ }
+ uplinkIds_.WriteTo(output, _repeated_uplinkIds_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (location_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(Location);
+ }
+ uplinkIds_.WriteTo(ref output, _repeated_uplinkIds_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (DevEui.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevEui);
+ }
+ if (location_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Location);
+ }
+ size += uplinkIds_.CalculateSize(_repeated_uplinkIds_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(SetDeviceLocationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DevEui.Length != 0) {
+ DevEui = other.DevEui;
+ }
+ if (other.location_ != null) {
+ if (location_ == null) {
+ Location = new global::Chirpstack.Common.Location();
+ }
+ Location.MergeFrom(other.Location);
+ }
+ uplinkIds_.Add(other.uplinkIds_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ if (location_ == null) {
+ Location = new global::Chirpstack.Common.Location();
+ }
+ input.ReadMessage(Location);
+ break;
+ }
+ case 26: {
+ uplinkIds_.AddEntriesFrom(input, _repeated_uplinkIds_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ if (location_ == null) {
+ Location = new global::Chirpstack.Common.Location();
+ }
+ input.ReadMessage(Location);
+ break;
+ }
+ case 26: {
+ uplinkIds_.AddEntriesFrom(ref input, _repeated_uplinkIds_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class HandleGatewayStatsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HandleGatewayStatsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[7]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleGatewayStatsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleGatewayStatsRequest(HandleGatewayStatsRequest other) : this() {
+ gatewayId_ = other.gatewayId_;
+ statsId_ = other.statsId_;
+ time_ = other.time_ != null ? other.time_.Clone() : null;
+ location_ = other.location_ != null ? other.location_.Clone() : null;
+ rxPacketsReceived_ = other.rxPacketsReceived_;
+ rxPacketsReceivedOk_ = other.rxPacketsReceivedOk_;
+ txPacketsReceived_ = other.txPacketsReceived_;
+ txPacketsEmitted_ = other.txPacketsEmitted_;
+ metadata_ = other.metadata_.Clone();
+ txPacketsPerFrequency_ = other.txPacketsPerFrequency_.Clone();
+ rxPacketsPerFrequency_ = other.rxPacketsPerFrequency_.Clone();
+ txPacketsPerDr_ = other.txPacketsPerDr_.Clone();
+ rxPacketsPerDr_ = other.rxPacketsPerDr_.Clone();
+ txPacketsPerStatus_ = other.txPacketsPerStatus_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleGatewayStatsRequest Clone() {
+ return new HandleGatewayStatsRequest(this);
+ }
+
+ /// Field number for the "gateway_id" field.
+ public const int GatewayIdFieldNumber = 1;
+ private pb::ByteString gatewayId_ = pb::ByteString.Empty;
+ ///
+ /// Gateway ID (8 bytes).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString GatewayId {
+ get { return gatewayId_; }
+ set {
+ gatewayId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "stats_id" field.
+ public const int StatsIdFieldNumber = 2;
+ private pb::ByteString statsId_ = pb::ByteString.Empty;
+ ///
+ /// Stats ID (UUID).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString StatsId {
+ get { return statsId_; }
+ set {
+ statsId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "time" field.
+ public const int TimeFieldNumber = 3;
+ private global::Google.Protobuf.WellKnownTypes.Timestamp time_;
+ ///
+ /// Timestamp.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Protobuf.WellKnownTypes.Timestamp Time {
+ get { return time_; }
+ set {
+ time_ = value;
+ }
+ }
+
+ /// Field number for the "location" field.
+ public const int LocationFieldNumber = 4;
+ private global::Chirpstack.Common.Location location_;
+ ///
+ /// Gateway location.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.Common.Location Location {
+ get { return location_; }
+ set {
+ location_ = value;
+ }
+ }
+
+ /// Field number for the "rx_packets_received" field.
+ public const int RxPacketsReceivedFieldNumber = 5;
+ private uint rxPacketsReceived_;
+ ///
+ /// Uplink frames received.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint RxPacketsReceived {
+ get { return rxPacketsReceived_; }
+ set {
+ rxPacketsReceived_ = value;
+ }
+ }
+
+ /// Field number for the "rx_packets_received_ok" field.
+ public const int RxPacketsReceivedOkFieldNumber = 6;
+ private uint rxPacketsReceivedOk_;
+ ///
+ /// Uplink frames received OK.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint RxPacketsReceivedOk {
+ get { return rxPacketsReceivedOk_; }
+ set {
+ rxPacketsReceivedOk_ = value;
+ }
+ }
+
+ /// Field number for the "tx_packets_received" field.
+ public const int TxPacketsReceivedFieldNumber = 7;
+ private uint txPacketsReceived_;
+ ///
+ /// Downlink transmissions requested.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint TxPacketsReceived {
+ get { return txPacketsReceived_; }
+ set {
+ txPacketsReceived_ = value;
+ }
+ }
+
+ /// Field number for the "tx_packets_emitted" field.
+ public const int TxPacketsEmittedFieldNumber = 8;
+ private uint txPacketsEmitted_;
+ ///
+ /// Downlink emitted.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint TxPacketsEmitted {
+ get { return txPacketsEmitted_; }
+ set {
+ txPacketsEmitted_ = value;
+ }
+ }
+
+ /// Field number for the "metadata" field.
+ public const int MetadataFieldNumber = 9;
+ private static readonly pbc::MapField.Codec _map_metadata_codec
+ = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 74);
+ private readonly pbc::MapField metadata_ = new pbc::MapField();
+ ///
+ /// Gateway metadata.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::MapField Metadata {
+ get { return metadata_; }
+ }
+
+ /// Field number for the "tx_packets_per_frequency" field.
+ public const int TxPacketsPerFrequencyFieldNumber = 10;
+ private static readonly pbc::MapField.Codec _map_txPacketsPerFrequency_codec
+ = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 82);
+ private readonly pbc::MapField txPacketsPerFrequency_ = new pbc::MapField();
+ ///
+ /// Tx packets per frequency.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::MapField TxPacketsPerFrequency {
+ get { return txPacketsPerFrequency_; }
+ }
+
+ /// Field number for the "rx_packets_per_frequency" field.
+ public const int RxPacketsPerFrequencyFieldNumber = 11;
+ private static readonly pbc::MapField.Codec _map_rxPacketsPerFrequency_codec
+ = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 90);
+ private readonly pbc::MapField rxPacketsPerFrequency_ = new pbc::MapField();
+ ///
+ /// Rx packets per frequency.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::MapField RxPacketsPerFrequency {
+ get { return rxPacketsPerFrequency_; }
+ }
+
+ /// Field number for the "tx_packets_per_dr" field.
+ public const int TxPacketsPerDrFieldNumber = 12;
+ private static readonly pbc::MapField.Codec _map_txPacketsPerDr_codec
+ = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 98);
+ private readonly pbc::MapField txPacketsPerDr_ = new pbc::MapField();
+ ///
+ /// Tx packets per DR.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::MapField TxPacketsPerDr {
+ get { return txPacketsPerDr_; }
+ }
+
+ /// Field number for the "rx_packets_per_dr" field.
+ public const int RxPacketsPerDrFieldNumber = 13;
+ private static readonly pbc::MapField.Codec _map_rxPacketsPerDr_codec
+ = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 106);
+ private readonly pbc::MapField rxPacketsPerDr_ = new pbc::MapField();
+ ///
+ /// Rx packets per DR.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::MapField RxPacketsPerDr {
+ get { return rxPacketsPerDr_; }
+ }
+
+ /// Field number for the "tx_packets_per_status" field.
+ public const int TxPacketsPerStatusFieldNumber = 14;
+ private static readonly pbc::MapField.Codec _map_txPacketsPerStatus_codec
+ = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 114);
+ private readonly pbc::MapField txPacketsPerStatus_ = new pbc::MapField();
+ ///
+ /// Tx packets per status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::MapField TxPacketsPerStatus {
+ get { return txPacketsPerStatus_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as HandleGatewayStatsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(HandleGatewayStatsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (GatewayId != other.GatewayId) return false;
+ if (StatsId != other.StatsId) return false;
+ if (!object.Equals(Time, other.Time)) return false;
+ if (!object.Equals(Location, other.Location)) return false;
+ if (RxPacketsReceived != other.RxPacketsReceived) return false;
+ if (RxPacketsReceivedOk != other.RxPacketsReceivedOk) return false;
+ if (TxPacketsReceived != other.TxPacketsReceived) return false;
+ if (TxPacketsEmitted != other.TxPacketsEmitted) return false;
+ if (!Metadata.Equals(other.Metadata)) return false;
+ if (!TxPacketsPerFrequency.Equals(other.TxPacketsPerFrequency)) return false;
+ if (!RxPacketsPerFrequency.Equals(other.RxPacketsPerFrequency)) return false;
+ if (!TxPacketsPerDr.Equals(other.TxPacketsPerDr)) return false;
+ if (!RxPacketsPerDr.Equals(other.RxPacketsPerDr)) return false;
+ if (!TxPacketsPerStatus.Equals(other.TxPacketsPerStatus)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (GatewayId.Length != 0) hash ^= GatewayId.GetHashCode();
+ if (StatsId.Length != 0) hash ^= StatsId.GetHashCode();
+ if (time_ != null) hash ^= Time.GetHashCode();
+ if (location_ != null) hash ^= Location.GetHashCode();
+ if (RxPacketsReceived != 0) hash ^= RxPacketsReceived.GetHashCode();
+ if (RxPacketsReceivedOk != 0) hash ^= RxPacketsReceivedOk.GetHashCode();
+ if (TxPacketsReceived != 0) hash ^= TxPacketsReceived.GetHashCode();
+ if (TxPacketsEmitted != 0) hash ^= TxPacketsEmitted.GetHashCode();
+ hash ^= Metadata.GetHashCode();
+ hash ^= TxPacketsPerFrequency.GetHashCode();
+ hash ^= RxPacketsPerFrequency.GetHashCode();
+ hash ^= TxPacketsPerDr.GetHashCode();
+ hash ^= RxPacketsPerDr.GetHashCode();
+ hash ^= TxPacketsPerStatus.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (GatewayId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(GatewayId);
+ }
+ if (StatsId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(StatsId);
+ }
+ if (time_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(Time);
+ }
+ if (location_ != null) {
+ output.WriteRawTag(34);
+ output.WriteMessage(Location);
+ }
+ if (RxPacketsReceived != 0) {
+ output.WriteRawTag(40);
+ output.WriteUInt32(RxPacketsReceived);
+ }
+ if (RxPacketsReceivedOk != 0) {
+ output.WriteRawTag(48);
+ output.WriteUInt32(RxPacketsReceivedOk);
+ }
+ if (TxPacketsReceived != 0) {
+ output.WriteRawTag(56);
+ output.WriteUInt32(TxPacketsReceived);
+ }
+ if (TxPacketsEmitted != 0) {
+ output.WriteRawTag(64);
+ output.WriteUInt32(TxPacketsEmitted);
+ }
+ metadata_.WriteTo(output, _map_metadata_codec);
+ txPacketsPerFrequency_.WriteTo(output, _map_txPacketsPerFrequency_codec);
+ rxPacketsPerFrequency_.WriteTo(output, _map_rxPacketsPerFrequency_codec);
+ txPacketsPerDr_.WriteTo(output, _map_txPacketsPerDr_codec);
+ rxPacketsPerDr_.WriteTo(output, _map_rxPacketsPerDr_codec);
+ txPacketsPerStatus_.WriteTo(output, _map_txPacketsPerStatus_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (GatewayId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(GatewayId);
+ }
+ if (StatsId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(StatsId);
+ }
+ if (time_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(Time);
+ }
+ if (location_ != null) {
+ output.WriteRawTag(34);
+ output.WriteMessage(Location);
+ }
+ if (RxPacketsReceived != 0) {
+ output.WriteRawTag(40);
+ output.WriteUInt32(RxPacketsReceived);
+ }
+ if (RxPacketsReceivedOk != 0) {
+ output.WriteRawTag(48);
+ output.WriteUInt32(RxPacketsReceivedOk);
+ }
+ if (TxPacketsReceived != 0) {
+ output.WriteRawTag(56);
+ output.WriteUInt32(TxPacketsReceived);
+ }
+ if (TxPacketsEmitted != 0) {
+ output.WriteRawTag(64);
+ output.WriteUInt32(TxPacketsEmitted);
+ }
+ metadata_.WriteTo(ref output, _map_metadata_codec);
+ txPacketsPerFrequency_.WriteTo(ref output, _map_txPacketsPerFrequency_codec);
+ rxPacketsPerFrequency_.WriteTo(ref output, _map_rxPacketsPerFrequency_codec);
+ txPacketsPerDr_.WriteTo(ref output, _map_txPacketsPerDr_codec);
+ rxPacketsPerDr_.WriteTo(ref output, _map_rxPacketsPerDr_codec);
+ txPacketsPerStatus_.WriteTo(ref output, _map_txPacketsPerStatus_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (GatewayId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(GatewayId);
+ }
+ if (StatsId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(StatsId);
+ }
+ if (time_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Time);
+ }
+ if (location_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Location);
+ }
+ if (RxPacketsReceived != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RxPacketsReceived);
+ }
+ if (RxPacketsReceivedOk != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RxPacketsReceivedOk);
+ }
+ if (TxPacketsReceived != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TxPacketsReceived);
+ }
+ if (TxPacketsEmitted != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TxPacketsEmitted);
+ }
+ size += metadata_.CalculateSize(_map_metadata_codec);
+ size += txPacketsPerFrequency_.CalculateSize(_map_txPacketsPerFrequency_codec);
+ size += rxPacketsPerFrequency_.CalculateSize(_map_rxPacketsPerFrequency_codec);
+ size += txPacketsPerDr_.CalculateSize(_map_txPacketsPerDr_codec);
+ size += rxPacketsPerDr_.CalculateSize(_map_rxPacketsPerDr_codec);
+ size += txPacketsPerStatus_.CalculateSize(_map_txPacketsPerStatus_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(HandleGatewayStatsRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.GatewayId.Length != 0) {
+ GatewayId = other.GatewayId;
+ }
+ if (other.StatsId.Length != 0) {
+ StatsId = other.StatsId;
+ }
+ if (other.time_ != null) {
+ if (time_ == null) {
+ Time = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ Time.MergeFrom(other.Time);
+ }
+ if (other.location_ != null) {
+ if (location_ == null) {
+ Location = new global::Chirpstack.Common.Location();
+ }
+ Location.MergeFrom(other.Location);
+ }
+ if (other.RxPacketsReceived != 0) {
+ RxPacketsReceived = other.RxPacketsReceived;
+ }
+ if (other.RxPacketsReceivedOk != 0) {
+ RxPacketsReceivedOk = other.RxPacketsReceivedOk;
+ }
+ if (other.TxPacketsReceived != 0) {
+ TxPacketsReceived = other.TxPacketsReceived;
+ }
+ if (other.TxPacketsEmitted != 0) {
+ TxPacketsEmitted = other.TxPacketsEmitted;
+ }
+ metadata_.Add(other.metadata_);
+ txPacketsPerFrequency_.Add(other.txPacketsPerFrequency_);
+ rxPacketsPerFrequency_.Add(other.rxPacketsPerFrequency_);
+ txPacketsPerDr_.Add(other.txPacketsPerDr_);
+ rxPacketsPerDr_.Add(other.rxPacketsPerDr_);
+ txPacketsPerStatus_.Add(other.txPacketsPerStatus_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ GatewayId = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ StatsId = input.ReadBytes();
+ break;
+ }
+ case 26: {
+ if (time_ == null) {
+ Time = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(Time);
+ break;
+ }
+ case 34: {
+ if (location_ == null) {
+ Location = new global::Chirpstack.Common.Location();
+ }
+ input.ReadMessage(Location);
+ break;
+ }
+ case 40: {
+ RxPacketsReceived = input.ReadUInt32();
+ break;
+ }
+ case 48: {
+ RxPacketsReceivedOk = input.ReadUInt32();
+ break;
+ }
+ case 56: {
+ TxPacketsReceived = input.ReadUInt32();
+ break;
+ }
+ case 64: {
+ TxPacketsEmitted = input.ReadUInt32();
+ break;
+ }
+ case 74: {
+ metadata_.AddEntriesFrom(input, _map_metadata_codec);
+ break;
+ }
+ case 82: {
+ txPacketsPerFrequency_.AddEntriesFrom(input, _map_txPacketsPerFrequency_codec);
+ break;
+ }
+ case 90: {
+ rxPacketsPerFrequency_.AddEntriesFrom(input, _map_rxPacketsPerFrequency_codec);
+ break;
+ }
+ case 98: {
+ txPacketsPerDr_.AddEntriesFrom(input, _map_txPacketsPerDr_codec);
+ break;
+ }
+ case 106: {
+ rxPacketsPerDr_.AddEntriesFrom(input, _map_rxPacketsPerDr_codec);
+ break;
+ }
+ case 114: {
+ txPacketsPerStatus_.AddEntriesFrom(input, _map_txPacketsPerStatus_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ GatewayId = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ StatsId = input.ReadBytes();
+ break;
+ }
+ case 26: {
+ if (time_ == null) {
+ Time = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(Time);
+ break;
+ }
+ case 34: {
+ if (location_ == null) {
+ Location = new global::Chirpstack.Common.Location();
+ }
+ input.ReadMessage(Location);
+ break;
+ }
+ case 40: {
+ RxPacketsReceived = input.ReadUInt32();
+ break;
+ }
+ case 48: {
+ RxPacketsReceivedOk = input.ReadUInt32();
+ break;
+ }
+ case 56: {
+ TxPacketsReceived = input.ReadUInt32();
+ break;
+ }
+ case 64: {
+ TxPacketsEmitted = input.ReadUInt32();
+ break;
+ }
+ case 74: {
+ metadata_.AddEntriesFrom(ref input, _map_metadata_codec);
+ break;
+ }
+ case 82: {
+ txPacketsPerFrequency_.AddEntriesFrom(ref input, _map_txPacketsPerFrequency_codec);
+ break;
+ }
+ case 90: {
+ rxPacketsPerFrequency_.AddEntriesFrom(ref input, _map_rxPacketsPerFrequency_codec);
+ break;
+ }
+ case 98: {
+ txPacketsPerDr_.AddEntriesFrom(ref input, _map_txPacketsPerDr_codec);
+ break;
+ }
+ case 106: {
+ rxPacketsPerDr_.AddEntriesFrom(ref input, _map_rxPacketsPerDr_codec);
+ break;
+ }
+ case 114: {
+ txPacketsPerStatus_.AddEntriesFrom(ref input, _map_txPacketsPerStatus_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class HandleTxAckRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HandleTxAckRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[8]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleTxAckRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleTxAckRequest(HandleTxAckRequest other) : this() {
+ devEui_ = other.devEui_;
+ fCnt_ = other.fCnt_;
+ gatewayId_ = other.gatewayId_;
+ txInfo_ = other.txInfo_ != null ? other.txInfo_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HandleTxAckRequest Clone() {
+ return new HandleTxAckRequest(this);
+ }
+
+ /// Field number for the "dev_eui" field.
+ public const int DevEuiFieldNumber = 1;
+ private pb::ByteString devEui_ = pb::ByteString.Empty;
+ ///
+ /// Device EUI (8 bytes).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevEui {
+ get { return devEui_; }
+ set {
+ devEui_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "f_cnt" field.
+ public const int FCntFieldNumber = 2;
+ private uint fCnt_;
+ ///
+ /// Downlink frame-counter.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FCnt {
+ get { return fCnt_; }
+ set {
+ fCnt_ = value;
+ }
+ }
+
+ /// Field number for the "gateway_id" field.
+ public const int GatewayIdFieldNumber = 3;
+ private pb::ByteString gatewayId_ = pb::ByteString.Empty;
+ ///
+ /// Gateway ID.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString GatewayId {
+ get { return gatewayId_; }
+ set {
+ gatewayId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "tx_info" field.
+ public const int TxInfoFieldNumber = 4;
+ private global::Chirpstack.Gateway.DownlinkTXInfo txInfo_;
+ ///
+ /// TXInfo contains the TX related meta-data.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.Gateway.DownlinkTXInfo TxInfo {
+ get { return txInfo_; }
+ set {
+ txInfo_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as HandleTxAckRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(HandleTxAckRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DevEui != other.DevEui) return false;
+ if (FCnt != other.FCnt) return false;
+ if (GatewayId != other.GatewayId) return false;
+ if (!object.Equals(TxInfo, other.TxInfo)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DevEui.Length != 0) hash ^= DevEui.GetHashCode();
+ if (FCnt != 0) hash ^= FCnt.GetHashCode();
+ if (GatewayId.Length != 0) hash ^= GatewayId.GetHashCode();
+ if (txInfo_ != null) hash ^= TxInfo.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(FCnt);
+ }
+ if (GatewayId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteBytes(GatewayId);
+ }
+ if (txInfo_ != null) {
+ output.WriteRawTag(34);
+ output.WriteMessage(TxInfo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(FCnt);
+ }
+ if (GatewayId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteBytes(GatewayId);
+ }
+ if (txInfo_ != null) {
+ output.WriteRawTag(34);
+ output.WriteMessage(TxInfo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (DevEui.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevEui);
+ }
+ if (FCnt != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FCnt);
+ }
+ if (GatewayId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(GatewayId);
+ }
+ if (txInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(TxInfo);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(HandleTxAckRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DevEui.Length != 0) {
+ DevEui = other.DevEui;
+ }
+ if (other.FCnt != 0) {
+ FCnt = other.FCnt;
+ }
+ if (other.GatewayId.Length != 0) {
+ GatewayId = other.GatewayId;
+ }
+ if (other.txInfo_ != null) {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.DownlinkTXInfo();
+ }
+ TxInfo.MergeFrom(other.TxInfo);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 26: {
+ GatewayId = input.ReadBytes();
+ break;
+ }
+ case 34: {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.DownlinkTXInfo();
+ }
+ input.ReadMessage(TxInfo);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 26: {
+ GatewayId = input.ReadBytes();
+ break;
+ }
+ case 34: {
+ if (txInfo_ == null) {
+ TxInfo = new global::Chirpstack.Gateway.DownlinkTXInfo();
+ }
+ input.ReadMessage(TxInfo);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class ReEncryptDeviceQueueItemsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReEncryptDeviceQueueItemsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[9]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItemsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItemsRequest(ReEncryptDeviceQueueItemsRequest other) : this() {
+ devEui_ = other.devEui_;
+ devAddr_ = other.devAddr_;
+ fCntStart_ = other.fCntStart_;
+ items_ = other.items_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItemsRequest Clone() {
+ return new ReEncryptDeviceQueueItemsRequest(this);
+ }
+
+ /// Field number for the "dev_eui" field.
+ public const int DevEuiFieldNumber = 1;
+ private pb::ByteString devEui_ = pb::ByteString.Empty;
+ ///
+ /// DevEUI of the device.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevEui {
+ get { return devEui_; }
+ set {
+ devEui_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "dev_addr" field.
+ public const int DevAddrFieldNumber = 2;
+ private pb::ByteString devAddr_ = pb::ByteString.Empty;
+ ///
+ /// Device addres.
+ /// This is the device address which was used to encrypt the given
+ /// payloads.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString DevAddr {
+ get { return devAddr_; }
+ set {
+ devAddr_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "f_cnt_start" field.
+ public const int FCntStartFieldNumber = 3;
+ private uint fCntStart_;
+ ///
+ /// Downlink frame-counter to start with.
+ /// The application-server must use this value when encrypting the first
+ /// item, and increment it for each successive item.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FCntStart {
+ get { return fCntStart_; }
+ set {
+ fCntStart_ = value;
+ }
+ }
+
+ /// Field number for the "items" field.
+ public const int ItemsFieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_items_codec
+ = pb::FieldCodec.ForMessage(34, global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItem.Parser);
+ private readonly pbc::RepeatedField items_ = new pbc::RepeatedField();
+ ///
+ /// Items to re-encrypt.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Items {
+ get { return items_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ReEncryptDeviceQueueItemsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ReEncryptDeviceQueueItemsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DevEui != other.DevEui) return false;
+ if (DevAddr != other.DevAddr) return false;
+ if (FCntStart != other.FCntStart) return false;
+ if(!items_.Equals(other.items_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DevEui.Length != 0) hash ^= DevEui.GetHashCode();
+ if (DevAddr.Length != 0) hash ^= DevAddr.GetHashCode();
+ if (FCntStart != 0) hash ^= FCntStart.GetHashCode();
+ hash ^= items_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (DevAddr.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(DevAddr);
+ }
+ if (FCntStart != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(FCntStart);
+ }
+ items_.WriteTo(output, _repeated_items_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (DevEui.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(DevEui);
+ }
+ if (DevAddr.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(DevAddr);
+ }
+ if (FCntStart != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(FCntStart);
+ }
+ items_.WriteTo(ref output, _repeated_items_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (DevEui.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevEui);
+ }
+ if (DevAddr.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(DevAddr);
+ }
+ if (FCntStart != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FCntStart);
+ }
+ size += items_.CalculateSize(_repeated_items_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ReEncryptDeviceQueueItemsRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DevEui.Length != 0) {
+ DevEui = other.DevEui;
+ }
+ if (other.DevAddr.Length != 0) {
+ DevAddr = other.DevAddr;
+ }
+ if (other.FCntStart != 0) {
+ FCntStart = other.FCntStart;
+ }
+ items_.Add(other.items_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ DevAddr = input.ReadBytes();
+ break;
+ }
+ case 24: {
+ FCntStart = input.ReadUInt32();
+ break;
+ }
+ case 34: {
+ items_.AddEntriesFrom(input, _repeated_items_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ DevEui = input.ReadBytes();
+ break;
+ }
+ case 18: {
+ DevAddr = input.ReadBytes();
+ break;
+ }
+ case 24: {
+ FCntStart = input.ReadUInt32();
+ break;
+ }
+ case 34: {
+ items_.AddEntriesFrom(ref input, _repeated_items_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class ReEncryptDeviceQueueItemsResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReEncryptDeviceQueueItemsResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[10]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItemsResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItemsResponse(ReEncryptDeviceQueueItemsResponse other) : this() {
+ items_ = other.items_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItemsResponse Clone() {
+ return new ReEncryptDeviceQueueItemsResponse(this);
+ }
+
+ /// Field number for the "items" field.
+ public const int ItemsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_items_codec
+ = pb::FieldCodec.ForMessage(10, global::Chirpstack.ApplicationServer.ReEncryptedDeviceQueueItem.Parser);
+ private readonly pbc::RepeatedField items_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Items {
+ get { return items_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ReEncryptDeviceQueueItemsResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ReEncryptDeviceQueueItemsResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!items_.Equals(other.items_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= items_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ items_.WriteTo(output, _repeated_items_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ items_.WriteTo(ref output, _repeated_items_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += items_.CalculateSize(_repeated_items_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ReEncryptDeviceQueueItemsResponse other) {
+ if (other == null) {
+ return;
+ }
+ items_.Add(other.items_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ items_.AddEntriesFrom(input, _repeated_items_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ items_.AddEntriesFrom(ref input, _repeated_items_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class ReEncryptDeviceQueueItem : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReEncryptDeviceQueueItem());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[11]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItem() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItem(ReEncryptDeviceQueueItem other) : this() {
+ frmPayload_ = other.frmPayload_;
+ fCnt_ = other.fCnt_;
+ fPort_ = other.fPort_;
+ confirmed_ = other.confirmed_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptDeviceQueueItem Clone() {
+ return new ReEncryptDeviceQueueItem(this);
+ }
+
+ /// Field number for the "frm_payload" field.
+ public const int FrmPayloadFieldNumber = 1;
+ private pb::ByteString frmPayload_ = pb::ByteString.Empty;
+ ///
+ /// The encrypted FRMPayload bytes.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString FrmPayload {
+ get { return frmPayload_; }
+ set {
+ frmPayload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "f_cnt" field.
+ public const int FCntFieldNumber = 2;
+ private uint fCnt_;
+ ///
+ /// The original FCnt of the payload.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FCnt {
+ get { return fCnt_; }
+ set {
+ fCnt_ = value;
+ }
+ }
+
+ /// Field number for the "f_port" field.
+ public const int FPortFieldNumber = 3;
+ private uint fPort_;
+ ///
+ /// The FPort of the payload.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FPort {
+ get { return fPort_; }
+ set {
+ fPort_ = value;
+ }
+ }
+
+ /// Field number for the "confirmed" field.
+ public const int ConfirmedFieldNumber = 4;
+ private bool confirmed_;
+ ///
+ /// Payload is of type confirmed.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Confirmed {
+ get { return confirmed_; }
+ set {
+ confirmed_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ReEncryptDeviceQueueItem);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ReEncryptDeviceQueueItem other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (FrmPayload != other.FrmPayload) return false;
+ if (FCnt != other.FCnt) return false;
+ if (FPort != other.FPort) return false;
+ if (Confirmed != other.Confirmed) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (FrmPayload.Length != 0) hash ^= FrmPayload.GetHashCode();
+ if (FCnt != 0) hash ^= FCnt.GetHashCode();
+ if (FPort != 0) hash ^= FPort.GetHashCode();
+ if (Confirmed != false) hash ^= Confirmed.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (FrmPayload.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(FrmPayload);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(FCnt);
+ }
+ if (FPort != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(FPort);
+ }
+ if (Confirmed != false) {
+ output.WriteRawTag(32);
+ output.WriteBool(Confirmed);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (FrmPayload.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(FrmPayload);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(FCnt);
+ }
+ if (FPort != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(FPort);
+ }
+ if (Confirmed != false) {
+ output.WriteRawTag(32);
+ output.WriteBool(Confirmed);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (FrmPayload.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(FrmPayload);
+ }
+ if (FCnt != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FCnt);
+ }
+ if (FPort != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FPort);
+ }
+ if (Confirmed != false) {
+ size += 1 + 1;
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ReEncryptDeviceQueueItem other) {
+ if (other == null) {
+ return;
+ }
+ if (other.FrmPayload.Length != 0) {
+ FrmPayload = other.FrmPayload;
+ }
+ if (other.FCnt != 0) {
+ FCnt = other.FCnt;
+ }
+ if (other.FPort != 0) {
+ FPort = other.FPort;
+ }
+ if (other.Confirmed != false) {
+ Confirmed = other.Confirmed;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ FrmPayload = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ FPort = input.ReadUInt32();
+ break;
+ }
+ case 32: {
+ Confirmed = input.ReadBool();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ FrmPayload = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ FPort = input.ReadUInt32();
+ break;
+ }
+ case 32: {
+ Confirmed = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class ReEncryptedDeviceQueueItem : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReEncryptedDeviceQueueItem());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.MessageTypes[12]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptedDeviceQueueItem() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptedDeviceQueueItem(ReEncryptedDeviceQueueItem other) : this() {
+ frmPayload_ = other.frmPayload_;
+ fCnt_ = other.fCnt_;
+ fPort_ = other.fPort_;
+ confirmed_ = other.confirmed_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ReEncryptedDeviceQueueItem Clone() {
+ return new ReEncryptedDeviceQueueItem(this);
+ }
+
+ /// Field number for the "frm_payload" field.
+ public const int FrmPayloadFieldNumber = 1;
+ private pb::ByteString frmPayload_ = pb::ByteString.Empty;
+ ///
+ /// The re-encrypted FRMPayload bytes.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString FrmPayload {
+ get { return frmPayload_; }
+ set {
+ frmPayload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "f_cnt" field.
+ public const int FCntFieldNumber = 2;
+ private uint fCnt_;
+ ///
+ /// The new FCnt of the payload.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FCnt {
+ get { return fCnt_; }
+ set {
+ fCnt_ = value;
+ }
+ }
+
+ /// Field number for the "f_port" field.
+ public const int FPortFieldNumber = 3;
+ private uint fPort_;
+ ///
+ /// The FPort of the payload.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public uint FPort {
+ get { return fPort_; }
+ set {
+ fPort_ = value;
+ }
+ }
+
+ /// Field number for the "confirmed" field.
+ public const int ConfirmedFieldNumber = 4;
+ private bool confirmed_;
+ ///
+ /// Payload is of type confirmed.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Confirmed {
+ get { return confirmed_; }
+ set {
+ confirmed_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ReEncryptedDeviceQueueItem);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ReEncryptedDeviceQueueItem other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (FrmPayload != other.FrmPayload) return false;
+ if (FCnt != other.FCnt) return false;
+ if (FPort != other.FPort) return false;
+ if (Confirmed != other.Confirmed) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (FrmPayload.Length != 0) hash ^= FrmPayload.GetHashCode();
+ if (FCnt != 0) hash ^= FCnt.GetHashCode();
+ if (FPort != 0) hash ^= FPort.GetHashCode();
+ if (Confirmed != false) hash ^= Confirmed.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (FrmPayload.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(FrmPayload);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(FCnt);
+ }
+ if (FPort != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(FPort);
+ }
+ if (Confirmed != false) {
+ output.WriteRawTag(32);
+ output.WriteBool(Confirmed);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (FrmPayload.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(FrmPayload);
+ }
+ if (FCnt != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(FCnt);
+ }
+ if (FPort != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(FPort);
+ }
+ if (Confirmed != false) {
+ output.WriteRawTag(32);
+ output.WriteBool(Confirmed);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (FrmPayload.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(FrmPayload);
+ }
+ if (FCnt != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FCnt);
+ }
+ if (FPort != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FPort);
+ }
+ if (Confirmed != false) {
+ size += 1 + 1;
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ReEncryptedDeviceQueueItem other) {
+ if (other == null) {
+ return;
+ }
+ if (other.FrmPayload.Length != 0) {
+ FrmPayload = other.FrmPayload;
+ }
+ if (other.FCnt != 0) {
+ FCnt = other.FCnt;
+ }
+ if (other.FPort != 0) {
+ FPort = other.FPort;
+ }
+ if (other.Confirmed != false) {
+ Confirmed = other.Confirmed;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ FrmPayload = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ FPort = input.ReadUInt32();
+ break;
+ }
+ case 32: {
+ Confirmed = input.ReadBool();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ FrmPayload = input.ReadBytes();
+ break;
+ }
+ case 16: {
+ FCnt = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ FPort = input.ReadUInt32();
+ break;
+ }
+ case 32: {
+ Confirmed = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/csharp/protobuf/as/AsGrpc.cs b/csharp/protobuf/as/AsGrpc.cs
new file mode 100644
index 00000000..4df93449
--- /dev/null
+++ b/csharp/protobuf/as/AsGrpc.cs
@@ -0,0 +1,805 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: as/as.proto
+//
+#pragma warning disable 0414, 1591, 8981
+#region Designer generated code
+
+using grpc = global::Grpc.Core;
+
+namespace Chirpstack.ApplicationServer {
+ ///
+ /// ApplicationServerService is the service providing the application-server interface.
+ ///
+ public static partial class ApplicationServerService
+ {
+ static readonly string __ServiceName = "as.ApplicationServerService";
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
+ {
+ #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
+ if (message is global::Google.Protobuf.IBufferMessage)
+ {
+ context.SetPayloadLength(message.CalculateSize());
+ global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
+ context.Complete();
+ return;
+ }
+ #endif
+ context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static class __Helper_MessageCache
+ {
+ public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage
+ {
+ #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
+ if (__Helper_MessageCache.IsBufferMessage)
+ {
+ return parser.ParseFrom(context.PayloadAsReadOnlySequence());
+ }
+ #endif
+ return parser.ParseFrom(context.PayloadAsNewBuffer());
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_HandleUplinkDataRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.HandleUplinkDataRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_google_protobuf_Empty = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Protobuf.WellKnownTypes.Empty.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_HandleProprietaryUplinkRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.HandleProprietaryUplinkRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_HandleErrorRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.HandleErrorRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_HandleDownlinkACKRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.HandleDownlinkACKRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_HandleGatewayStatsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.HandleGatewayStatsRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_HandleTxAckRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.HandleTxAckRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_SetDeviceStatusRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.SetDeviceStatusRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_SetDeviceLocationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.SetDeviceLocationRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_ReEncryptDeviceQueueItemsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_as_ReEncryptDeviceQueueItemsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsResponse.Parser));
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_HandleUplinkData = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "HandleUplinkData",
+ __Marshaller_as_HandleUplinkDataRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_HandleProprietaryUplink = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "HandleProprietaryUplink",
+ __Marshaller_as_HandleProprietaryUplinkRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_HandleError = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "HandleError",
+ __Marshaller_as_HandleErrorRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_HandleDownlinkACK = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "HandleDownlinkACK",
+ __Marshaller_as_HandleDownlinkACKRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_HandleGatewayStats = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "HandleGatewayStats",
+ __Marshaller_as_HandleGatewayStatsRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_HandleTxAck = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "HandleTxAck",
+ __Marshaller_as_HandleTxAckRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_SetDeviceStatus = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "SetDeviceStatus",
+ __Marshaller_as_SetDeviceStatusRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_SetDeviceLocation = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "SetDeviceLocation",
+ __Marshaller_as_SetDeviceLocationRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_ReEncryptDeviceQueueItems = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "ReEncryptDeviceQueueItems",
+ __Marshaller_as_ReEncryptDeviceQueueItemsRequest,
+ __Marshaller_as_ReEncryptDeviceQueueItemsResponse);
+
+ /// Service descriptor
+ public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
+ {
+ get { return global::Chirpstack.ApplicationServer.AsReflection.Descriptor.Services[0]; }
+ }
+
+ /// Base class for server-side implementations of ApplicationServerService
+ [grpc::BindServiceMethod(typeof(ApplicationServerService), "BindService")]
+ public abstract partial class ApplicationServerServiceBase
+ {
+ ///
+ /// HandleUplinkData handles uplink data received from an end-device.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task HandleUplinkData(global::Chirpstack.ApplicationServer.HandleUplinkDataRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// HandleProprietaryUplink handles proprietary uplink payloads.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task HandleProprietaryUplink(global::Chirpstack.ApplicationServer.HandleProprietaryUplinkRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// HandleError handles an error message.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task HandleError(global::Chirpstack.ApplicationServer.HandleErrorRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// HandleDownlinkACK handles a downlink ACK or nACK response.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task HandleDownlinkACK(global::Chirpstack.ApplicationServer.HandleDownlinkACKRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// HandleGatewayStats handles the given gateway stats.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task HandleGatewayStats(global::Chirpstack.ApplicationServer.HandleGatewayStatsRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// HandleTXACK handles the TX acknowledgement.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task HandleTxAck(global::Chirpstack.ApplicationServer.HandleTxAckRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// SetDeviceStatus updates the device-status for a device.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task SetDeviceStatus(global::Chirpstack.ApplicationServer.SetDeviceStatusRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// SetDeviceLocation updates the device-location for a device.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task SetDeviceLocation(global::Chirpstack.ApplicationServer.SetDeviceLocationRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// ReEncryptDeviceQueueItems requests the application-server to re-encrypt
+ /// the given payload items using the new parameters. This request is
+ /// for example triggered when the associated frame-counter of a downlink
+ /// payload will be used by a mac-layer only payload, e.g. when the NS has
+ /// mac-commands (or ACKs) to send to the device and combining this with
+ /// an application-layer payload would exceed the max. payload size.
+ /// Note there is no requirement that the number of returned items must be
+ /// equal to the number of requested items.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task ReEncryptDeviceQueueItems(global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ }
+
+ /// Client for ApplicationServerService
+ public partial class ApplicationServerServiceClient : grpc::ClientBase
+ {
+ /// Creates a new client for ApplicationServerService
+ /// The channel to use to make remote calls.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public ApplicationServerServiceClient(grpc::ChannelBase channel) : base(channel)
+ {
+ }
+ /// Creates a new client for ApplicationServerService that uses a custom CallInvoker.
+ /// The callInvoker to use to make remote calls.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public ApplicationServerServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
+ {
+ }
+ /// Protected parameterless constructor to allow creation of test doubles.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected ApplicationServerServiceClient() : base()
+ {
+ }
+ /// Protected constructor to allow creation of configured clients.
+ /// The client configuration.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected ApplicationServerServiceClient(ClientBaseConfiguration configuration) : base(configuration)
+ {
+ }
+
+ ///
+ /// HandleUplinkData handles uplink data received from an end-device.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleUplinkData(global::Chirpstack.ApplicationServer.HandleUplinkDataRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleUplinkData(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleUplinkData handles uplink data received from an end-device.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleUplinkData(global::Chirpstack.ApplicationServer.HandleUplinkDataRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_HandleUplinkData, null, options, request);
+ }
+ ///
+ /// HandleUplinkData handles uplink data received from an end-device.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleUplinkDataAsync(global::Chirpstack.ApplicationServer.HandleUplinkDataRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleUplinkDataAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleUplinkData handles uplink data received from an end-device.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleUplinkDataAsync(global::Chirpstack.ApplicationServer.HandleUplinkDataRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_HandleUplinkData, null, options, request);
+ }
+ ///
+ /// HandleProprietaryUplink handles proprietary uplink payloads.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleProprietaryUplink(global::Chirpstack.ApplicationServer.HandleProprietaryUplinkRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleProprietaryUplink(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleProprietaryUplink handles proprietary uplink payloads.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleProprietaryUplink(global::Chirpstack.ApplicationServer.HandleProprietaryUplinkRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_HandleProprietaryUplink, null, options, request);
+ }
+ ///
+ /// HandleProprietaryUplink handles proprietary uplink payloads.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleProprietaryUplinkAsync(global::Chirpstack.ApplicationServer.HandleProprietaryUplinkRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleProprietaryUplinkAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleProprietaryUplink handles proprietary uplink payloads.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleProprietaryUplinkAsync(global::Chirpstack.ApplicationServer.HandleProprietaryUplinkRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_HandleProprietaryUplink, null, options, request);
+ }
+ ///
+ /// HandleError handles an error message.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleError(global::Chirpstack.ApplicationServer.HandleErrorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleError(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleError handles an error message.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleError(global::Chirpstack.ApplicationServer.HandleErrorRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_HandleError, null, options, request);
+ }
+ ///
+ /// HandleError handles an error message.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleErrorAsync(global::Chirpstack.ApplicationServer.HandleErrorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleErrorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleError handles an error message.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleErrorAsync(global::Chirpstack.ApplicationServer.HandleErrorRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_HandleError, null, options, request);
+ }
+ ///
+ /// HandleDownlinkACK handles a downlink ACK or nACK response.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleDownlinkACK(global::Chirpstack.ApplicationServer.HandleDownlinkACKRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleDownlinkACK(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleDownlinkACK handles a downlink ACK or nACK response.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleDownlinkACK(global::Chirpstack.ApplicationServer.HandleDownlinkACKRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_HandleDownlinkACK, null, options, request);
+ }
+ ///
+ /// HandleDownlinkACK handles a downlink ACK or nACK response.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleDownlinkACKAsync(global::Chirpstack.ApplicationServer.HandleDownlinkACKRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleDownlinkACKAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleDownlinkACK handles a downlink ACK or nACK response.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleDownlinkACKAsync(global::Chirpstack.ApplicationServer.HandleDownlinkACKRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_HandleDownlinkACK, null, options, request);
+ }
+ ///
+ /// HandleGatewayStats handles the given gateway stats.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleGatewayStats(global::Chirpstack.ApplicationServer.HandleGatewayStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleGatewayStats(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleGatewayStats handles the given gateway stats.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleGatewayStats(global::Chirpstack.ApplicationServer.HandleGatewayStatsRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_HandleGatewayStats, null, options, request);
+ }
+ ///
+ /// HandleGatewayStats handles the given gateway stats.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleGatewayStatsAsync(global::Chirpstack.ApplicationServer.HandleGatewayStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleGatewayStatsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleGatewayStats handles the given gateway stats.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleGatewayStatsAsync(global::Chirpstack.ApplicationServer.HandleGatewayStatsRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_HandleGatewayStats, null, options, request);
+ }
+ ///
+ /// HandleTXACK handles the TX acknowledgement.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleTxAck(global::Chirpstack.ApplicationServer.HandleTxAckRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleTxAck(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleTXACK handles the TX acknowledgement.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty HandleTxAck(global::Chirpstack.ApplicationServer.HandleTxAckRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_HandleTxAck, null, options, request);
+ }
+ ///
+ /// HandleTXACK handles the TX acknowledgement.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleTxAckAsync(global::Chirpstack.ApplicationServer.HandleTxAckRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return HandleTxAckAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// HandleTXACK handles the TX acknowledgement.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall HandleTxAckAsync(global::Chirpstack.ApplicationServer.HandleTxAckRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_HandleTxAck, null, options, request);
+ }
+ ///
+ /// SetDeviceStatus updates the device-status for a device.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty SetDeviceStatus(global::Chirpstack.ApplicationServer.SetDeviceStatusRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return SetDeviceStatus(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// SetDeviceStatus updates the device-status for a device.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty SetDeviceStatus(global::Chirpstack.ApplicationServer.SetDeviceStatusRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_SetDeviceStatus, null, options, request);
+ }
+ ///
+ /// SetDeviceStatus updates the device-status for a device.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall SetDeviceStatusAsync(global::Chirpstack.ApplicationServer.SetDeviceStatusRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return SetDeviceStatusAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// SetDeviceStatus updates the device-status for a device.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall SetDeviceStatusAsync(global::Chirpstack.ApplicationServer.SetDeviceStatusRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_SetDeviceStatus, null, options, request);
+ }
+ ///
+ /// SetDeviceLocation updates the device-location for a device.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty SetDeviceLocation(global::Chirpstack.ApplicationServer.SetDeviceLocationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return SetDeviceLocation(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// SetDeviceLocation updates the device-location for a device.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty SetDeviceLocation(global::Chirpstack.ApplicationServer.SetDeviceLocationRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_SetDeviceLocation, null, options, request);
+ }
+ ///
+ /// SetDeviceLocation updates the device-location for a device.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall SetDeviceLocationAsync(global::Chirpstack.ApplicationServer.SetDeviceLocationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return SetDeviceLocationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// SetDeviceLocation updates the device-location for a device.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall SetDeviceLocationAsync(global::Chirpstack.ApplicationServer.SetDeviceLocationRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_SetDeviceLocation, null, options, request);
+ }
+ ///
+ /// ReEncryptDeviceQueueItems requests the application-server to re-encrypt
+ /// the given payload items using the new parameters. This request is
+ /// for example triggered when the associated frame-counter of a downlink
+ /// payload will be used by a mac-layer only payload, e.g. when the NS has
+ /// mac-commands (or ACKs) to send to the device and combining this with
+ /// an application-layer payload would exceed the max. payload size.
+ /// Note there is no requirement that the number of returned items must be
+ /// equal to the number of requested items.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsResponse ReEncryptDeviceQueueItems(global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return ReEncryptDeviceQueueItems(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// ReEncryptDeviceQueueItems requests the application-server to re-encrypt
+ /// the given payload items using the new parameters. This request is
+ /// for example triggered when the associated frame-counter of a downlink
+ /// payload will be used by a mac-layer only payload, e.g. when the NS has
+ /// mac-commands (or ACKs) to send to the device and combining this with
+ /// an application-layer payload would exceed the max. payload size.
+ /// Note there is no requirement that the number of returned items must be
+ /// equal to the number of requested items.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsResponse ReEncryptDeviceQueueItems(global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_ReEncryptDeviceQueueItems, null, options, request);
+ }
+ ///
+ /// ReEncryptDeviceQueueItems requests the application-server to re-encrypt
+ /// the given payload items using the new parameters. This request is
+ /// for example triggered when the associated frame-counter of a downlink
+ /// payload will be used by a mac-layer only payload, e.g. when the NS has
+ /// mac-commands (or ACKs) to send to the device and combining this with
+ /// an application-layer payload would exceed the max. payload size.
+ /// Note there is no requirement that the number of returned items must be
+ /// equal to the number of requested items.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall ReEncryptDeviceQueueItemsAsync(global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return ReEncryptDeviceQueueItemsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// ReEncryptDeviceQueueItems requests the application-server to re-encrypt
+ /// the given payload items using the new parameters. This request is
+ /// for example triggered when the associated frame-counter of a downlink
+ /// payload will be used by a mac-layer only payload, e.g. when the NS has
+ /// mac-commands (or ACKs) to send to the device and combining this with
+ /// an application-layer payload would exceed the max. payload size.
+ /// Note there is no requirement that the number of returned items must be
+ /// equal to the number of requested items.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall ReEncryptDeviceQueueItemsAsync(global::Chirpstack.ApplicationServer.ReEncryptDeviceQueueItemsRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_ReEncryptDeviceQueueItems, null, options, request);
+ }
+ /// Creates a new instance of client from given ClientBaseConfiguration.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected override ApplicationServerServiceClient NewInstance(ClientBaseConfiguration configuration)
+ {
+ return new ApplicationServerServiceClient(configuration);
+ }
+ }
+
+ /// Creates service definition that can be registered with a server
+ /// An object implementing the server-side handling logic.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public static grpc::ServerServiceDefinition BindService(ApplicationServerServiceBase serviceImpl)
+ {
+ return grpc::ServerServiceDefinition.CreateBuilder()
+ .AddMethod(__Method_HandleUplinkData, serviceImpl.HandleUplinkData)
+ .AddMethod(__Method_HandleProprietaryUplink, serviceImpl.HandleProprietaryUplink)
+ .AddMethod(__Method_HandleError, serviceImpl.HandleError)
+ .AddMethod(__Method_HandleDownlinkACK, serviceImpl.HandleDownlinkACK)
+ .AddMethod(__Method_HandleGatewayStats, serviceImpl.HandleGatewayStats)
+ .AddMethod(__Method_HandleTxAck, serviceImpl.HandleTxAck)
+ .AddMethod(__Method_SetDeviceStatus, serviceImpl.SetDeviceStatus)
+ .AddMethod(__Method_SetDeviceLocation, serviceImpl.SetDeviceLocation)
+ .AddMethod(__Method_ReEncryptDeviceQueueItems, serviceImpl.ReEncryptDeviceQueueItems).Build();
+ }
+
+ /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
+ /// Note: this method is part of an experimental API that can change or be removed without any prior notice.
+ /// Service methods will be bound by calling AddMethod on this object.
+ /// An object implementing the server-side handling logic.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public static void BindService(grpc::ServiceBinderBase serviceBinder, ApplicationServerServiceBase serviceImpl)
+ {
+ serviceBinder.AddMethod(__Method_HandleUplinkData, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.HandleUplinkData));
+ serviceBinder.AddMethod(__Method_HandleProprietaryUplink, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.HandleProprietaryUplink));
+ serviceBinder.AddMethod(__Method_HandleError, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.HandleError));
+ serviceBinder.AddMethod(__Method_HandleDownlinkACK, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.HandleDownlinkACK));
+ serviceBinder.AddMethod(__Method_HandleGatewayStats, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.HandleGatewayStats));
+ serviceBinder.AddMethod(__Method_HandleTxAck, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.HandleTxAck));
+ serviceBinder.AddMethod(__Method_SetDeviceStatus, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.SetDeviceStatus));
+ serviceBinder.AddMethod(__Method_SetDeviceLocation, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.SetDeviceLocation));
+ serviceBinder.AddMethod(__Method_ReEncryptDeviceQueueItems, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ReEncryptDeviceQueueItems));
+ }
+
+ }
+}
+#endregion
diff --git a/csharp/protobuf/as/external/api/Application.cs b/csharp/protobuf/as/external/api/Application.cs
new file mode 100644
index 00000000..9964fb2d
--- /dev/null
+++ b/csharp/protobuf/as/external/api/Application.cs
@@ -0,0 +1,17227 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: as/external/api/application.proto
+//
+#pragma warning disable 1591, 0612, 3021, 8981
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Chirpstack.ApplicationServer.External.Api {
+
+ /// Holder for reflection information generated from as/external/api/application.proto
+ public static partial class ApplicationReflection {
+
+ #region Descriptor
+ /// File descriptor for as/external/api/application.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static ApplicationReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "CiFhcy9leHRlcm5hbC9hcGkvYXBwb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3JhdGlvbnMvcGlsb3QtdGhpbmdzEoYB",
+ "ChBMaXN0SW50ZWdyYXRpb25zEhsuYXBpLkxpc3RJbnRlZ3JhdGlvblJlcXVl",
+ "c3QaHC5hcGkuTGlzdEludGVncmF0aW9uUmVzcG9uc2UiN4LT5JMCMRIvL2Fw",
+ "aS9hcHBsaWNhdGlvbnMve2FwcGxpY2F0aW9uX2lkfS9pbnRlZ3JhdGlvbnMS",
+ "4QEKKEdlbmVyYXRlTVFUVEludGVncmF0aW9uQ2xpZW50Q2VydGlmaWNhdGUS",
+ "NC5hcGkuR2VuZXJhdGVNUVRUSW50ZWdyYXRpb25DbGllbnRDZXJ0aWZpY2F0",
+ "ZVJlcXVlc3QaNS5hcGkuR2VuZXJhdGVNUVRUSW50ZWdyYXRpb25DbGllbnRD",
+ "ZXJ0aWZpY2F0ZVJlc3BvbnNlIkiC0+STAkIiQC9hcGkvYXBwbGljYXRpb25z",
+ "L3thcHBsaWNhdGlvbl9pZH0vaW50ZWdyYXRpb25zL21xdHQvY2VydGlmaWNh",
+ "dGVCnAEKIWlvLmNoaXJwc3RhY2suYXBpLmFzLmV4dGVybmFsLmFwaUIQQXBw",
+ "bGljYXRpb25Qcm90b1ABWjdnaXRodWIuY29tL2Jyb2NhYXIvY2hpcnBzdGFj",
+ "ay1hcGkvZ28vdjMvYXMvZXh0ZXJuYWwvYXBpqgIpQ2hpcnBzdGFjay5BcHBs",
+ "aWNhdGlvblNlcnZlci5FeHRlcm5hbC5BcGliBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Chirpstack.ApplicationServer.External.Api.IntegrationKind), typeof(global::Chirpstack.ApplicationServer.External.Api.Marshaler), typeof(global::Chirpstack.ApplicationServer.External.Api.InfluxDBPrecision), typeof(global::Chirpstack.ApplicationServer.External.Api.InfluxDBVersion), }, null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.Application), global::Chirpstack.ApplicationServer.External.Api.Application.Parser, new[]{ "Id", "Name", "Description", "OrganizationId", "ServiceProfileId", "PayloadCodec", "PayloadEncoderScript", "PayloadDecoderScript" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.ApplicationListItem), global::Chirpstack.ApplicationServer.External.Api.ApplicationListItem.Parser, new[]{ "Id", "Name", "Description", "OrganizationId", "ServiceProfileId", "ServiceProfileName" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateApplicationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateApplicationRequest.Parser, new[]{ "Application" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateApplicationResponse), global::Chirpstack.ApplicationServer.External.Api.CreateApplicationResponse.Parser, new[]{ "Id" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetApplicationRequest), global::Chirpstack.ApplicationServer.External.Api.GetApplicationRequest.Parser, new[]{ "Id" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetApplicationResponse), global::Chirpstack.ApplicationServer.External.Api.GetApplicationResponse.Parser, new[]{ "Application" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateApplicationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateApplicationRequest.Parser, new[]{ "Application" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteApplicationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteApplicationRequest.Parser, new[]{ "Id" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.ListApplicationRequest), global::Chirpstack.ApplicationServer.External.Api.ListApplicationRequest.Parser, new[]{ "Limit", "Offset", "OrganizationId", "Search" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.ListApplicationResponse), global::Chirpstack.ApplicationServer.External.Api.ListApplicationResponse.Parser, new[]{ "TotalCount", "Result" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.HTTPIntegrationHeader), global::Chirpstack.ApplicationServer.External.Api.HTTPIntegrationHeader.Parser, new[]{ "Key", "Value" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration), global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration.Parser, new[]{ "ApplicationId", "Headers", "UplinkDataUrl", "JoinNotificationUrl", "AckNotificationUrl", "ErrorNotificationUrl", "StatusNotificationUrl", "LocationNotificationUrl", "TxAckNotificationUrl", "IntegrationNotificationUrl", "Marshaler", "EventEndpointUrl" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateHTTPIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateHTTPIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetHTTPIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetHTTPIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetHTTPIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetHTTPIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateHTTPIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateHTTPIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteHTTPIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteHTTPIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.ListIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.ListIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.IntegrationListItem), global::Chirpstack.ApplicationServer.External.Api.IntegrationListItem.Parser, new[]{ "Kind" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.ListIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.ListIntegrationResponse.Parser, new[]{ "TotalCount", "Result" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.InfluxDBIntegration), global::Chirpstack.ApplicationServer.External.Api.InfluxDBIntegration.Parser, new[]{ "ApplicationId", "Endpoint", "Db", "Username", "Password", "RetentionPolicyName", "Precision", "Version", "Token", "Organization", "Bucket" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateInfluxDBIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateInfluxDBIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetInfluxDBIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetInfluxDBIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetInfluxDBIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetInfluxDBIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateInfluxDBIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateInfluxDBIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteInfluxDBIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteInfluxDBIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.ThingsBoardIntegration), global::Chirpstack.ApplicationServer.External.Api.ThingsBoardIntegration.Parser, new[]{ "ApplicationId", "Server" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateThingsBoardIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateThingsBoardIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetThingsBoardIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetThingsBoardIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetThingsBoardIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetThingsBoardIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateThingsBoardIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateThingsBoardIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteThingsBoardIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteThingsBoardIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.MyDevicesIntegration), global::Chirpstack.ApplicationServer.External.Api.MyDevicesIntegration.Parser, new[]{ "ApplicationId", "Endpoint" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateMyDevicesIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateMyDevicesIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetMyDevicesIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetMyDevicesIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetMyDevicesIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetMyDevicesIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateMyDevicesIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateMyDevicesIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteMyDevicesIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteMyDevicesIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.LoRaCloudIntegration), global::Chirpstack.ApplicationServer.External.Api.LoRaCloudIntegration.Parser, new[]{ "ApplicationId", "Geolocation", "GeolocationToken", "GeolocationBufferTtl", "GeolocationMinBufferSize", "GeolocationTdoa", "GeolocationRssi", "GeolocationGnss", "GeolocationGnssPayloadField", "GeolocationGnssUseRxTime", "GeolocationWifi", "GeolocationWifiPayloadField", "Das", "DasToken", "DasModemPort", "DasGnssPort", "DasGnssUseRxTime", "DasStreamingGeolocWorkaround" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateLoRaCloudIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateLoRaCloudIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetLoRaCloudIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetLoRaCloudIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetLoRaCloudIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetLoRaCloudIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateLoRaCloudIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateLoRaCloudIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteLoRaCloudIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteLoRaCloudIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GCPPubSubIntegration), global::Chirpstack.ApplicationServer.External.Api.GCPPubSubIntegration.Parser, new[]{ "ApplicationId", "Marshaler", "CredentialsFile", "ProjectId", "TopicName" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateGCPPubSubIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateGCPPubSubIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetGCPPubSubIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetGCPPubSubIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetGCPPubSubIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetGCPPubSubIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateGCPPubSubIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateGCPPubSubIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteGCPPubSubIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteGCPPubSubIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.AWSSNSIntegration), global::Chirpstack.ApplicationServer.External.Api.AWSSNSIntegration.Parser, new[]{ "ApplicationId", "Marshaler", "Region", "AccessKeyId", "SecretAccessKey", "TopicArn" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateAWSSNSIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateAWSSNSIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetAWSSNSIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetAWSSNSIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetAWSSNSIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetAWSSNSIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateAWSSNSIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateAWSSNSIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteAWSSNSIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteAWSSNSIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.AzureServiceBusIntegration), global::Chirpstack.ApplicationServer.External.Api.AzureServiceBusIntegration.Parser, new[]{ "ApplicationId", "Marshaler", "ConnectionString", "PublishName" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreateAzureServiceBusIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreateAzureServiceBusIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetAzureServiceBusIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetAzureServiceBusIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetAzureServiceBusIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetAzureServiceBusIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdateAzureServiceBusIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdateAzureServiceBusIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeleteAzureServiceBusIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeleteAzureServiceBusIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.PilotThingsIntegration), global::Chirpstack.ApplicationServer.External.Api.PilotThingsIntegration.Parser, new[]{ "ApplicationId", "Server", "Token" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.CreatePilotThingsIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.CreatePilotThingsIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetPilotThingsIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.GetPilotThingsIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GetPilotThingsIntegrationResponse), global::Chirpstack.ApplicationServer.External.Api.GetPilotThingsIntegrationResponse.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.UpdatePilotThingsIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.UpdatePilotThingsIntegrationRequest.Parser, new[]{ "Integration" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.DeletePilotThingsIntegrationRequest), global::Chirpstack.ApplicationServer.External.Api.DeletePilotThingsIntegrationRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GenerateMQTTIntegrationClientCertificateRequest), global::Chirpstack.ApplicationServer.External.Api.GenerateMQTTIntegrationClientCertificateRequest.Parser, new[]{ "ApplicationId" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.ApplicationServer.External.Api.GenerateMQTTIntegrationClientCertificateResponse), global::Chirpstack.ApplicationServer.External.Api.GenerateMQTTIntegrationClientCertificateResponse.Parser, new[]{ "TlsCert", "TlsKey", "CaCert", "ExpiresAt" }, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Enums
+ public enum IntegrationKind {
+ [pbr::OriginalName("HTTP")] Http = 0,
+ [pbr::OriginalName("INFLUXDB")] Influxdb = 1,
+ [pbr::OriginalName("THINGSBOARD")] Thingsboard = 2,
+ [pbr::OriginalName("MYDEVICES")] Mydevices = 3,
+ [pbr::OriginalName("LORACLOUD")] Loracloud = 4,
+ [pbr::OriginalName("GCP_PUBSUB")] GcpPubsub = 5,
+ [pbr::OriginalName("AWS_SNS")] AwsSns = 6,
+ [pbr::OriginalName("AZURE_SERVICE_BUS")] AzureServiceBus = 7,
+ [pbr::OriginalName("PILOT_THINGS")] PilotThings = 8,
+ [pbr::OriginalName("MQTT_GLOBAL")] MqttGlobal = 9,
+ }
+
+ public enum Marshaler {
+ [pbr::OriginalName("JSON")] Json = 0,
+ [pbr::OriginalName("PROTOBUF")] Protobuf = 1,
+ [pbr::OriginalName("JSON_V3")] JsonV3 = 2,
+ }
+
+ public enum InfluxDBPrecision {
+ [pbr::OriginalName("NS")] Ns = 0,
+ [pbr::OriginalName("U")] U = 1,
+ [pbr::OriginalName("MS")] Ms = 2,
+ [pbr::OriginalName("S")] S = 3,
+ [pbr::OriginalName("M")] M = 4,
+ [pbr::OriginalName("H")] H = 5,
+ }
+
+ public enum InfluxDBVersion {
+ [pbr::OriginalName("INFLUXDB_1")] Influxdb1 = 0,
+ [pbr::OriginalName("INFLUXDB_2")] Influxdb2 = 1,
+ }
+
+ #endregion
+
+ #region Messages
+ public sealed partial class Application : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Application());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public Application() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public Application(Application other) : this() {
+ id_ = other.id_;
+ name_ = other.name_;
+ description_ = other.description_;
+ organizationId_ = other.organizationId_;
+ serviceProfileId_ = other.serviceProfileId_;
+ payloadCodec_ = other.payloadCodec_;
+ payloadEncoderScript_ = other.payloadEncoderScript_;
+ payloadDecoderScript_ = other.payloadDecoderScript_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public Application Clone() {
+ return new Application(this);
+ }
+
+ /// Field number for the "id" field.
+ public const int IdFieldNumber = 1;
+ private long id_;
+ ///
+ /// Application ID.
+ /// This will be automatically assigned on create.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long Id {
+ get { return id_; }
+ set {
+ id_ = value;
+ }
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 2;
+ private string name_ = "";
+ ///
+ /// Name of the application (must be unique).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "description" field.
+ public const int DescriptionFieldNumber = 3;
+ private string description_ = "";
+ ///
+ /// Description of the application.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Description {
+ get { return description_; }
+ set {
+ description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "organization_id" field.
+ public const int OrganizationIdFieldNumber = 4;
+ private long organizationId_;
+ ///
+ /// ID of the organization to which the application belongs.
+ /// After create, this can not be modified.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long OrganizationId {
+ get { return organizationId_; }
+ set {
+ organizationId_ = value;
+ }
+ }
+
+ /// Field number for the "service_profile_id" field.
+ public const int ServiceProfileIdFieldNumber = 5;
+ private string serviceProfileId_ = "";
+ ///
+ /// ID of the service profile.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ServiceProfileId {
+ get { return serviceProfileId_; }
+ set {
+ serviceProfileId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "payload_codec" field.
+ public const int PayloadCodecFieldNumber = 6;
+ private string payloadCodec_ = "";
+ ///
+ /// Payload codec.
+ /// NOTE: These field have moved to the device-profile and will be removed
+ /// in the next major release. When set, the device-profile payload_ fields
+ /// have priority over the application payload_ fields.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string PayloadCodec {
+ get { return payloadCodec_; }
+ set {
+ payloadCodec_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "payload_encoder_script" field.
+ public const int PayloadEncoderScriptFieldNumber = 7;
+ private string payloadEncoderScript_ = "";
+ ///
+ /// Payload encoder script.
+ /// NOTE: These field have moved to the device-profile and will be removed
+ /// in the next major release. When set, the device-profile payload_ fields
+ /// have priority over the application payload_ fields.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string PayloadEncoderScript {
+ get { return payloadEncoderScript_; }
+ set {
+ payloadEncoderScript_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "payload_decoder_script" field.
+ public const int PayloadDecoderScriptFieldNumber = 8;
+ private string payloadDecoderScript_ = "";
+ ///
+ /// Payload decoder script.
+ /// NOTE: These field have moved to the device-profile and will be removed
+ /// in the next major release. When set, the device-profile payload_ fields
+ /// have priority over the application payload_ fields.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string PayloadDecoderScript {
+ get { return payloadDecoderScript_; }
+ set {
+ payloadDecoderScript_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as Application);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(Application other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Id != other.Id) return false;
+ if (Name != other.Name) return false;
+ if (Description != other.Description) return false;
+ if (OrganizationId != other.OrganizationId) return false;
+ if (ServiceProfileId != other.ServiceProfileId) return false;
+ if (PayloadCodec != other.PayloadCodec) return false;
+ if (PayloadEncoderScript != other.PayloadEncoderScript) return false;
+ if (PayloadDecoderScript != other.PayloadDecoderScript) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Id != 0L) hash ^= Id.GetHashCode();
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (Description.Length != 0) hash ^= Description.GetHashCode();
+ if (OrganizationId != 0L) hash ^= OrganizationId.GetHashCode();
+ if (ServiceProfileId.Length != 0) hash ^= ServiceProfileId.GetHashCode();
+ if (PayloadCodec.Length != 0) hash ^= PayloadCodec.GetHashCode();
+ if (PayloadEncoderScript.Length != 0) hash ^= PayloadEncoderScript.GetHashCode();
+ if (PayloadDecoderScript.Length != 0) hash ^= PayloadDecoderScript.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (Name.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Name);
+ }
+ if (Description.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Description);
+ }
+ if (OrganizationId != 0L) {
+ output.WriteRawTag(32);
+ output.WriteInt64(OrganizationId);
+ }
+ if (ServiceProfileId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(ServiceProfileId);
+ }
+ if (PayloadCodec.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(PayloadCodec);
+ }
+ if (PayloadEncoderScript.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(PayloadEncoderScript);
+ }
+ if (PayloadDecoderScript.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(PayloadDecoderScript);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (Name.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Name);
+ }
+ if (Description.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Description);
+ }
+ if (OrganizationId != 0L) {
+ output.WriteRawTag(32);
+ output.WriteInt64(OrganizationId);
+ }
+ if (ServiceProfileId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(ServiceProfileId);
+ }
+ if (PayloadCodec.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(PayloadCodec);
+ }
+ if (PayloadEncoderScript.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(PayloadEncoderScript);
+ }
+ if (PayloadDecoderScript.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(PayloadDecoderScript);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Id != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
+ }
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (Description.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
+ }
+ if (OrganizationId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(OrganizationId);
+ }
+ if (ServiceProfileId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceProfileId);
+ }
+ if (PayloadCodec.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PayloadCodec);
+ }
+ if (PayloadEncoderScript.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PayloadEncoderScript);
+ }
+ if (PayloadDecoderScript.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PayloadDecoderScript);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(Application other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Id != 0L) {
+ Id = other.Id;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ if (other.Description.Length != 0) {
+ Description = other.Description;
+ }
+ if (other.OrganizationId != 0L) {
+ OrganizationId = other.OrganizationId;
+ }
+ if (other.ServiceProfileId.Length != 0) {
+ ServiceProfileId = other.ServiceProfileId;
+ }
+ if (other.PayloadCodec.Length != 0) {
+ PayloadCodec = other.PayloadCodec;
+ }
+ if (other.PayloadEncoderScript.Length != 0) {
+ PayloadEncoderScript = other.PayloadEncoderScript;
+ }
+ if (other.PayloadDecoderScript.Length != 0) {
+ PayloadDecoderScript = other.PayloadDecoderScript;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ Name = input.ReadString();
+ break;
+ }
+ case 26: {
+ Description = input.ReadString();
+ break;
+ }
+ case 32: {
+ OrganizationId = input.ReadInt64();
+ break;
+ }
+ case 42: {
+ ServiceProfileId = input.ReadString();
+ break;
+ }
+ case 50: {
+ PayloadCodec = input.ReadString();
+ break;
+ }
+ case 58: {
+ PayloadEncoderScript = input.ReadString();
+ break;
+ }
+ case 66: {
+ PayloadDecoderScript = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ Name = input.ReadString();
+ break;
+ }
+ case 26: {
+ Description = input.ReadString();
+ break;
+ }
+ case 32: {
+ OrganizationId = input.ReadInt64();
+ break;
+ }
+ case 42: {
+ ServiceProfileId = input.ReadString();
+ break;
+ }
+ case 50: {
+ PayloadCodec = input.ReadString();
+ break;
+ }
+ case 58: {
+ PayloadEncoderScript = input.ReadString();
+ break;
+ }
+ case 66: {
+ PayloadDecoderScript = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class ApplicationListItem : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ApplicationListItem());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ApplicationListItem() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ApplicationListItem(ApplicationListItem other) : this() {
+ id_ = other.id_;
+ name_ = other.name_;
+ description_ = other.description_;
+ organizationId_ = other.organizationId_;
+ serviceProfileId_ = other.serviceProfileId_;
+ serviceProfileName_ = other.serviceProfileName_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ApplicationListItem Clone() {
+ return new ApplicationListItem(this);
+ }
+
+ /// Field number for the "id" field.
+ public const int IdFieldNumber = 1;
+ private long id_;
+ ///
+ /// Application ID.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long Id {
+ get { return id_; }
+ set {
+ id_ = value;
+ }
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 2;
+ private string name_ = "";
+ ///
+ /// Name of the application.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "description" field.
+ public const int DescriptionFieldNumber = 3;
+ private string description_ = "";
+ ///
+ /// Description of the application.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Description {
+ get { return description_; }
+ set {
+ description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "organization_id" field.
+ public const int OrganizationIdFieldNumber = 4;
+ private long organizationId_;
+ ///
+ /// ID of the organization to which the application belongs.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long OrganizationId {
+ get { return organizationId_; }
+ set {
+ organizationId_ = value;
+ }
+ }
+
+ /// Field number for the "service_profile_id" field.
+ public const int ServiceProfileIdFieldNumber = 5;
+ private string serviceProfileId_ = "";
+ ///
+ /// ID of the service profile.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ServiceProfileId {
+ get { return serviceProfileId_; }
+ set {
+ serviceProfileId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "service_profile_name" field.
+ public const int ServiceProfileNameFieldNumber = 6;
+ private string serviceProfileName_ = "";
+ ///
+ /// Service-profile name.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ServiceProfileName {
+ get { return serviceProfileName_; }
+ set {
+ serviceProfileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ApplicationListItem);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ApplicationListItem other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Id != other.Id) return false;
+ if (Name != other.Name) return false;
+ if (Description != other.Description) return false;
+ if (OrganizationId != other.OrganizationId) return false;
+ if (ServiceProfileId != other.ServiceProfileId) return false;
+ if (ServiceProfileName != other.ServiceProfileName) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Id != 0L) hash ^= Id.GetHashCode();
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (Description.Length != 0) hash ^= Description.GetHashCode();
+ if (OrganizationId != 0L) hash ^= OrganizationId.GetHashCode();
+ if (ServiceProfileId.Length != 0) hash ^= ServiceProfileId.GetHashCode();
+ if (ServiceProfileName.Length != 0) hash ^= ServiceProfileName.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (Name.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Name);
+ }
+ if (Description.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Description);
+ }
+ if (OrganizationId != 0L) {
+ output.WriteRawTag(32);
+ output.WriteInt64(OrganizationId);
+ }
+ if (ServiceProfileId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(ServiceProfileId);
+ }
+ if (ServiceProfileName.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(ServiceProfileName);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (Name.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Name);
+ }
+ if (Description.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Description);
+ }
+ if (OrganizationId != 0L) {
+ output.WriteRawTag(32);
+ output.WriteInt64(OrganizationId);
+ }
+ if (ServiceProfileId.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(ServiceProfileId);
+ }
+ if (ServiceProfileName.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(ServiceProfileName);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Id != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
+ }
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (Description.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
+ }
+ if (OrganizationId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(OrganizationId);
+ }
+ if (ServiceProfileId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceProfileId);
+ }
+ if (ServiceProfileName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceProfileName);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ApplicationListItem other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Id != 0L) {
+ Id = other.Id;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ if (other.Description.Length != 0) {
+ Description = other.Description;
+ }
+ if (other.OrganizationId != 0L) {
+ OrganizationId = other.OrganizationId;
+ }
+ if (other.ServiceProfileId.Length != 0) {
+ ServiceProfileId = other.ServiceProfileId;
+ }
+ if (other.ServiceProfileName.Length != 0) {
+ ServiceProfileName = other.ServiceProfileName;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ Name = input.ReadString();
+ break;
+ }
+ case 26: {
+ Description = input.ReadString();
+ break;
+ }
+ case 32: {
+ OrganizationId = input.ReadInt64();
+ break;
+ }
+ case 42: {
+ ServiceProfileId = input.ReadString();
+ break;
+ }
+ case 50: {
+ ServiceProfileName = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ Name = input.ReadString();
+ break;
+ }
+ case 26: {
+ Description = input.ReadString();
+ break;
+ }
+ case 32: {
+ OrganizationId = input.ReadInt64();
+ break;
+ }
+ case 42: {
+ ServiceProfileId = input.ReadString();
+ break;
+ }
+ case 50: {
+ ServiceProfileName = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateApplicationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateApplicationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[2]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApplicationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApplicationRequest(CreateApplicationRequest other) : this() {
+ application_ = other.application_ != null ? other.application_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApplicationRequest Clone() {
+ return new CreateApplicationRequest(this);
+ }
+
+ /// Field number for the "application" field.
+ public const int ApplicationFieldNumber = 1;
+ private global::Chirpstack.ApplicationServer.External.Api.Application application_;
+ ///
+ /// Application object to create.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.External.Api.Application Application {
+ get { return application_; }
+ set {
+ application_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateApplicationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateApplicationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Application, other.Application)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (application_ != null) hash ^= Application.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (application_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Application);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (application_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Application);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (application_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Application);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateApplicationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.application_ != null) {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ Application.MergeFrom(other.Application);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ input.ReadMessage(Application);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ input.ReadMessage(Application);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateApplicationResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateApplicationResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[3]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApplicationResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApplicationResponse(CreateApplicationResponse other) : this() {
+ id_ = other.id_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateApplicationResponse Clone() {
+ return new CreateApplicationResponse(this);
+ }
+
+ /// Field number for the "id" field.
+ public const int IdFieldNumber = 1;
+ private long id_;
+ ///
+ /// Application ID.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long Id {
+ get { return id_; }
+ set {
+ id_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateApplicationResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateApplicationResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Id != other.Id) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Id != 0L) hash ^= Id.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Id != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateApplicationResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Id != 0L) {
+ Id = other.Id;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetApplicationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetApplicationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[4]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApplicationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApplicationRequest(GetApplicationRequest other) : this() {
+ id_ = other.id_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApplicationRequest Clone() {
+ return new GetApplicationRequest(this);
+ }
+
+ /// Field number for the "id" field.
+ public const int IdFieldNumber = 1;
+ private long id_;
+ ///
+ /// Application ID.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long Id {
+ get { return id_; }
+ set {
+ id_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetApplicationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetApplicationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Id != other.Id) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Id != 0L) hash ^= Id.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Id != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetApplicationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Id != 0L) {
+ Id = other.Id;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetApplicationResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetApplicationResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[5]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApplicationResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApplicationResponse(GetApplicationResponse other) : this() {
+ application_ = other.application_ != null ? other.application_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetApplicationResponse Clone() {
+ return new GetApplicationResponse(this);
+ }
+
+ /// Field number for the "application" field.
+ public const int ApplicationFieldNumber = 1;
+ private global::Chirpstack.ApplicationServer.External.Api.Application application_;
+ ///
+ /// Application object.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.External.Api.Application Application {
+ get { return application_; }
+ set {
+ application_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetApplicationResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetApplicationResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Application, other.Application)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (application_ != null) hash ^= Application.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (application_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Application);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (application_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Application);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (application_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Application);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetApplicationResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.application_ != null) {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ Application.MergeFrom(other.Application);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ input.ReadMessage(Application);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ input.ReadMessage(Application);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateApplicationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateApplicationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[6]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApplicationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApplicationRequest(UpdateApplicationRequest other) : this() {
+ application_ = other.application_ != null ? other.application_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateApplicationRequest Clone() {
+ return new UpdateApplicationRequest(this);
+ }
+
+ /// Field number for the "application" field.
+ public const int ApplicationFieldNumber = 1;
+ private global::Chirpstack.ApplicationServer.External.Api.Application application_;
+ ///
+ /// Application object to update.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.External.Api.Application Application {
+ get { return application_; }
+ set {
+ application_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateApplicationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateApplicationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Application, other.Application)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (application_ != null) hash ^= Application.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (application_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Application);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (application_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Application);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (application_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Application);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateApplicationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.application_ != null) {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ Application.MergeFrom(other.Application);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ input.ReadMessage(Application);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (application_ == null) {
+ Application = new global::Chirpstack.ApplicationServer.External.Api.Application();
+ }
+ input.ReadMessage(Application);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteApplicationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteApplicationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[7]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApplicationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApplicationRequest(DeleteApplicationRequest other) : this() {
+ id_ = other.id_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteApplicationRequest Clone() {
+ return new DeleteApplicationRequest(this);
+ }
+
+ /// Field number for the "id" field.
+ public const int IdFieldNumber = 1;
+ private long id_;
+ ///
+ /// Application ID.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long Id {
+ get { return id_; }
+ set {
+ id_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteApplicationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteApplicationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Id != other.Id) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Id != 0L) hash ^= Id.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Id != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteApplicationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Id != 0L) {
+ Id = other.Id;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class ListApplicationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListApplicationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[8]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListApplicationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListApplicationRequest(ListApplicationRequest other) : this() {
+ limit_ = other.limit_;
+ offset_ = other.offset_;
+ organizationId_ = other.organizationId_;
+ search_ = other.search_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListApplicationRequest Clone() {
+ return new ListApplicationRequest(this);
+ }
+
+ /// Field number for the "limit" field.
+ public const int LimitFieldNumber = 1;
+ private long limit_;
+ ///
+ /// Max number of applications to return in the result-test.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long Limit {
+ get { return limit_; }
+ set {
+ limit_ = value;
+ }
+ }
+
+ /// Field number for the "offset" field.
+ public const int OffsetFieldNumber = 2;
+ private long offset_;
+ ///
+ /// Offset in the result-set (for pagination).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long Offset {
+ get { return offset_; }
+ set {
+ offset_ = value;
+ }
+ }
+
+ /// Field number for the "organization_id" field.
+ public const int OrganizationIdFieldNumber = 3;
+ private long organizationId_;
+ ///
+ /// ID of the organization to filter on.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long OrganizationId {
+ get { return organizationId_; }
+ set {
+ organizationId_ = value;
+ }
+ }
+
+ /// Field number for the "search" field.
+ public const int SearchFieldNumber = 4;
+ private string search_ = "";
+ ///
+ /// Search on name (optional).
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Search {
+ get { return search_; }
+ set {
+ search_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ListApplicationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ListApplicationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Limit != other.Limit) return false;
+ if (Offset != other.Offset) return false;
+ if (OrganizationId != other.OrganizationId) return false;
+ if (Search != other.Search) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Limit != 0L) hash ^= Limit.GetHashCode();
+ if (Offset != 0L) hash ^= Offset.GetHashCode();
+ if (OrganizationId != 0L) hash ^= OrganizationId.GetHashCode();
+ if (Search.Length != 0) hash ^= Search.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Limit != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Limit);
+ }
+ if (Offset != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(Offset);
+ }
+ if (OrganizationId != 0L) {
+ output.WriteRawTag(24);
+ output.WriteInt64(OrganizationId);
+ }
+ if (Search.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Search);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Limit != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Limit);
+ }
+ if (Offset != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(Offset);
+ }
+ if (OrganizationId != 0L) {
+ output.WriteRawTag(24);
+ output.WriteInt64(OrganizationId);
+ }
+ if (Search.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Search);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Limit != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(Limit);
+ }
+ if (Offset != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(Offset);
+ }
+ if (OrganizationId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(OrganizationId);
+ }
+ if (Search.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Search);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ListApplicationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Limit != 0L) {
+ Limit = other.Limit;
+ }
+ if (other.Offset != 0L) {
+ Offset = other.Offset;
+ }
+ if (other.OrganizationId != 0L) {
+ OrganizationId = other.OrganizationId;
+ }
+ if (other.Search.Length != 0) {
+ Search = other.Search;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ Limit = input.ReadInt64();
+ break;
+ }
+ case 16: {
+ Offset = input.ReadInt64();
+ break;
+ }
+ case 24: {
+ OrganizationId = input.ReadInt64();
+ break;
+ }
+ case 34: {
+ Search = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ Limit = input.ReadInt64();
+ break;
+ }
+ case 16: {
+ Offset = input.ReadInt64();
+ break;
+ }
+ case 24: {
+ OrganizationId = input.ReadInt64();
+ break;
+ }
+ case 34: {
+ Search = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class ListApplicationResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListApplicationResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[9]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListApplicationResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListApplicationResponse(ListApplicationResponse other) : this() {
+ totalCount_ = other.totalCount_;
+ result_ = other.result_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListApplicationResponse Clone() {
+ return new ListApplicationResponse(this);
+ }
+
+ /// Field number for the "total_count" field.
+ public const int TotalCountFieldNumber = 1;
+ private long totalCount_;
+ ///
+ /// Total number of applications available within the result-set.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long TotalCount {
+ get { return totalCount_; }
+ set {
+ totalCount_ = value;
+ }
+ }
+
+ /// Field number for the "result" field.
+ public const int ResultFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_result_codec
+ = pb::FieldCodec.ForMessage(18, global::Chirpstack.ApplicationServer.External.Api.ApplicationListItem.Parser);
+ private readonly pbc::RepeatedField result_ = new pbc::RepeatedField();
+ ///
+ /// Applications within this result-set.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Result {
+ get { return result_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ListApplicationResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ListApplicationResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (TotalCount != other.TotalCount) return false;
+ if(!result_.Equals(other.result_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (TotalCount != 0L) hash ^= TotalCount.GetHashCode();
+ hash ^= result_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (TotalCount != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(TotalCount);
+ }
+ result_.WriteTo(output, _repeated_result_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (TotalCount != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(TotalCount);
+ }
+ result_.WriteTo(ref output, _repeated_result_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (TotalCount != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(TotalCount);
+ }
+ size += result_.CalculateSize(_repeated_result_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ListApplicationResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.TotalCount != 0L) {
+ TotalCount = other.TotalCount;
+ }
+ result_.Add(other.result_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ TotalCount = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ result_.AddEntriesFrom(input, _repeated_result_codec);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ TotalCount = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ result_.AddEntriesFrom(ref input, _repeated_result_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class HTTPIntegrationHeader : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HTTPIntegrationHeader());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[10]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HTTPIntegrationHeader() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HTTPIntegrationHeader(HTTPIntegrationHeader other) : this() {
+ key_ = other.key_;
+ value_ = other.value_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HTTPIntegrationHeader Clone() {
+ return new HTTPIntegrationHeader(this);
+ }
+
+ /// Field number for the "key" field.
+ public const int KeyFieldNumber = 1;
+ private string key_ = "";
+ ///
+ /// Key
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Key {
+ get { return key_; }
+ set {
+ key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "value" field.
+ public const int ValueFieldNumber = 2;
+ private string value_ = "";
+ ///
+ /// Value
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Value {
+ get { return value_; }
+ set {
+ value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as HTTPIntegrationHeader);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(HTTPIntegrationHeader other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Key != other.Key) return false;
+ if (Value != other.Value) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Key.Length != 0) hash ^= Key.GetHashCode();
+ if (Value.Length != 0) hash ^= Value.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Key.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Key);
+ }
+ if (Value.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Value);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Key.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Key);
+ }
+ if (Value.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Value);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Key.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
+ }
+ if (Value.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(HTTPIntegrationHeader other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Key.Length != 0) {
+ Key = other.Key;
+ }
+ if (other.Value.Length != 0) {
+ Value = other.Value;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Key = input.ReadString();
+ break;
+ }
+ case 18: {
+ Value = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Key = input.ReadString();
+ break;
+ }
+ case 18: {
+ Value = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class HTTPIntegration : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HTTPIntegration());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[11]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HTTPIntegration() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HTTPIntegration(HTTPIntegration other) : this() {
+ applicationId_ = other.applicationId_;
+ headers_ = other.headers_.Clone();
+ uplinkDataUrl_ = other.uplinkDataUrl_;
+ joinNotificationUrl_ = other.joinNotificationUrl_;
+ ackNotificationUrl_ = other.ackNotificationUrl_;
+ errorNotificationUrl_ = other.errorNotificationUrl_;
+ statusNotificationUrl_ = other.statusNotificationUrl_;
+ locationNotificationUrl_ = other.locationNotificationUrl_;
+ txAckNotificationUrl_ = other.txAckNotificationUrl_;
+ integrationNotificationUrl_ = other.integrationNotificationUrl_;
+ marshaler_ = other.marshaler_;
+ eventEndpointUrl_ = other.eventEndpointUrl_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public HTTPIntegration Clone() {
+ return new HTTPIntegration(this);
+ }
+
+ /// Field number for the "application_id" field.
+ public const int ApplicationIdFieldNumber = 1;
+ private long applicationId_;
+ ///
+ /// The id of the application.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long ApplicationId {
+ get { return applicationId_; }
+ set {
+ applicationId_ = value;
+ }
+ }
+
+ /// Field number for the "headers" field.
+ public const int HeadersFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_headers_codec
+ = pb::FieldCodec.ForMessage(18, global::Chirpstack.ApplicationServer.External.Api.HTTPIntegrationHeader.Parser);
+ private readonly pbc::RepeatedField headers_ = new pbc::RepeatedField();
+ ///
+ /// The headers to use when making HTTP callbacks.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField Headers {
+ get { return headers_; }
+ }
+
+ /// Field number for the "uplink_data_url" field.
+ public const int UplinkDataUrlFieldNumber = 3;
+ private string uplinkDataUrl_ = "";
+ ///
+ /// The URL to call for uplink data.
+ /// Deprecated: use event_endpoint_url.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string UplinkDataUrl {
+ get { return uplinkDataUrl_; }
+ set {
+ uplinkDataUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "join_notification_url" field.
+ public const int JoinNotificationUrlFieldNumber = 4;
+ private string joinNotificationUrl_ = "";
+ ///
+ /// The URL to call for join notifications.
+ /// Deprecated: use event_endpoint_url.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string JoinNotificationUrl {
+ get { return joinNotificationUrl_; }
+ set {
+ joinNotificationUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "ack_notification_url" field.
+ public const int AckNotificationUrlFieldNumber = 5;
+ private string ackNotificationUrl_ = "";
+ ///
+ /// The URL to call for ACK notifications (for confirmed downlink data).
+ /// Deprecated: use event_endpoint_url.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string AckNotificationUrl {
+ get { return ackNotificationUrl_; }
+ set {
+ ackNotificationUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "error_notification_url" field.
+ public const int ErrorNotificationUrlFieldNumber = 6;
+ private string errorNotificationUrl_ = "";
+ ///
+ /// The URL to call for error notifications.
+ /// Deprecated: use event_endpoint_url.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ErrorNotificationUrl {
+ get { return errorNotificationUrl_; }
+ set {
+ errorNotificationUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "status_notification_url" field.
+ public const int StatusNotificationUrlFieldNumber = 7;
+ private string statusNotificationUrl_ = "";
+ ///
+ /// The URL to call for device-status notifications.
+ /// Deprecated: use event_endpoint_url.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string StatusNotificationUrl {
+ get { return statusNotificationUrl_; }
+ set {
+ statusNotificationUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "location_notification_url" field.
+ public const int LocationNotificationUrlFieldNumber = 8;
+ private string locationNotificationUrl_ = "";
+ ///
+ /// The URL to call for location notifications.
+ /// Deprecated: use event_endpoint_url.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string LocationNotificationUrl {
+ get { return locationNotificationUrl_; }
+ set {
+ locationNotificationUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "tx_ack_notification_url" field.
+ public const int TxAckNotificationUrlFieldNumber = 9;
+ private string txAckNotificationUrl_ = "";
+ ///
+ /// The URL to call for tx ack notifications (downlink acknowledged by gateway for transmission).
+ /// Deprecated: use event_endpoint_url.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string TxAckNotificationUrl {
+ get { return txAckNotificationUrl_; }
+ set {
+ txAckNotificationUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "integration_notification_url" field.
+ public const int IntegrationNotificationUrlFieldNumber = 10;
+ private string integrationNotificationUrl_ = "";
+ ///
+ /// The URL to call for integration notifications.
+ /// Deprecated: use event_endpoint_url.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string IntegrationNotificationUrl {
+ get { return integrationNotificationUrl_; }
+ set {
+ integrationNotificationUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "marshaler" field.
+ public const int MarshalerFieldNumber = 11;
+ private global::Chirpstack.ApplicationServer.External.Api.Marshaler marshaler_ = global::Chirpstack.ApplicationServer.External.Api.Marshaler.Json;
+ ///
+ /// Marshaler.
+ /// This defines the marshaler that is used to encode the event payload.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.External.Api.Marshaler Marshaler {
+ get { return marshaler_; }
+ set {
+ marshaler_ = value;
+ }
+ }
+
+ /// Field number for the "event_endpoint_url" field.
+ public const int EventEndpointUrlFieldNumber = 12;
+ private string eventEndpointUrl_ = "";
+ ///
+ /// Event endpoint URL.
+ /// The HTTP integration will POST all events to this enpoint. The request
+ /// will contain a query parameters "event" containing the type of the
+ /// event.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string EventEndpointUrl {
+ get { return eventEndpointUrl_; }
+ set {
+ eventEndpointUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as HTTPIntegration);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(HTTPIntegration other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ApplicationId != other.ApplicationId) return false;
+ if(!headers_.Equals(other.headers_)) return false;
+ if (UplinkDataUrl != other.UplinkDataUrl) return false;
+ if (JoinNotificationUrl != other.JoinNotificationUrl) return false;
+ if (AckNotificationUrl != other.AckNotificationUrl) return false;
+ if (ErrorNotificationUrl != other.ErrorNotificationUrl) return false;
+ if (StatusNotificationUrl != other.StatusNotificationUrl) return false;
+ if (LocationNotificationUrl != other.LocationNotificationUrl) return false;
+ if (TxAckNotificationUrl != other.TxAckNotificationUrl) return false;
+ if (IntegrationNotificationUrl != other.IntegrationNotificationUrl) return false;
+ if (Marshaler != other.Marshaler) return false;
+ if (EventEndpointUrl != other.EventEndpointUrl) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ApplicationId != 0L) hash ^= ApplicationId.GetHashCode();
+ hash ^= headers_.GetHashCode();
+ if (UplinkDataUrl.Length != 0) hash ^= UplinkDataUrl.GetHashCode();
+ if (JoinNotificationUrl.Length != 0) hash ^= JoinNotificationUrl.GetHashCode();
+ if (AckNotificationUrl.Length != 0) hash ^= AckNotificationUrl.GetHashCode();
+ if (ErrorNotificationUrl.Length != 0) hash ^= ErrorNotificationUrl.GetHashCode();
+ if (StatusNotificationUrl.Length != 0) hash ^= StatusNotificationUrl.GetHashCode();
+ if (LocationNotificationUrl.Length != 0) hash ^= LocationNotificationUrl.GetHashCode();
+ if (TxAckNotificationUrl.Length != 0) hash ^= TxAckNotificationUrl.GetHashCode();
+ if (IntegrationNotificationUrl.Length != 0) hash ^= IntegrationNotificationUrl.GetHashCode();
+ if (Marshaler != global::Chirpstack.ApplicationServer.External.Api.Marshaler.Json) hash ^= Marshaler.GetHashCode();
+ if (EventEndpointUrl.Length != 0) hash ^= EventEndpointUrl.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (ApplicationId != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(ApplicationId);
+ }
+ headers_.WriteTo(output, _repeated_headers_codec);
+ if (UplinkDataUrl.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(UplinkDataUrl);
+ }
+ if (JoinNotificationUrl.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(JoinNotificationUrl);
+ }
+ if (AckNotificationUrl.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(AckNotificationUrl);
+ }
+ if (ErrorNotificationUrl.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(ErrorNotificationUrl);
+ }
+ if (StatusNotificationUrl.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(StatusNotificationUrl);
+ }
+ if (LocationNotificationUrl.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(LocationNotificationUrl);
+ }
+ if (TxAckNotificationUrl.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(TxAckNotificationUrl);
+ }
+ if (IntegrationNotificationUrl.Length != 0) {
+ output.WriteRawTag(82);
+ output.WriteString(IntegrationNotificationUrl);
+ }
+ if (Marshaler != global::Chirpstack.ApplicationServer.External.Api.Marshaler.Json) {
+ output.WriteRawTag(88);
+ output.WriteEnum((int) Marshaler);
+ }
+ if (EventEndpointUrl.Length != 0) {
+ output.WriteRawTag(98);
+ output.WriteString(EventEndpointUrl);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (ApplicationId != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(ApplicationId);
+ }
+ headers_.WriteTo(ref output, _repeated_headers_codec);
+ if (UplinkDataUrl.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(UplinkDataUrl);
+ }
+ if (JoinNotificationUrl.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(JoinNotificationUrl);
+ }
+ if (AckNotificationUrl.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(AckNotificationUrl);
+ }
+ if (ErrorNotificationUrl.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(ErrorNotificationUrl);
+ }
+ if (StatusNotificationUrl.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(StatusNotificationUrl);
+ }
+ if (LocationNotificationUrl.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(LocationNotificationUrl);
+ }
+ if (TxAckNotificationUrl.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(TxAckNotificationUrl);
+ }
+ if (IntegrationNotificationUrl.Length != 0) {
+ output.WriteRawTag(82);
+ output.WriteString(IntegrationNotificationUrl);
+ }
+ if (Marshaler != global::Chirpstack.ApplicationServer.External.Api.Marshaler.Json) {
+ output.WriteRawTag(88);
+ output.WriteEnum((int) Marshaler);
+ }
+ if (EventEndpointUrl.Length != 0) {
+ output.WriteRawTag(98);
+ output.WriteString(EventEndpointUrl);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (ApplicationId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(ApplicationId);
+ }
+ size += headers_.CalculateSize(_repeated_headers_codec);
+ if (UplinkDataUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(UplinkDataUrl);
+ }
+ if (JoinNotificationUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(JoinNotificationUrl);
+ }
+ if (AckNotificationUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AckNotificationUrl);
+ }
+ if (ErrorNotificationUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorNotificationUrl);
+ }
+ if (StatusNotificationUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(StatusNotificationUrl);
+ }
+ if (LocationNotificationUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(LocationNotificationUrl);
+ }
+ if (TxAckNotificationUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(TxAckNotificationUrl);
+ }
+ if (IntegrationNotificationUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(IntegrationNotificationUrl);
+ }
+ if (Marshaler != global::Chirpstack.ApplicationServer.External.Api.Marshaler.Json) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Marshaler);
+ }
+ if (EventEndpointUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(EventEndpointUrl);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(HTTPIntegration other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ApplicationId != 0L) {
+ ApplicationId = other.ApplicationId;
+ }
+ headers_.Add(other.headers_);
+ if (other.UplinkDataUrl.Length != 0) {
+ UplinkDataUrl = other.UplinkDataUrl;
+ }
+ if (other.JoinNotificationUrl.Length != 0) {
+ JoinNotificationUrl = other.JoinNotificationUrl;
+ }
+ if (other.AckNotificationUrl.Length != 0) {
+ AckNotificationUrl = other.AckNotificationUrl;
+ }
+ if (other.ErrorNotificationUrl.Length != 0) {
+ ErrorNotificationUrl = other.ErrorNotificationUrl;
+ }
+ if (other.StatusNotificationUrl.Length != 0) {
+ StatusNotificationUrl = other.StatusNotificationUrl;
+ }
+ if (other.LocationNotificationUrl.Length != 0) {
+ LocationNotificationUrl = other.LocationNotificationUrl;
+ }
+ if (other.TxAckNotificationUrl.Length != 0) {
+ TxAckNotificationUrl = other.TxAckNotificationUrl;
+ }
+ if (other.IntegrationNotificationUrl.Length != 0) {
+ IntegrationNotificationUrl = other.IntegrationNotificationUrl;
+ }
+ if (other.Marshaler != global::Chirpstack.ApplicationServer.External.Api.Marshaler.Json) {
+ Marshaler = other.Marshaler;
+ }
+ if (other.EventEndpointUrl.Length != 0) {
+ EventEndpointUrl = other.EventEndpointUrl;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ ApplicationId = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ headers_.AddEntriesFrom(input, _repeated_headers_codec);
+ break;
+ }
+ case 26: {
+ UplinkDataUrl = input.ReadString();
+ break;
+ }
+ case 34: {
+ JoinNotificationUrl = input.ReadString();
+ break;
+ }
+ case 42: {
+ AckNotificationUrl = input.ReadString();
+ break;
+ }
+ case 50: {
+ ErrorNotificationUrl = input.ReadString();
+ break;
+ }
+ case 58: {
+ StatusNotificationUrl = input.ReadString();
+ break;
+ }
+ case 66: {
+ LocationNotificationUrl = input.ReadString();
+ break;
+ }
+ case 74: {
+ TxAckNotificationUrl = input.ReadString();
+ break;
+ }
+ case 82: {
+ IntegrationNotificationUrl = input.ReadString();
+ break;
+ }
+ case 88: {
+ Marshaler = (global::Chirpstack.ApplicationServer.External.Api.Marshaler) input.ReadEnum();
+ break;
+ }
+ case 98: {
+ EventEndpointUrl = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ ApplicationId = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ headers_.AddEntriesFrom(ref input, _repeated_headers_codec);
+ break;
+ }
+ case 26: {
+ UplinkDataUrl = input.ReadString();
+ break;
+ }
+ case 34: {
+ JoinNotificationUrl = input.ReadString();
+ break;
+ }
+ case 42: {
+ AckNotificationUrl = input.ReadString();
+ break;
+ }
+ case 50: {
+ ErrorNotificationUrl = input.ReadString();
+ break;
+ }
+ case 58: {
+ StatusNotificationUrl = input.ReadString();
+ break;
+ }
+ case 66: {
+ LocationNotificationUrl = input.ReadString();
+ break;
+ }
+ case 74: {
+ TxAckNotificationUrl = input.ReadString();
+ break;
+ }
+ case 82: {
+ IntegrationNotificationUrl = input.ReadString();
+ break;
+ }
+ case 88: {
+ Marshaler = (global::Chirpstack.ApplicationServer.External.Api.Marshaler) input.ReadEnum();
+ break;
+ }
+ case 98: {
+ EventEndpointUrl = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class CreateHTTPIntegrationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateHTTPIntegrationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[12]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateHTTPIntegrationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateHTTPIntegrationRequest(CreateHTTPIntegrationRequest other) : this() {
+ integration_ = other.integration_ != null ? other.integration_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public CreateHTTPIntegrationRequest Clone() {
+ return new CreateHTTPIntegrationRequest(this);
+ }
+
+ /// Field number for the "integration" field.
+ public const int IntegrationFieldNumber = 1;
+ private global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration integration_;
+ ///
+ /// Integration object to create.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration Integration {
+ get { return integration_; }
+ set {
+ integration_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as CreateHTTPIntegrationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(CreateHTTPIntegrationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Integration, other.Integration)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (integration_ != null) hash ^= Integration.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (integration_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Integration);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (integration_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Integration);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (integration_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Integration);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(CreateHTTPIntegrationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.integration_ != null) {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ Integration.MergeFrom(other.Integration);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ input.ReadMessage(Integration);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ input.ReadMessage(Integration);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetHTTPIntegrationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetHTTPIntegrationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[13]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetHTTPIntegrationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetHTTPIntegrationRequest(GetHTTPIntegrationRequest other) : this() {
+ applicationId_ = other.applicationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetHTTPIntegrationRequest Clone() {
+ return new GetHTTPIntegrationRequest(this);
+ }
+
+ /// Field number for the "application_id" field.
+ public const int ApplicationIdFieldNumber = 1;
+ private long applicationId_;
+ ///
+ /// Application ID.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long ApplicationId {
+ get { return applicationId_; }
+ set {
+ applicationId_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetHTTPIntegrationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetHTTPIntegrationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ApplicationId != other.ApplicationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ApplicationId != 0L) hash ^= ApplicationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (ApplicationId != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(ApplicationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (ApplicationId != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(ApplicationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (ApplicationId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(ApplicationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetHTTPIntegrationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ApplicationId != 0L) {
+ ApplicationId = other.ApplicationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ ApplicationId = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ ApplicationId = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class GetHTTPIntegrationResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetHTTPIntegrationResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[14]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetHTTPIntegrationResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetHTTPIntegrationResponse(GetHTTPIntegrationResponse other) : this() {
+ integration_ = other.integration_ != null ? other.integration_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetHTTPIntegrationResponse Clone() {
+ return new GetHTTPIntegrationResponse(this);
+ }
+
+ /// Field number for the "integration" field.
+ public const int IntegrationFieldNumber = 1;
+ private global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration integration_;
+ ///
+ /// Integration object.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration Integration {
+ get { return integration_; }
+ set {
+ integration_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetHTTPIntegrationResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetHTTPIntegrationResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Integration, other.Integration)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (integration_ != null) hash ^= Integration.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (integration_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Integration);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (integration_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Integration);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (integration_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Integration);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetHTTPIntegrationResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.integration_ != null) {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ Integration.MergeFrom(other.Integration);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ input.ReadMessage(Integration);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ input.ReadMessage(Integration);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class UpdateHTTPIntegrationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateHTTPIntegrationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[15]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateHTTPIntegrationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateHTTPIntegrationRequest(UpdateHTTPIntegrationRequest other) : this() {
+ integration_ = other.integration_ != null ? other.integration_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public UpdateHTTPIntegrationRequest Clone() {
+ return new UpdateHTTPIntegrationRequest(this);
+ }
+
+ /// Field number for the "integration" field.
+ public const int IntegrationFieldNumber = 1;
+ private global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration integration_;
+ ///
+ /// Integration object to update.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration Integration {
+ get { return integration_; }
+ set {
+ integration_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as UpdateHTTPIntegrationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(UpdateHTTPIntegrationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Integration, other.Integration)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (integration_ != null) hash ^= Integration.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (integration_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Integration);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (integration_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Integration);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (integration_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Integration);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(UpdateHTTPIntegrationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.integration_ != null) {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ Integration.MergeFrom(other.Integration);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ input.ReadMessage(Integration);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ if (integration_ == null) {
+ Integration = new global::Chirpstack.ApplicationServer.External.Api.HTTPIntegration();
+ }
+ input.ReadMessage(Integration);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class DeleteHTTPIntegrationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteHTTPIntegrationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Chirpstack.ApplicationServer.External.Api.ApplicationReflection.Descriptor.MessageTypes[16]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteHTTPIntegrationRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteHTTPIntegrationRequest(DeleteHTTPIntegrationRequest other) : this() {
+ applicationId_ = other.applicationId_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteHTTPIntegrationRequest Clone() {
+ return new DeleteHTTPIntegrationRequest(this);
+ }
+
+ /// Field number for the "application_id" field.
+ public const int ApplicationIdFieldNumber = 1;
+ private long applicationId_;
+ ///
+ /// The id of the application.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long ApplicationId {
+ get { return applicationId_; }
+ set {
+ applicationId_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteHTTPIntegrationRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteHTTPIntegrationRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ApplicationId != other.ApplicationId) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ApplicationId != 0L) hash ^= ApplicationId.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (ApplicationId != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(ApplicationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (ApplicationId != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(ApplicationId);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (ApplicationId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(ApplicationId);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteHTTPIntegrationRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ApplicationId != 0L) {
+ ApplicationId = other.ApplicationId;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ ApplicationId = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ ApplicationId = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class ListIntegrationRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIntegrationRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser