public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Level = input.ReadUInt32(); break; } case 18: { Email = input.ReadString(); break; } case 26: { if (account_ == null) { account_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } input.ReadMessage(account_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { protocol_ = (global::V2Ray.Core.Transport.Internet.TransportProtocol)input.ReadEnum(); break; } case 18: { if (settings_ == null) { settings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } input.ReadMessage(settings_); break; } case 26: { ProtocolName = input.ReadString(); break; } } } }
public void MergeFrom(InboundHandlerConfig other) { if (other == null) { return; } if (other.Tag.Length != 0) { Tag = other.Tag; } if (other.receiverSettings_ != null) { if (receiverSettings_ == null) { receiverSettings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } ReceiverSettings.MergeFrom(other.ReceiverSettings); } if (other.proxySettings_ != null) { if (proxySettings_ == null) { proxySettings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } ProxySettings.MergeFrom(other.ProxySettings); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Config other) { if (other == null) { return; } if (other.Key.Length != 0) { Key = other.Key; } if (other.security_ != null) { if (security_ == null) { security_ = new global::V2Ray.Core.Common.Protocol.SecurityConfig(); } Security.MergeFrom(other.Security); } if (other.header_ != null) { if (header_ == null) { header_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } Header.MergeFrom(other.Header); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Config other) { if (other == null) { return; } if (other.headerSettings_ != null) { if (headerSettings_ == null) { headerSettings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } HeaderSettings.MergeFrom(other.HeaderSettings); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Config other) { if (other == null) { return; } if (other.response_ != null) { if (response_ == null) { response_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } Response.MergeFrom(other.Response); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Tag = input.ReadString(); break; } case 18: { if (senderSettings_ == null) { senderSettings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } input.ReadMessage(senderSettings_); break; } case 26: { if (proxySettings_ == null) { proxySettings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } input.ReadMessage(proxySettings_); break; } case 32: { Expire = input.ReadInt64(); break; } case 42: { Comment = input.ReadString(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 18: { if (headerSettings_ == null) { headerSettings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } input.ReadMessage(headerSettings_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Key = input.ReadString(); break; } case 18: { if (security_ == null) { security_ = new global::V2Ray.Core.Common.Protocol.SecurityConfig(); } input.ReadMessage(security_); break; } case 26: { if (header_ == null) { header_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } input.ReadMessage(header_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Tag = input.ReadString(); break; } case 18: { if (receiverSettings_ == null) { ReceiverSettings = new global::V2Ray.Core.Common.Serial.TypedMessage(); } input.ReadMessage(ReceiverSettings); break; } case 26: { if (proxySettings_ == null) { ProxySettings = new global::V2Ray.Core.Common.Serial.TypedMessage(); } input.ReadMessage(ProxySettings); break; } } } }
public void MergeFrom(TransportConfig other) { if (other == null) { return; } if (other.Protocol != 0) { Protocol = other.Protocol; } if (other.ProtocolName.Length != 0) { ProtocolName = other.ProtocolName; } if (other.settings_ != null) { if (settings_ == null) { settings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } Settings.MergeFrom(other.Settings); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(OutboundHandlerConfig other) { if (other == null) { return; } if (other.Tag.Length != 0) { Tag = other.Tag; } if (other.senderSettings_ != null) { if (senderSettings_ == null) { senderSettings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } SenderSettings.MergeFrom(other.SenderSettings); } if (other.proxySettings_ != null) { if (proxySettings_ == null) { proxySettings_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } ProxySettings.MergeFrom(other.ProxySettings); } if (other.Expire != 0L) { Expire = other.Expire; } if (other.Comment.Length != 0) { Comment = other.Comment; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(User other) { if (other == null) { return; } if (other.Level != 0) { Level = other.Level; } if (other.Email.Length != 0) { Email = other.Email; } if (other.account_ != null) { if (account_ == null) { account_ = new global::V2Ray.Core.Common.Serial.TypedMessage(); } Account.MergeFrom(other.Account); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }