public void MergeFrom(ClientStateListRequest other) { if (other == null) { return; } if (other.StateRoot.Length != 0) { StateRoot = other.StateRoot; } if (other.Address.Length != 0) { Address = other.Address; } if (other.paging_ != null) { if (paging_ == null) { paging_ = new global::ClientPagingControls(); } Paging.MergeFrom(other.Paging); } sorting_.Add(other.sorting_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(ClientTransactionListRequest other) { if (other == null) { return; } if (other.HeadId.Length != 0) { HeadId = other.HeadId; } transactionIds_.Add(other.transactionIds_); if (other.paging_ != null) { if (paging_ == null) { paging_ = new global::ClientPagingControls(); } Paging.MergeFrom(other.Paging); } sorting_.Add(other.sorting_); _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: { HeadId = input.ReadString(); break; } case 18: { transactionIds_.AddEntriesFrom(input, _repeated_transactionIds_codec); break; } case 26: { if (paging_ == null) { paging_ = new global::ClientPagingControls(); } input.ReadMessage(paging_); break; } case 34: { sorting_.AddEntriesFrom(input, _repeated_sorting_codec); break; } } } }