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: { OwnerAddress = input.ReadBytes(); break; } case 18: { AccountAddress = input.ReadBytes(); break; } case 24: { Type = (global::Tron.Net.Protocol.AccountType)input.ReadEnum(); break; } } } }
public void MergeFrom(AccountCreateContract other) { if (other == null) { return; } if (other.OwnerAddress.Length != 0) { OwnerAddress = other.OwnerAddress; } if (other.AccountAddress.Length != 0) { AccountAddress = other.AccountAddress; } if (other.Type != global::Tron.Net.Protocol.AccountType.Normal) { Type = other.Type; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }