mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-13 13:08:09 +00:00
api: Add BackendInterfacesRequest stream message.
This commit is contained in:
573
api/csharp/Chirpstack/stream/BackendInterfaces.cs
vendored
Normal file
573
api/csharp/Chirpstack/stream/BackendInterfaces.cs
vendored
Normal file
@ -0,0 +1,573 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: stream/backend_interfaces.proto
|
||||
// </auto-generated>
|
||||
#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.Stream {
|
||||
|
||||
/// <summary>Holder for reflection information generated from stream/backend_interfaces.proto</summary>
|
||||
public static partial class BackendInterfacesReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for stream/backend_interfaces.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static BackendInterfacesReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ch9zdHJlYW0vYmFja2VuZF9pbnRlcmZhY2VzLnByb3RvEgZzdHJlYW0aH2dv",
|
||||
"b2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8i8wEKGEJhY2tlbmRJbnRl",
|
||||
"cmZhY2VzUmVxdWVzdBIRCglzZW5kZXJfaWQYASABKAkSEwoLcmVjZWl2ZXJf",
|
||||
"aWQYAiABKAkSKAoEdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1l",
|
||||
"c3RhbXASFgoOdHJhbnNhY3Rpb25faWQYBCABKA0SFAoMbWVzc2FnZV90eXBl",
|
||||
"GAUgASgJEhMKC3Jlc3VsdF9jb2RlGAYgASgJEhQKDHJlcXVlc3RfYm9keRgH",
|
||||
"IAEoCRIVCg1yZXF1ZXN0X2Vycm9yGAggASgJEhUKDXJlc3BvbnNlX2JvZHkY",
|
||||
"CSABKAlCewoYaW8uY2hpcnBzdGFjay5hcGkuc3RyZWFtQhZCYWNrZW5kSW50",
|
||||
"ZXJmYWNlc1Byb3RvUAFaMWdpdGh1Yi5jb20vY2hpcnBzdGFjay9jaGlycHN0",
|
||||
"YWNrL2FwaS9nby92NC9zdHJlYW2qAhFDaGlycHN0YWNrLlN0cmVhbWIGcHJv",
|
||||
"dG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Chirpstack.Stream.BackendInterfacesRequest), global::Chirpstack.Stream.BackendInterfacesRequest.Parser, new[]{ "SenderId", "ReceiverId", "Time", "TransactionId", "MessageType", "ResultCode", "RequestBody", "RequestError", "ResponseBody" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class BackendInterfacesRequest : pb::IMessage<BackendInterfacesRequest>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<BackendInterfacesRequest> _parser = new pb::MessageParser<BackendInterfacesRequest>(() => new BackendInterfacesRequest());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<BackendInterfacesRequest> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Chirpstack.Stream.BackendInterfacesReflection.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 BackendInterfacesRequest() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BackendInterfacesRequest(BackendInterfacesRequest other) : this() {
|
||||
senderId_ = other.senderId_;
|
||||
receiverId_ = other.receiverId_;
|
||||
time_ = other.time_ != null ? other.time_.Clone() : null;
|
||||
transactionId_ = other.transactionId_;
|
||||
messageType_ = other.messageType_;
|
||||
resultCode_ = other.resultCode_;
|
||||
requestBody_ = other.requestBody_;
|
||||
requestError_ = other.requestError_;
|
||||
responseBody_ = other.responseBody_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public BackendInterfacesRequest Clone() {
|
||||
return new BackendInterfacesRequest(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "sender_id" field.</summary>
|
||||
public const int SenderIdFieldNumber = 1;
|
||||
private string senderId_ = "";
|
||||
/// <summary>
|
||||
/// Sender ID.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string SenderId {
|
||||
get { return senderId_; }
|
||||
set {
|
||||
senderId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "receiver_id" field.</summary>
|
||||
public const int ReceiverIdFieldNumber = 2;
|
||||
private string receiverId_ = "";
|
||||
/// <summary>
|
||||
/// Receiver ID.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string ReceiverId {
|
||||
get { return receiverId_; }
|
||||
set {
|
||||
receiverId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "time" field.</summary>
|
||||
public const int TimeFieldNumber = 3;
|
||||
private global::Google.Protobuf.WellKnownTypes.Timestamp time_;
|
||||
/// <summary>
|
||||
/// Timestamp.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Google.Protobuf.WellKnownTypes.Timestamp Time {
|
||||
get { return time_; }
|
||||
set {
|
||||
time_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "transaction_id" field.</summary>
|
||||
public const int TransactionIdFieldNumber = 4;
|
||||
private uint transactionId_;
|
||||
/// <summary>
|
||||
/// Transaction ID.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint TransactionId {
|
||||
get { return transactionId_; }
|
||||
set {
|
||||
transactionId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "message_type" field.</summary>
|
||||
public const int MessageTypeFieldNumber = 5;
|
||||
private string messageType_ = "";
|
||||
/// <summary>
|
||||
/// Message-type.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string MessageType {
|
||||
get { return messageType_; }
|
||||
set {
|
||||
messageType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "result_code" field.</summary>
|
||||
public const int ResultCodeFieldNumber = 6;
|
||||
private string resultCode_ = "";
|
||||
/// <summary>
|
||||
/// Result code.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string ResultCode {
|
||||
get { return resultCode_; }
|
||||
set {
|
||||
resultCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "request_body" field.</summary>
|
||||
public const int RequestBodyFieldNumber = 7;
|
||||
private string requestBody_ = "";
|
||||
/// <summary>
|
||||
/// Request body.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string RequestBody {
|
||||
get { return requestBody_; }
|
||||
set {
|
||||
requestBody_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "request_error" field.</summary>
|
||||
public const int RequestErrorFieldNumber = 8;
|
||||
private string requestError_ = "";
|
||||
/// <summary>
|
||||
/// Request error.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string RequestError {
|
||||
get { return requestError_; }
|
||||
set {
|
||||
requestError_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "response_body" field.</summary>
|
||||
public const int ResponseBodyFieldNumber = 9;
|
||||
private string responseBody_ = "";
|
||||
/// <summary>
|
||||
/// Response body.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string ResponseBody {
|
||||
get { return responseBody_; }
|
||||
set {
|
||||
responseBody_ = 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 BackendInterfacesRequest);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(BackendInterfacesRequest other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (SenderId != other.SenderId) return false;
|
||||
if (ReceiverId != other.ReceiverId) return false;
|
||||
if (!object.Equals(Time, other.Time)) return false;
|
||||
if (TransactionId != other.TransactionId) return false;
|
||||
if (MessageType != other.MessageType) return false;
|
||||
if (ResultCode != other.ResultCode) return false;
|
||||
if (RequestBody != other.RequestBody) return false;
|
||||
if (RequestError != other.RequestError) return false;
|
||||
if (ResponseBody != other.ResponseBody) 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 (SenderId.Length != 0) hash ^= SenderId.GetHashCode();
|
||||
if (ReceiverId.Length != 0) hash ^= ReceiverId.GetHashCode();
|
||||
if (time_ != null) hash ^= Time.GetHashCode();
|
||||
if (TransactionId != 0) hash ^= TransactionId.GetHashCode();
|
||||
if (MessageType.Length != 0) hash ^= MessageType.GetHashCode();
|
||||
if (ResultCode.Length != 0) hash ^= ResultCode.GetHashCode();
|
||||
if (RequestBody.Length != 0) hash ^= RequestBody.GetHashCode();
|
||||
if (RequestError.Length != 0) hash ^= RequestError.GetHashCode();
|
||||
if (ResponseBody.Length != 0) hash ^= ResponseBody.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 (SenderId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(SenderId);
|
||||
}
|
||||
if (ReceiverId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(ReceiverId);
|
||||
}
|
||||
if (time_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(Time);
|
||||
}
|
||||
if (TransactionId != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteUInt32(TransactionId);
|
||||
}
|
||||
if (MessageType.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(MessageType);
|
||||
}
|
||||
if (ResultCode.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(ResultCode);
|
||||
}
|
||||
if (RequestBody.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(RequestBody);
|
||||
}
|
||||
if (RequestError.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(RequestError);
|
||||
}
|
||||
if (ResponseBody.Length != 0) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteString(ResponseBody);
|
||||
}
|
||||
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 (SenderId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(SenderId);
|
||||
}
|
||||
if (ReceiverId.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(ReceiverId);
|
||||
}
|
||||
if (time_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(Time);
|
||||
}
|
||||
if (TransactionId != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteUInt32(TransactionId);
|
||||
}
|
||||
if (MessageType.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(MessageType);
|
||||
}
|
||||
if (ResultCode.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(ResultCode);
|
||||
}
|
||||
if (RequestBody.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(RequestBody);
|
||||
}
|
||||
if (RequestError.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(RequestError);
|
||||
}
|
||||
if (ResponseBody.Length != 0) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteString(ResponseBody);
|
||||
}
|
||||
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 (SenderId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderId);
|
||||
}
|
||||
if (ReceiverId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(ReceiverId);
|
||||
}
|
||||
if (time_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Time);
|
||||
}
|
||||
if (TransactionId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TransactionId);
|
||||
}
|
||||
if (MessageType.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageType);
|
||||
}
|
||||
if (ResultCode.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(ResultCode);
|
||||
}
|
||||
if (RequestBody.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestBody);
|
||||
}
|
||||
if (RequestError.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestError);
|
||||
}
|
||||
if (ResponseBody.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(ResponseBody);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(BackendInterfacesRequest other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.SenderId.Length != 0) {
|
||||
SenderId = other.SenderId;
|
||||
}
|
||||
if (other.ReceiverId.Length != 0) {
|
||||
ReceiverId = other.ReceiverId;
|
||||
}
|
||||
if (other.time_ != null) {
|
||||
if (time_ == null) {
|
||||
Time = new global::Google.Protobuf.WellKnownTypes.Timestamp();
|
||||
}
|
||||
Time.MergeFrom(other.Time);
|
||||
}
|
||||
if (other.TransactionId != 0) {
|
||||
TransactionId = other.TransactionId;
|
||||
}
|
||||
if (other.MessageType.Length != 0) {
|
||||
MessageType = other.MessageType;
|
||||
}
|
||||
if (other.ResultCode.Length != 0) {
|
||||
ResultCode = other.ResultCode;
|
||||
}
|
||||
if (other.RequestBody.Length != 0) {
|
||||
RequestBody = other.RequestBody;
|
||||
}
|
||||
if (other.RequestError.Length != 0) {
|
||||
RequestError = other.RequestError;
|
||||
}
|
||||
if (other.ResponseBody.Length != 0) {
|
||||
ResponseBody = other.ResponseBody;
|
||||
}
|
||||
_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: {
|
||||
SenderId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
ReceiverId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (time_ == null) {
|
||||
Time = new global::Google.Protobuf.WellKnownTypes.Timestamp();
|
||||
}
|
||||
input.ReadMessage(Time);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
TransactionId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
MessageType = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
ResultCode = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
RequestBody = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
RequestError = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
ResponseBody = 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: {
|
||||
SenderId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
ReceiverId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (time_ == null) {
|
||||
Time = new global::Google.Protobuf.WellKnownTypes.Timestamp();
|
||||
}
|
||||
input.ReadMessage(Time);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
TransactionId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
MessageType = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
ResultCode = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
RequestBody = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
RequestError = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
ResponseBody = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
Reference in New Issue
Block a user