677 lines
25 KiB
C#
677 lines
25 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits/static/api/static_edge_data.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace Circuits.Static.Api.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from circuits/static/api/static_edge_data.proto</summary>
|
|
public static partial class StaticEdgeDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits/static/api/static_edge_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static StaticEdgeDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CipjaXJjdWl0cy9zdGF0aWMvYXBpL3N0YXRpY19lZGdlX2RhdGEucHJvdG8S",
|
|
"CGNpcmN1aXRzGiVjaXJjdWl0cy9zaGFyZWQvYXBpL2lkXzEyOF9kYXRhLnBy",
|
|
"b3RvIo4DCg5TdGF0aWNFZGdlRGF0YRIoCgtzcmNfbm9kZV9pZBgLIAEoCzIT",
|
|
"LmNpcmN1aXRzLklkMTI4RGF0YRIZChFzcmNfcG9ydF9ncm91cF9pZBgHIAEo",
|
|
"BRITCgtzcmNfcG9ydF9pZBgIIAEoBRIoCgtkc3Rfbm9kZV9pZBgMIAEoCzIT",
|
|
"LmNpcmN1aXRzLklkMTI4RGF0YRIZChFkc3RfcG9ydF9ncm91cF9pZBgJIAEo",
|
|
"BRITCgtkc3RfcG9ydF9pZBgKIAEoBRIeChZERVBSRUNBVEVEX3NyY19ub2Rl",
|
|
"X2lkGAEgASgMEh4KFkRFUFJFQ0FURURfc3JjX3BvcnRfaWQYAiABKAwSHgoW",
|
|
"REVQUkVDQVRFRF9kc3Rfbm9kZV9pZBgDIAEoDBIeChZERVBSRUNBVEVEX2Rz",
|
|
"dF9wb3J0X2lkGAQgASgMEiMKG0RFUFJFQ0FURURfc3JjX25vZGVfZGVzY19p",
|
|
"ZBgFIAEoDBIjChtERVBSRUNBVEVEX2RzdF9ub2RlX2Rlc2NfaWQYBiABKAxC",
|
|
"H6oCHENpcmN1aXRzLlN0YXRpYy5BcGkuUHJvdG9idWZiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.Api.Protobuf.StaticEdgeData), global::Circuits.Static.Api.Protobuf.StaticEdgeData.Parser, new[]{ "SrcNodeId", "SrcPortGroupId", "SrcPortId", "DstNodeId", "DstPortGroupId", "DstPortId", "DEPRECATEDSrcNodeId", "DEPRECATEDSrcPortId", "DEPRECATEDDstNodeId", "DEPRECATEDDstPortId", "DEPRECATEDSrcNodeDescId", "DEPRECATEDDstNodeDescId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StaticEdgeData : pb::IMessage<StaticEdgeData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StaticEdgeData> _parser = new pb::MessageParser<StaticEdgeData>(() => new StaticEdgeData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StaticEdgeData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Circuits.Static.Api.Protobuf.StaticEdgeDataReflection.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 StaticEdgeData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StaticEdgeData(StaticEdgeData other) : this() {
|
|
srcNodeId_ = other.srcNodeId_ != null ? other.srcNodeId_.Clone() : null;
|
|
srcPortGroupId_ = other.srcPortGroupId_;
|
|
srcPortId_ = other.srcPortId_;
|
|
dstNodeId_ = other.dstNodeId_ != null ? other.dstNodeId_.Clone() : null;
|
|
dstPortGroupId_ = other.dstPortGroupId_;
|
|
dstPortId_ = other.dstPortId_;
|
|
dEPRECATEDSrcNodeId_ = other.dEPRECATEDSrcNodeId_;
|
|
dEPRECATEDSrcPortId_ = other.dEPRECATEDSrcPortId_;
|
|
dEPRECATEDDstNodeId_ = other.dEPRECATEDDstNodeId_;
|
|
dEPRECATEDDstPortId_ = other.dEPRECATEDDstPortId_;
|
|
dEPRECATEDSrcNodeDescId_ = other.dEPRECATEDSrcNodeDescId_;
|
|
dEPRECATEDDstNodeDescId_ = other.dEPRECATEDDstNodeDescId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StaticEdgeData Clone() {
|
|
return new StaticEdgeData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "src_node_id" field.</summary>
|
|
public const int SrcNodeIdFieldNumber = 11;
|
|
private global::Circuits.Shared.Api.Protobuf.Id128Data srcNodeId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Circuits.Shared.Api.Protobuf.Id128Data SrcNodeId {
|
|
get { return srcNodeId_; }
|
|
set {
|
|
srcNodeId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "src_port_group_id" field.</summary>
|
|
public const int SrcPortGroupIdFieldNumber = 7;
|
|
private int srcPortGroupId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int SrcPortGroupId {
|
|
get { return srcPortGroupId_; }
|
|
set {
|
|
srcPortGroupId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "src_port_id" field.</summary>
|
|
public const int SrcPortIdFieldNumber = 8;
|
|
private int srcPortId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int SrcPortId {
|
|
get { return srcPortId_; }
|
|
set {
|
|
srcPortId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "dst_node_id" field.</summary>
|
|
public const int DstNodeIdFieldNumber = 12;
|
|
private global::Circuits.Shared.Api.Protobuf.Id128Data dstNodeId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Circuits.Shared.Api.Protobuf.Id128Data DstNodeId {
|
|
get { return dstNodeId_; }
|
|
set {
|
|
dstNodeId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "dst_port_group_id" field.</summary>
|
|
public const int DstPortGroupIdFieldNumber = 9;
|
|
private int dstPortGroupId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int DstPortGroupId {
|
|
get { return dstPortGroupId_; }
|
|
set {
|
|
dstPortGroupId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "dst_port_id" field.</summary>
|
|
public const int DstPortIdFieldNumber = 10;
|
|
private int dstPortId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int DstPortId {
|
|
get { return dstPortId_; }
|
|
set {
|
|
dstPortId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_src_node_id" field.</summary>
|
|
public const int DEPRECATEDSrcNodeIdFieldNumber = 1;
|
|
private pb::ByteString dEPRECATEDSrcNodeId_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString DEPRECATEDSrcNodeId {
|
|
get { return dEPRECATEDSrcNodeId_; }
|
|
set {
|
|
dEPRECATEDSrcNodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_src_port_id" field.</summary>
|
|
public const int DEPRECATEDSrcPortIdFieldNumber = 2;
|
|
private pb::ByteString dEPRECATEDSrcPortId_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString DEPRECATEDSrcPortId {
|
|
get { return dEPRECATEDSrcPortId_; }
|
|
set {
|
|
dEPRECATEDSrcPortId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_dst_node_id" field.</summary>
|
|
public const int DEPRECATEDDstNodeIdFieldNumber = 3;
|
|
private pb::ByteString dEPRECATEDDstNodeId_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString DEPRECATEDDstNodeId {
|
|
get { return dEPRECATEDDstNodeId_; }
|
|
set {
|
|
dEPRECATEDDstNodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_dst_port_id" field.</summary>
|
|
public const int DEPRECATEDDstPortIdFieldNumber = 4;
|
|
private pb::ByteString dEPRECATEDDstPortId_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString DEPRECATEDDstPortId {
|
|
get { return dEPRECATEDDstPortId_; }
|
|
set {
|
|
dEPRECATEDDstPortId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_src_node_desc_id" field.</summary>
|
|
public const int DEPRECATEDSrcNodeDescIdFieldNumber = 5;
|
|
private pb::ByteString dEPRECATEDSrcNodeDescId_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString DEPRECATEDSrcNodeDescId {
|
|
get { return dEPRECATEDSrcNodeDescId_; }
|
|
set {
|
|
dEPRECATEDSrcNodeDescId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_dst_node_desc_id" field.</summary>
|
|
public const int DEPRECATEDDstNodeDescIdFieldNumber = 6;
|
|
private pb::ByteString dEPRECATEDDstNodeDescId_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString DEPRECATEDDstNodeDescId {
|
|
get { return dEPRECATEDDstNodeDescId_; }
|
|
set {
|
|
dEPRECATEDDstNodeDescId_ = 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 StaticEdgeData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StaticEdgeData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(SrcNodeId, other.SrcNodeId)) return false;
|
|
if (SrcPortGroupId != other.SrcPortGroupId) return false;
|
|
if (SrcPortId != other.SrcPortId) return false;
|
|
if (!object.Equals(DstNodeId, other.DstNodeId)) return false;
|
|
if (DstPortGroupId != other.DstPortGroupId) return false;
|
|
if (DstPortId != other.DstPortId) return false;
|
|
if (DEPRECATEDSrcNodeId != other.DEPRECATEDSrcNodeId) return false;
|
|
if (DEPRECATEDSrcPortId != other.DEPRECATEDSrcPortId) return false;
|
|
if (DEPRECATEDDstNodeId != other.DEPRECATEDDstNodeId) return false;
|
|
if (DEPRECATEDDstPortId != other.DEPRECATEDDstPortId) return false;
|
|
if (DEPRECATEDSrcNodeDescId != other.DEPRECATEDSrcNodeDescId) return false;
|
|
if (DEPRECATEDDstNodeDescId != other.DEPRECATEDDstNodeDescId) 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 (srcNodeId_ != null) hash ^= SrcNodeId.GetHashCode();
|
|
if (SrcPortGroupId != 0) hash ^= SrcPortGroupId.GetHashCode();
|
|
if (SrcPortId != 0) hash ^= SrcPortId.GetHashCode();
|
|
if (dstNodeId_ != null) hash ^= DstNodeId.GetHashCode();
|
|
if (DstPortGroupId != 0) hash ^= DstPortGroupId.GetHashCode();
|
|
if (DstPortId != 0) hash ^= DstPortId.GetHashCode();
|
|
if (DEPRECATEDSrcNodeId.Length != 0) hash ^= DEPRECATEDSrcNodeId.GetHashCode();
|
|
if (DEPRECATEDSrcPortId.Length != 0) hash ^= DEPRECATEDSrcPortId.GetHashCode();
|
|
if (DEPRECATEDDstNodeId.Length != 0) hash ^= DEPRECATEDDstNodeId.GetHashCode();
|
|
if (DEPRECATEDDstPortId.Length != 0) hash ^= DEPRECATEDDstPortId.GetHashCode();
|
|
if (DEPRECATEDSrcNodeDescId.Length != 0) hash ^= DEPRECATEDSrcNodeDescId.GetHashCode();
|
|
if (DEPRECATEDDstNodeDescId.Length != 0) hash ^= DEPRECATEDDstNodeDescId.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 (DEPRECATEDSrcNodeId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteBytes(DEPRECATEDSrcNodeId);
|
|
}
|
|
if (DEPRECATEDSrcPortId.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteBytes(DEPRECATEDSrcPortId);
|
|
}
|
|
if (DEPRECATEDDstNodeId.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteBytes(DEPRECATEDDstNodeId);
|
|
}
|
|
if (DEPRECATEDDstPortId.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteBytes(DEPRECATEDDstPortId);
|
|
}
|
|
if (DEPRECATEDSrcNodeDescId.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteBytes(DEPRECATEDSrcNodeDescId);
|
|
}
|
|
if (DEPRECATEDDstNodeDescId.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteBytes(DEPRECATEDDstNodeDescId);
|
|
}
|
|
if (SrcPortGroupId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(SrcPortGroupId);
|
|
}
|
|
if (SrcPortId != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(SrcPortId);
|
|
}
|
|
if (DstPortGroupId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(DstPortGroupId);
|
|
}
|
|
if (DstPortId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(DstPortId);
|
|
}
|
|
if (srcNodeId_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(SrcNodeId);
|
|
}
|
|
if (dstNodeId_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(DstNodeId);
|
|
}
|
|
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 (DEPRECATEDSrcNodeId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteBytes(DEPRECATEDSrcNodeId);
|
|
}
|
|
if (DEPRECATEDSrcPortId.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteBytes(DEPRECATEDSrcPortId);
|
|
}
|
|
if (DEPRECATEDDstNodeId.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteBytes(DEPRECATEDDstNodeId);
|
|
}
|
|
if (DEPRECATEDDstPortId.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteBytes(DEPRECATEDDstPortId);
|
|
}
|
|
if (DEPRECATEDSrcNodeDescId.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteBytes(DEPRECATEDSrcNodeDescId);
|
|
}
|
|
if (DEPRECATEDDstNodeDescId.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteBytes(DEPRECATEDDstNodeDescId);
|
|
}
|
|
if (SrcPortGroupId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(SrcPortGroupId);
|
|
}
|
|
if (SrcPortId != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(SrcPortId);
|
|
}
|
|
if (DstPortGroupId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(DstPortGroupId);
|
|
}
|
|
if (DstPortId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(DstPortId);
|
|
}
|
|
if (srcNodeId_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(SrcNodeId);
|
|
}
|
|
if (dstNodeId_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(DstNodeId);
|
|
}
|
|
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 (srcNodeId_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SrcNodeId);
|
|
}
|
|
if (SrcPortGroupId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SrcPortGroupId);
|
|
}
|
|
if (SrcPortId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SrcPortId);
|
|
}
|
|
if (dstNodeId_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DstNodeId);
|
|
}
|
|
if (DstPortGroupId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DstPortGroupId);
|
|
}
|
|
if (DstPortId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DstPortId);
|
|
}
|
|
if (DEPRECATEDSrcNodeId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDSrcNodeId);
|
|
}
|
|
if (DEPRECATEDSrcPortId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDSrcPortId);
|
|
}
|
|
if (DEPRECATEDDstNodeId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDDstNodeId);
|
|
}
|
|
if (DEPRECATEDDstPortId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDDstPortId);
|
|
}
|
|
if (DEPRECATEDSrcNodeDescId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDSrcNodeDescId);
|
|
}
|
|
if (DEPRECATEDDstNodeDescId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDDstNodeDescId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StaticEdgeData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.srcNodeId_ != null) {
|
|
if (srcNodeId_ == null) {
|
|
SrcNodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
|
}
|
|
SrcNodeId.MergeFrom(other.SrcNodeId);
|
|
}
|
|
if (other.SrcPortGroupId != 0) {
|
|
SrcPortGroupId = other.SrcPortGroupId;
|
|
}
|
|
if (other.SrcPortId != 0) {
|
|
SrcPortId = other.SrcPortId;
|
|
}
|
|
if (other.dstNodeId_ != null) {
|
|
if (dstNodeId_ == null) {
|
|
DstNodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
|
}
|
|
DstNodeId.MergeFrom(other.DstNodeId);
|
|
}
|
|
if (other.DstPortGroupId != 0) {
|
|
DstPortGroupId = other.DstPortGroupId;
|
|
}
|
|
if (other.DstPortId != 0) {
|
|
DstPortId = other.DstPortId;
|
|
}
|
|
if (other.DEPRECATEDSrcNodeId.Length != 0) {
|
|
DEPRECATEDSrcNodeId = other.DEPRECATEDSrcNodeId;
|
|
}
|
|
if (other.DEPRECATEDSrcPortId.Length != 0) {
|
|
DEPRECATEDSrcPortId = other.DEPRECATEDSrcPortId;
|
|
}
|
|
if (other.DEPRECATEDDstNodeId.Length != 0) {
|
|
DEPRECATEDDstNodeId = other.DEPRECATEDDstNodeId;
|
|
}
|
|
if (other.DEPRECATEDDstPortId.Length != 0) {
|
|
DEPRECATEDDstPortId = other.DEPRECATEDDstPortId;
|
|
}
|
|
if (other.DEPRECATEDSrcNodeDescId.Length != 0) {
|
|
DEPRECATEDSrcNodeDescId = other.DEPRECATEDSrcNodeDescId;
|
|
}
|
|
if (other.DEPRECATEDDstNodeDescId.Length != 0) {
|
|
DEPRECATEDDstNodeDescId = other.DEPRECATEDDstNodeDescId;
|
|
}
|
|
_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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
DEPRECATEDSrcNodeId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 18: {
|
|
DEPRECATEDSrcPortId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 26: {
|
|
DEPRECATEDDstNodeId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 34: {
|
|
DEPRECATEDDstPortId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 42: {
|
|
DEPRECATEDSrcNodeDescId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 50: {
|
|
DEPRECATEDDstNodeDescId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 56: {
|
|
SrcPortGroupId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
SrcPortId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
DstPortGroupId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
DstPortId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (srcNodeId_ == null) {
|
|
SrcNodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
|
}
|
|
input.ReadMessage(SrcNodeId);
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (dstNodeId_ == null) {
|
|
DstNodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
|
}
|
|
input.ReadMessage(DstNodeId);
|
|
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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
DEPRECATEDSrcNodeId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 18: {
|
|
DEPRECATEDSrcPortId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 26: {
|
|
DEPRECATEDDstNodeId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 34: {
|
|
DEPRECATEDDstPortId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 42: {
|
|
DEPRECATEDSrcNodeDescId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 50: {
|
|
DEPRECATEDDstNodeDescId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 56: {
|
|
SrcPortGroupId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
SrcPortId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
DstPortGroupId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
DstPortId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (srcNodeId_ == null) {
|
|
SrcNodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
|
}
|
|
input.ReadMessage(SrcNodeId);
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (dstNodeId_ == null) {
|
|
DstNodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
|
|
}
|
|
input.ReadMessage(DstNodeId);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|