//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: keyapis/iot_connect/v1/keyapis_iot_connect_callback_v1.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 Keyapis.IotConnect.V1 {
/// Holder for reflection information generated from keyapis/iot_connect/v1/keyapis_iot_connect_callback_v1.proto
public static partial class KeyapisIotConnectCallbackV1Reflection {
#region Descriptor
/// File descriptor for keyapis/iot_connect/v1/keyapis_iot_connect_callback_v1.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static KeyapisIotConnectCallbackV1Reflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjxrZXlhcGlzL2lvdF9jb25uZWN0L3YxL2tleWFwaXNfaW90X2Nvbm5lY3Rf",
"Y2FsbGJhY2tfdjEucHJvdG8SFmtleWFwaXMuaW90X2Nvbm5lY3QudjEaH2dv",
"b2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8aHGdvb2dsZS9hcGkvYW5u",
"b3RhdGlvbnMucHJvdG8aH2dvb2dsZS9hcGkvZmllbGRfYmVoYXZpb3IucHJv",
"dG8aHmdvb2dsZS9wcm90b2J1Zi93cmFwcGVycy5wcm90byI9CgtDb21tb25F",
"cnJvchIMCgRjb2RlGAEgASgFEg8KB21lc3NhZ2UYAiABKAkSDwoHZGV0YWls",
"cxgDIAEoCSLCAQoGRGV2aWNlEg8KB3VzZXJfaWQYASABKAUSCgoCaWQYAiAB",
"KAkSEQoJcGFyZW50X2lkGAMgASgJEgwKBG5hbWUYBCABKAkSFAoMZGVmYXVs",
"dF9uYW1lGAUgASgJEgwKBGhvbWUYBiABKAkSDAoEcm9vbRgHIAEoCRIOCgZn",
"cm91cHMYCCADKAkSEAoIbW9kZWxfaWQYCSABKAkSEgoKaHdfdmVyc2lvbhgK",
"IAEoCRISCgpzd192ZXJzaW9uGAsgASgJIhsKGUdldENhbGxiYWNrRGV2aWNl",
"c1JlcXVlc3QiSgoaR2V0Q2FsbGJhY2tEZXZpY2VzUmVzcG9uc2USLAoEZGF0",
"YRgBIAMoCzIeLmtleWFwaXMuaW90X2Nvbm5lY3QudjEuRGV2aWNlIikKGVBv",
"c3RDYWxsYmFja1N0YXR1c1JlcXVlc3QSDAoEZGF0YRgBIAMoCSKqAgoaUG9z",
"dENhbGxiYWNrU3RhdHVzUmVzcG9uc2USRwoEZGF0YRgBIAEoCzI5LmtleWFw",
"aXMuaW90X2Nvbm5lY3QudjEuUG9zdENhbGxiYWNrU3RhdHVzUmVzcG9uc2Uu",
"U3RhdHVzGsIBCgZTdGF0dXMSDwoHdXNlcl9pZBgBIAEoBRIKCgJpZBgCIAEo",
"CRIRCglwYXJlbnRfaWQYAyABKAkSDAoEbmFtZRgEIAEoCRIUCgxkZWZhdWx0",
"X25hbWUYBSABKAkSDAoEaG9tZRgGIAEoCRIMCgRyb29tGAcgASgJEg4KBmdy",
"b3VwcxgIIAMoCRIQCghtb2RlbF9pZBgJIAEoCRISCgpod192ZXJzaW9uGAog",
"ASgJEhIKCnN3X3ZlcnNpb24YCyABKAkiHAoaUG9zdENhbGxiYWNrQ29tbWFu",
"ZFJlcXVlc3QiHQobUG9zdENhbGxiYWNrQ29tbWFuZFJlc3BvbnNlIhsKGVBv",
"c3RDYWxsYmFja1VubGlua1JlcXVlc3QiHAoaUG9zdENhbGxiYWNrVW5saW5r",
"UmVzcG9uc2UiGAoWR2V0Q2FsbGJhY2tVc2VyUmVxdWVzdCInChdHZXRDYWxs",
"YmFja1VzZXJSZXNwb25zZRIMCgRkYXRhGAEgASgFMuwGChlJb3RDb25uZWN0",
"Q2FsbGJhY2tTZXJ2aWNlEp0BCg9HZXRDYWxsYmFja1VzZXISLi5rZXlhcGlz",
"LmlvdF9jb25uZWN0LnYxLkdldENhbGxiYWNrVXNlclJlcXVlc3QaLy5rZXlh",
"cGlzLmlvdF9jb25uZWN0LnYxLkdldENhbGxiYWNrVXNlclJlc3BvbnNlIimC",
"0+STAiMSIS9pb3RfY29ubmVjdC9hcGkvdjEvY2FsbGJhY2svdXNlchKpAQoS",
"R2V0Q2FsbGJhY2tEZXZpY2VzEjEua2V5YXBpcy5pb3RfY29ubmVjdC52MS5H",
"ZXRDYWxsYmFja0RldmljZXNSZXF1ZXN0GjIua2V5YXBpcy5pb3RfY29ubmVj",
"dC52MS5HZXRDYWxsYmFja0RldmljZXNSZXNwb25zZSIsgtPkkwImEiQvaW90",
"X2Nvbm5lY3QvYXBpL3YxL2NhbGxiYWNrL2RldmljZXMSqAEKElBvc3RDYWxs",
"YmFja1N0YXR1cxIxLmtleWFwaXMuaW90X2Nvbm5lY3QudjEuUG9zdENhbGxi",
"YWNrU3RhdHVzUmVxdWVzdBoyLmtleWFwaXMuaW90X2Nvbm5lY3QudjEuUG9z",
"dENhbGxiYWNrU3RhdHVzUmVzcG9uc2UiK4LT5JMCJSIjL2lvdF9jb25uZWN0",
"L2FwaS92MS9jYWxsYmFjay9zdGF0dXMSrAEKE1Bvc3RDYWxsYmFja0NvbW1h",
"bmQSMi5rZXlhcGlzLmlvdF9jb25uZWN0LnYxLlBvc3RDYWxsYmFja0NvbW1h",
"bmRSZXF1ZXN0GjMua2V5YXBpcy5pb3RfY29ubmVjdC52MS5Qb3N0Q2FsbGJh",
"Y2tDb21tYW5kUmVzcG9uc2UiLILT5JMCJiIkL2lvdF9jb25uZWN0L2FwaS92",
"MS9jYWxsYmFjay9jb21tYW5kEqgBChJQb3N0Q2FsbGJhY2tVbmxpbmsSMS5r",
"ZXlhcGlzLmlvdF9jb25uZWN0LnYxLlBvc3RDYWxsYmFja1VubGlua1JlcXVl",
"c3QaMi5rZXlhcGlzLmlvdF9jb25uZWN0LnYxLlBvc3RDYWxsYmFja1VubGlu",
"a1Jlc3BvbnNlIiuC0+STAiUiIy9pb3RfY29ubmVjdC9hcGkvdjEvY2FsbGJh",
"Y2svdW5saW5rQrgBChlydS5rZXlhcGlzLmlvdF9jb25uZWN0LnYxQhhLZXlh",
"cGlzSW90Q29ubmVjdFYxUHJvdG9IA1AAWhcva2V5YXBpc19pb3RfY29ubmVj",
"dF92MdgBAfgBAaICE0tFWUFQSVNJT1RDT05ORUNUVjGqAhVLZXlhcGlzLklv",
"dENvbm5lY3QuVjHKAhVLZXlhcGlzXElvdENvbm5lY3RcVjHqAhdLZXlhcGlz",
"OjpJb3RDb25uZWN0OjpWMWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.CommonError), global::Keyapis.IotConnect.V1.CommonError.Parser, new[]{ "Code", "Message", "Details" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.Device), global::Keyapis.IotConnect.V1.Device.Parser, new[]{ "UserId", "Id", "ParentId", "Name", "DefaultName", "Home", "Room", "Groups", "ModelId", "HwVersion", "SwVersion" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.GetCallbackDevicesRequest), global::Keyapis.IotConnect.V1.GetCallbackDevicesRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.GetCallbackDevicesResponse), global::Keyapis.IotConnect.V1.GetCallbackDevicesResponse.Parser, new[]{ "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.PostCallbackStatusRequest), global::Keyapis.IotConnect.V1.PostCallbackStatusRequest.Parser, new[]{ "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.PostCallbackStatusResponse), global::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Parser, new[]{ "Data" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Types.Status), global::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Types.Status.Parser, new[]{ "UserId", "Id", "ParentId", "Name", "DefaultName", "Home", "Room", "Groups", "ModelId", "HwVersion", "SwVersion" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.PostCallbackCommandRequest), global::Keyapis.IotConnect.V1.PostCallbackCommandRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.PostCallbackCommandResponse), global::Keyapis.IotConnect.V1.PostCallbackCommandResponse.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.PostCallbackUnlinkRequest), global::Keyapis.IotConnect.V1.PostCallbackUnlinkRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.PostCallbackUnlinkResponse), global::Keyapis.IotConnect.V1.PostCallbackUnlinkResponse.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.GetCallbackUserRequest), global::Keyapis.IotConnect.V1.GetCallbackUserRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.IotConnect.V1.GetCallbackUserResponse), global::Keyapis.IotConnect.V1.GetCallbackUserResponse.Parser, new[]{ "Data" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
///
/// Сообщение ошибки на запрос
///
public sealed partial class CommonError : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CommonError());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 CommonError() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CommonError(CommonError other) : this() {
code_ = other.code_;
message_ = other.message_;
details_ = other.details_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CommonError Clone() {
return new CommonError(this);
}
/// Field number for the "code" field.
public const int CodeFieldNumber = 1;
private int code_;
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Code {
get { return code_; }
set {
code_ = value;
}
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 2;
private string message_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "details" field.
public const int DetailsFieldNumber = 3;
private string details_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Details {
get { return details_; }
set {
details_ = 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 CommonError);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CommonError other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Code != other.Code) return false;
if (Message != other.Message) return false;
if (Details != other.Details) 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 (Code != 0) hash ^= Code.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
if (Details.Length != 0) hash ^= Details.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 (Code != 0) {
output.WriteRawTag(8);
output.WriteInt32(Code);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (Details.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Details);
}
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 (Code != 0) {
output.WriteRawTag(8);
output.WriteInt32(Code);
}
if (Message.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Message);
}
if (Details.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Details);
}
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 (Code != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code);
}
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (Details.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Details);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CommonError other) {
if (other == null) {
return;
}
if (other.Code != 0) {
Code = other.Code;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
if (other.Details.Length != 0) {
Details = other.Details;
}
_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: {
Code = input.ReadInt32();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
Details = 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: {
Code = input.ReadInt32();
break;
}
case 18: {
Message = input.ReadString();
break;
}
case 26: {
Details = input.ReadString();
break;
}
}
}
}
#endif
}
///
/// Объект устройства
///
public sealed partial class Device : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Device());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 Device() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Device(Device other) : this() {
userId_ = other.userId_;
id_ = other.id_;
parentId_ = other.parentId_;
name_ = other.name_;
defaultName_ = other.defaultName_;
home_ = other.home_;
room_ = other.room_;
groups_ = other.groups_.Clone();
modelId_ = other.modelId_;
hwVersion_ = other.hwVersion_;
swVersion_ = other.swVersion_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Device Clone() {
return new Device(this);
}
/// Field number for the "user_id" field.
public const int UserIdFieldNumber = 1;
private int userId_;
///
/// Идентификатор пользователя
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UserId {
get { return userId_; }
set {
userId_ = value;
}
}
/// Field number for the "id" field.
public const int IdFieldNumber = 2;
private string id_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "parent_id" field.
public const int ParentIdFieldNumber = 3;
private string parentId_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ParentId {
get { return parentId_; }
set {
parentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "name" field.
public const int NameFieldNumber = 4;
private string name_ = "";
///
/// Коммент 1
///
[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 "default_name" field.
public const int DefaultNameFieldNumber = 5;
private string defaultName_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string DefaultName {
get { return defaultName_; }
set {
defaultName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "home" field.
public const int HomeFieldNumber = 6;
private string home_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Home {
get { return home_; }
set {
home_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "room" field.
public const int RoomFieldNumber = 7;
private string room_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Room {
get { return room_; }
set {
room_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "groups" field.
public const int GroupsFieldNumber = 8;
private static readonly pb::FieldCodec _repeated_groups_codec
= pb::FieldCodec.ForString(66);
private readonly pbc::RepeatedField groups_ = new pbc::RepeatedField();
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Groups {
get { return groups_; }
}
/// Field number for the "model_id" field.
public const int ModelIdFieldNumber = 9;
private string modelId_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ModelId {
get { return modelId_; }
set {
modelId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "hw_version" field.
public const int HwVersionFieldNumber = 10;
private string hwVersion_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string HwVersion {
get { return hwVersion_; }
set {
hwVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "sw_version" field.
public const int SwVersionFieldNumber = 11;
private string swVersion_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SwVersion {
get { return swVersion_; }
set {
swVersion_ = 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 Device);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Device other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
if (Id != other.Id) return false;
if (ParentId != other.ParentId) return false;
if (Name != other.Name) return false;
if (DefaultName != other.DefaultName) return false;
if (Home != other.Home) return false;
if (Room != other.Room) return false;
if(!groups_.Equals(other.groups_)) return false;
if (ModelId != other.ModelId) return false;
if (HwVersion != other.HwVersion) return false;
if (SwVersion != other.SwVersion) 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 (UserId != 0) hash ^= UserId.GetHashCode();
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (ParentId.Length != 0) hash ^= ParentId.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (DefaultName.Length != 0) hash ^= DefaultName.GetHashCode();
if (Home.Length != 0) hash ^= Home.GetHashCode();
if (Room.Length != 0) hash ^= Room.GetHashCode();
hash ^= groups_.GetHashCode();
if (ModelId.Length != 0) hash ^= ModelId.GetHashCode();
if (HwVersion.Length != 0) hash ^= HwVersion.GetHashCode();
if (SwVersion.Length != 0) hash ^= SwVersion.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 (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (Id.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Id);
}
if (ParentId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ParentId);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (DefaultName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(DefaultName);
}
if (Home.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Home);
}
if (Room.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Room);
}
groups_.WriteTo(output, _repeated_groups_codec);
if (ModelId.Length != 0) {
output.WriteRawTag(74);
output.WriteString(ModelId);
}
if (HwVersion.Length != 0) {
output.WriteRawTag(82);
output.WriteString(HwVersion);
}
if (SwVersion.Length != 0) {
output.WriteRawTag(90);
output.WriteString(SwVersion);
}
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 (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (Id.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Id);
}
if (ParentId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ParentId);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (DefaultName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(DefaultName);
}
if (Home.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Home);
}
if (Room.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Room);
}
groups_.WriteTo(ref output, _repeated_groups_codec);
if (ModelId.Length != 0) {
output.WriteRawTag(74);
output.WriteString(ModelId);
}
if (HwVersion.Length != 0) {
output.WriteRawTag(82);
output.WriteString(HwVersion);
}
if (SwVersion.Length != 0) {
output.WriteRawTag(90);
output.WriteString(SwVersion);
}
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 (UserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserId);
}
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
if (ParentId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentId);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (DefaultName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultName);
}
if (Home.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Home);
}
if (Room.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Room);
}
size += groups_.CalculateSize(_repeated_groups_codec);
if (ModelId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelId);
}
if (HwVersion.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(HwVersion);
}
if (SwVersion.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SwVersion);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Device other) {
if (other == null) {
return;
}
if (other.UserId != 0) {
UserId = other.UserId;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.ParentId.Length != 0) {
ParentId = other.ParentId;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.DefaultName.Length != 0) {
DefaultName = other.DefaultName;
}
if (other.Home.Length != 0) {
Home = other.Home;
}
if (other.Room.Length != 0) {
Room = other.Room;
}
groups_.Add(other.groups_);
if (other.ModelId.Length != 0) {
ModelId = other.ModelId;
}
if (other.HwVersion.Length != 0) {
HwVersion = other.HwVersion;
}
if (other.SwVersion.Length != 0) {
SwVersion = other.SwVersion;
}
_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: {
UserId = input.ReadInt32();
break;
}
case 18: {
Id = input.ReadString();
break;
}
case 26: {
ParentId = input.ReadString();
break;
}
case 34: {
Name = input.ReadString();
break;
}
case 42: {
DefaultName = input.ReadString();
break;
}
case 50: {
Home = input.ReadString();
break;
}
case 58: {
Room = input.ReadString();
break;
}
case 66: {
groups_.AddEntriesFrom(input, _repeated_groups_codec);
break;
}
case 74: {
ModelId = input.ReadString();
break;
}
case 82: {
HwVersion = input.ReadString();
break;
}
case 90: {
SwVersion = 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: {
UserId = input.ReadInt32();
break;
}
case 18: {
Id = input.ReadString();
break;
}
case 26: {
ParentId = input.ReadString();
break;
}
case 34: {
Name = input.ReadString();
break;
}
case 42: {
DefaultName = input.ReadString();
break;
}
case 50: {
Home = input.ReadString();
break;
}
case 58: {
Room = input.ReadString();
break;
}
case 66: {
groups_.AddEntriesFrom(ref input, _repeated_groups_codec);
break;
}
case 74: {
ModelId = input.ReadString();
break;
}
case 82: {
HwVersion = input.ReadString();
break;
}
case 90: {
SwVersion = input.ReadString();
break;
}
}
}
}
#endif
}
///
/// Запрос списка домофонов пользователя в виде связки квартира-домофон, к которым имеет доступ пользователь
///
public sealed partial class GetCallbackDevicesRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCallbackDevicesRequest());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 GetCallbackDevicesRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetCallbackDevicesRequest(GetCallbackDevicesRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetCallbackDevicesRequest Clone() {
return new GetCallbackDevicesRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetCallbackDevicesRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetCallbackDevicesRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetCallbackDevicesRequest other) {
if (other == null) {
return;
}
_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;
}
}
#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;
}
}
}
#endif
}
///
/// Ответ на запрос списка домофонов пользователя в виде связки квартира-домофон, к которым имеет доступ пользователь
///
public sealed partial class GetCallbackDevicesResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCallbackDevicesResponse());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 GetCallbackDevicesResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetCallbackDevicesResponse(GetCallbackDevicesResponse other) : this() {
data_ = other.data_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetCallbackDevicesResponse Clone() {
return new GetCallbackDevicesResponse(this);
}
/// Field number for the "data" field.
public const int DataFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_data_codec
= pb::FieldCodec.ForMessage(10, global::Keyapis.IotConnect.V1.Device.Parser);
private readonly pbc::RepeatedField data_ = new pbc::RepeatedField();
///
/// Массив домофонов пользователя
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Data {
get { return data_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetCallbackDevicesResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetCallbackDevicesResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!data_.Equals(other.data_)) 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 ^= data_.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
data_.WriteTo(output, _repeated_data_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) {
data_.WriteTo(ref output, _repeated_data_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 += data_.CalculateSize(_repeated_data_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetCallbackDevicesResponse other) {
if (other == null) {
return;
}
data_.Add(other.data_);
_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: {
data_.AddEntriesFrom(input, _repeated_data_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: {
data_.AddEntriesFrom(ref input, _repeated_data_codec);
break;
}
}
}
}
#endif
}
///
/// Запрос статуса домофонов пользователя
///
public sealed partial class PostCallbackStatusRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostCallbackStatusRequest());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 PostCallbackStatusRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackStatusRequest(PostCallbackStatusRequest other) : this() {
data_ = other.data_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackStatusRequest Clone() {
return new PostCallbackStatusRequest(this);
}
/// Field number for the "data" field.
public const int DataFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_data_codec
= pb::FieldCodec.ForString(10);
private readonly pbc::RepeatedField data_ = new pbc::RepeatedField();
///
/// Массив домофонов пользователя
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Data {
get { return data_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PostCallbackStatusRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PostCallbackStatusRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!data_.Equals(other.data_)) 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 ^= data_.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
data_.WriteTo(output, _repeated_data_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) {
data_.WriteTo(ref output, _repeated_data_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 += data_.CalculateSize(_repeated_data_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PostCallbackStatusRequest other) {
if (other == null) {
return;
}
data_.Add(other.data_);
_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: {
data_.AddEntriesFrom(input, _repeated_data_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: {
data_.AddEntriesFrom(ref input, _repeated_data_codec);
break;
}
}
}
}
#endif
}
///
/// Ответ на запрос статуса домофонов пользователя
///
public sealed partial class PostCallbackStatusResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostCallbackStatusResponse());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 PostCallbackStatusResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackStatusResponse(PostCallbackStatusResponse other) : this() {
data_ = other.data_ != null ? other.data_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackStatusResponse Clone() {
return new PostCallbackStatusResponse(this);
}
/// Field number for the "data" field.
public const int DataFieldNumber = 1;
private global::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Types.Status data_;
///
/// Коммент
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Types.Status Data {
get { return data_; }
set {
data_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PostCallbackStatusResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PostCallbackStatusResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Data, other.Data)) 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 (data_ != null) hash ^= Data.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 (data_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Data);
}
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 (data_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Data);
}
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 (data_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PostCallbackStatusResponse other) {
if (other == null) {
return;
}
if (other.data_ != null) {
if (data_ == null) {
Data = new global::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Types.Status();
}
Data.MergeFrom(other.Data);
}
_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 (data_ == null) {
Data = new global::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Types.Status();
}
input.ReadMessage(Data);
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 (data_ == null) {
Data = new global::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Types.Status();
}
input.ReadMessage(Data);
break;
}
}
}
}
#endif
#region Nested types
/// Container for nested types declared in the PostCallbackStatusResponse message type.
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
///
/// Коммент 1
///
public sealed partial class Status : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Status());
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::Keyapis.IotConnect.V1.PostCallbackStatusResponse.Descriptor.NestedTypes[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 Status() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Status(Status other) : this() {
userId_ = other.userId_;
id_ = other.id_;
parentId_ = other.parentId_;
name_ = other.name_;
defaultName_ = other.defaultName_;
home_ = other.home_;
room_ = other.room_;
groups_ = other.groups_.Clone();
modelId_ = other.modelId_;
hwVersion_ = other.hwVersion_;
swVersion_ = other.swVersion_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Status Clone() {
return new Status(this);
}
/// Field number for the "user_id" field.
public const int UserIdFieldNumber = 1;
private int userId_;
///
/// Идентификатор пользователя
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UserId {
get { return userId_; }
set {
userId_ = value;
}
}
/// Field number for the "id" field.
public const int IdFieldNumber = 2;
private string id_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "parent_id" field.
public const int ParentIdFieldNumber = 3;
private string parentId_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ParentId {
get { return parentId_; }
set {
parentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "name" field.
public const int NameFieldNumber = 4;
private string name_ = "";
///
/// Коммент 1
///
[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 "default_name" field.
public const int DefaultNameFieldNumber = 5;
private string defaultName_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string DefaultName {
get { return defaultName_; }
set {
defaultName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "home" field.
public const int HomeFieldNumber = 6;
private string home_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Home {
get { return home_; }
set {
home_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "room" field.
public const int RoomFieldNumber = 7;
private string room_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Room {
get { return room_; }
set {
room_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "groups" field.
public const int GroupsFieldNumber = 8;
private static readonly pb::FieldCodec _repeated_groups_codec
= pb::FieldCodec.ForString(66);
private readonly pbc::RepeatedField groups_ = new pbc::RepeatedField();
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Groups {
get { return groups_; }
}
/// Field number for the "model_id" field.
public const int ModelIdFieldNumber = 9;
private string modelId_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ModelId {
get { return modelId_; }
set {
modelId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "hw_version" field.
public const int HwVersionFieldNumber = 10;
private string hwVersion_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string HwVersion {
get { return hwVersion_; }
set {
hwVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "sw_version" field.
public const int SwVersionFieldNumber = 11;
private string swVersion_ = "";
///
/// Коммент 1
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SwVersion {
get { return swVersion_; }
set {
swVersion_ = 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 Status);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Status other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
if (Id != other.Id) return false;
if (ParentId != other.ParentId) return false;
if (Name != other.Name) return false;
if (DefaultName != other.DefaultName) return false;
if (Home != other.Home) return false;
if (Room != other.Room) return false;
if(!groups_.Equals(other.groups_)) return false;
if (ModelId != other.ModelId) return false;
if (HwVersion != other.HwVersion) return false;
if (SwVersion != other.SwVersion) 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 (UserId != 0) hash ^= UserId.GetHashCode();
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (ParentId.Length != 0) hash ^= ParentId.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (DefaultName.Length != 0) hash ^= DefaultName.GetHashCode();
if (Home.Length != 0) hash ^= Home.GetHashCode();
if (Room.Length != 0) hash ^= Room.GetHashCode();
hash ^= groups_.GetHashCode();
if (ModelId.Length != 0) hash ^= ModelId.GetHashCode();
if (HwVersion.Length != 0) hash ^= HwVersion.GetHashCode();
if (SwVersion.Length != 0) hash ^= SwVersion.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 (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (Id.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Id);
}
if (ParentId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ParentId);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (DefaultName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(DefaultName);
}
if (Home.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Home);
}
if (Room.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Room);
}
groups_.WriteTo(output, _repeated_groups_codec);
if (ModelId.Length != 0) {
output.WriteRawTag(74);
output.WriteString(ModelId);
}
if (HwVersion.Length != 0) {
output.WriteRawTag(82);
output.WriteString(HwVersion);
}
if (SwVersion.Length != 0) {
output.WriteRawTag(90);
output.WriteString(SwVersion);
}
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 (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (Id.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Id);
}
if (ParentId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ParentId);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (DefaultName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(DefaultName);
}
if (Home.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Home);
}
if (Room.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Room);
}
groups_.WriteTo(ref output, _repeated_groups_codec);
if (ModelId.Length != 0) {
output.WriteRawTag(74);
output.WriteString(ModelId);
}
if (HwVersion.Length != 0) {
output.WriteRawTag(82);
output.WriteString(HwVersion);
}
if (SwVersion.Length != 0) {
output.WriteRawTag(90);
output.WriteString(SwVersion);
}
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 (UserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserId);
}
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
if (ParentId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentId);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (DefaultName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultName);
}
if (Home.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Home);
}
if (Room.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Room);
}
size += groups_.CalculateSize(_repeated_groups_codec);
if (ModelId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelId);
}
if (HwVersion.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(HwVersion);
}
if (SwVersion.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SwVersion);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Status other) {
if (other == null) {
return;
}
if (other.UserId != 0) {
UserId = other.UserId;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.ParentId.Length != 0) {
ParentId = other.ParentId;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.DefaultName.Length != 0) {
DefaultName = other.DefaultName;
}
if (other.Home.Length != 0) {
Home = other.Home;
}
if (other.Room.Length != 0) {
Room = other.Room;
}
groups_.Add(other.groups_);
if (other.ModelId.Length != 0) {
ModelId = other.ModelId;
}
if (other.HwVersion.Length != 0) {
HwVersion = other.HwVersion;
}
if (other.SwVersion.Length != 0) {
SwVersion = other.SwVersion;
}
_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: {
UserId = input.ReadInt32();
break;
}
case 18: {
Id = input.ReadString();
break;
}
case 26: {
ParentId = input.ReadString();
break;
}
case 34: {
Name = input.ReadString();
break;
}
case 42: {
DefaultName = input.ReadString();
break;
}
case 50: {
Home = input.ReadString();
break;
}
case 58: {
Room = input.ReadString();
break;
}
case 66: {
groups_.AddEntriesFrom(input, _repeated_groups_codec);
break;
}
case 74: {
ModelId = input.ReadString();
break;
}
case 82: {
HwVersion = input.ReadString();
break;
}
case 90: {
SwVersion = 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: {
UserId = input.ReadInt32();
break;
}
case 18: {
Id = input.ReadString();
break;
}
case 26: {
ParentId = input.ReadString();
break;
}
case 34: {
Name = input.ReadString();
break;
}
case 42: {
DefaultName = input.ReadString();
break;
}
case 50: {
Home = input.ReadString();
break;
}
case 58: {
Room = input.ReadString();
break;
}
case 66: {
groups_.AddEntriesFrom(ref input, _repeated_groups_codec);
break;
}
case 74: {
ModelId = input.ReadString();
break;
}
case 82: {
HwVersion = input.ReadString();
break;
}
case 90: {
SwVersion = input.ReadString();
break;
}
}
}
}
#endif
}
}
#endregion
}
///
/// Запрос на изменение статуса домофона
///
public sealed partial class PostCallbackCommandRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostCallbackCommandRequest());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 PostCallbackCommandRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackCommandRequest(PostCallbackCommandRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackCommandRequest Clone() {
return new PostCallbackCommandRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PostCallbackCommandRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PostCallbackCommandRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PostCallbackCommandRequest other) {
if (other == null) {
return;
}
_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;
}
}
#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;
}
}
}
#endif
}
///
/// Ответ на запрос на изменение статуса домофона
///
public sealed partial class PostCallbackCommandResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostCallbackCommandResponse());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 PostCallbackCommandResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackCommandResponse(PostCallbackCommandResponse other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackCommandResponse Clone() {
return new PostCallbackCommandResponse(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PostCallbackCommandResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PostCallbackCommandResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PostCallbackCommandResponse other) {
if (other == null) {
return;
}
_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;
}
}
#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;
}
}
}
#endif
}
///
/// Запрос-информирование о разъединении аккаунтов
///
public sealed partial class PostCallbackUnlinkRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostCallbackUnlinkRequest());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 PostCallbackUnlinkRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackUnlinkRequest(PostCallbackUnlinkRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackUnlinkRequest Clone() {
return new PostCallbackUnlinkRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PostCallbackUnlinkRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PostCallbackUnlinkRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PostCallbackUnlinkRequest other) {
if (other == null) {
return;
}
_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;
}
}
#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;
}
}
}
#endif
}
///
/// Ответ на запрос-информирование о разъединении аккаунтов
///
public sealed partial class PostCallbackUnlinkResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostCallbackUnlinkResponse());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 PostCallbackUnlinkResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackUnlinkResponse(PostCallbackUnlinkResponse other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PostCallbackUnlinkResponse Clone() {
return new PostCallbackUnlinkResponse(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PostCallbackUnlinkResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PostCallbackUnlinkResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PostCallbackUnlinkResponse other) {
if (other == null) {
return;
}
_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;
}
}
#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;
}
}
}
#endif
}
///
/// Запрос идентификатора пользователя Ключ
///
public sealed partial class GetCallbackUserRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCallbackUserRequest());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 GetCallbackUserRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetCallbackUserRequest(GetCallbackUserRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetCallbackUserRequest Clone() {
return new GetCallbackUserRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetCallbackUserRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetCallbackUserRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetCallbackUserRequest other) {
if (other == null) {
return;
}
_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;
}
}
#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;
}
}
}
#endif
}
///
/// Ответ на запрос идентификатора пользователя Ключ
///
public sealed partial class GetCallbackUserResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCallbackUserResponse());
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::Keyapis.IotConnect.V1.KeyapisIotConnectCallbackV1Reflection.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 GetCallbackUserResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetCallbackUserResponse(GetCallbackUserResponse other) : this() {
data_ = other.data_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetCallbackUserResponse Clone() {
return new GetCallbackUserResponse(this);
}
/// Field number for the "data" field.
public const int DataFieldNumber = 1;
private int data_;
///
/// Идентификатор пользователя
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Data {
get { return data_; }
set {
data_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetCallbackUserResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetCallbackUserResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Data != other.Data) 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 (Data != 0) hash ^= Data.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 (Data != 0) {
output.WriteRawTag(8);
output.WriteInt32(Data);
}
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 (Data != 0) {
output.WriteRawTag(8);
output.WriteInt32(Data);
}
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 (Data != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Data);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetCallbackUserResponse other) {
if (other == null) {
return;
}
if (other.Data != 0) {
Data = other.Data;
}
_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: {
Data = input.ReadInt32();
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: {
Data = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code