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: { Password = input.ReadString(); break; } case 16: { CipherType = (global::V2Ray.Core.Proxy.Shadowsocks.CipherType)input.ReadEnum(); break; } case 24: { Ota = (global::V2Ray.Core.Proxy.Shadowsocks.Account.Types.OneTimeAuth)input.ReadEnum(); break; } } } }
public void MergeFrom(Account other) { if (other == null) { return; } if (other.Password.Length != 0) { Password = other.Password; } if (other.CipherType != global::V2Ray.Core.Proxy.Shadowsocks.CipherType.Unknown) { CipherType = other.CipherType; } if (other.Ota != global::V2Ray.Core.Proxy.Shadowsocks.Account.Types.OneTimeAuth.Auto) { Ota = other.Ota; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Account other) { if (other == null) { return; } if (other.Password.Length != 0) { Password = other.Password; } if (other.CipherType != 0) { CipherType = other.CipherType; } if (other.Ota != 0) { Ota = other.Ota; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }